lp:~blake-rouse/curtin/fix-1453869

Created by Blake Rouse and last modified
Get this branch:
bzr branch lp:~blake-rouse/curtin/fix-1453869
Only Blake Rouse can upload to this branch. If you are Blake Rouse please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Blake Rouse
Project:
curtin
Status:
Merged

Recent revisions

212. By Blake Rouse

Use sleeps between retries. Remove retries on apt-get install.

211. By Blake Rouse

Add retry to apt-get commands in curtin.

210. By Scott Moser

ChrootableTarget: if unmounting /dev, run udevadm settle first.

When we unmount /dev, run udevadm settle (outside the chroot) first.
This is more of a catch-all for anything that occurred inside the target.

Alternatively we could have expected users of this to ensure that what
they ran would wait appropriately.

209. By Scott Moser

doc fix

208. By Scott Moser

doc/devel/README-maas-image.txt: add info on using maas ephemeral

This shows how to use the maas ephemeral image rather than a cloud image \
and a cloud-image -root.tar.gz.

207. By Scott Moser

helpers/common grub-install: use --no-nvram only when available

We use --no-nvram to avoid setting pxe boot settings in uefi,
but that is only available on newer versions of grub.

206. By Blake Rouse

Add --no-nvram to the grub-install command for UEFI.

This stops grub from changing the EFI boot options, keeping machines booting from network instead of the newly installed system.

205. By Scott Moser

add and use wipe_partitions, improve wipedev

instead of using sgdisk --zap-all and wipefs, use 'wipedev'.
For partitions, we can now use:
  wipe_partitions /dev/vdb 1

which will wipe the beginning of the partition without
triggering a REREADPT that wipefs would do.

I believe the wipefs call was the reason for the race condition
seen in LP: #1443542.

204. By Scott Moser

tools/maas2roottar: add this helper tool

maas2roottar takes a maas image (root-image.gz) and
creates a root-image file, a tarball suitable for installation
and optionally pulls kernel and initramfs out from inside.

203. By Scott Moser

improve code that finds devices and partitions

this fixes 2 bugs (LP: #1401190 and LP: #1263181).
I'm not terribly happy about the name-specific (cciss/c0d0) code that is
being added here. However, I do want this to work.

Also, we add a "should work" path for determining the device name
of a partition on a given target. Ie, given:
  /dev/sda 1 => /dev/sda1
  /dev/nbd0p1 => /dev/ndb0p1

The tricky/annoying one is
  /dev/cciss/c0d0 1 -> /dev/cciss/c0d0p1

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers