Last commit made on 2020-09-14
Get this branch:
git clone -b 20.1-29-g81144052-0ubuntu1 https://git.launchpad.net/~paride/curtin
Only Paride Legovini can upload to this branch. If you are Paride Legovini please log in for upload directions.

Branch merges

Branch information


Recent commits

6026187... by Paride Legovini

releasing curtin version 20.1-29-g81144052-0ubuntu1

020c274... by Paride Legovini

update changelog (New upstream snapshot 20.1-29-g81144052).

63b14f2... by Paride Legovini

merge from origin/master at 20.1-29-g81144052

8114405... by Ryan Harper <email address hidden>

vmtest: Fix multiple issues with vmtest on master

- Nvme-bcache: Do not mark multiple devices bootable that
  are not bootable, remove skip on Focal
- Fix PsuedoTest test_swaps_used
- Fix _serial_to_kname lookup of raid by-id paths
- Skip test_swaps_used on Groovy until LP: #1894910 is fixed
- Skip test_network_vlans Groovy until LP: #1888726 is fixed
- Disable lvm root xfs on /boot xfs test
- AptConfigCmd: Adjust regex to handling trailing slash in
  add-apt-repository URL generated

9c1bc71... by Ryan Harper

Refactor uefi_remove_duplicates into find/remove functions for reuse

Splitting the function into find/remove functions allows reuse in the
vmtest which exercises the code and then verifies the duplicate

- Remove skip_by_date on Centos7 in test_reuse_uefi_esp
- Use uefi_find_duplicate_entries to verify vmtest results

2dc3802... by Ryan Harper <email address hidden>

distro: run apt-get clean after dist-upgrade, install, upgrade

Some vmtest scenarios install multiple large packages which consume
storage temporarily and in some cases prevent other install
operations, like creating an initramfs, from completing
successfully. This change introduces an apt-get clean command run
after dist-upgrade, install or upgrade actions. This will clear out
the local repositiry of retrieved package files restoring space back
to the filesystem.

06be71e... by Ryan Harper

curthooks: UEFI remove dupes: don't remove BootCurrent, config option

When removing duplicate UEFI bootmenu entries do not remove the
BootCurrent entry. Fix this by adding BootCurrent to the seen set
before processing the list and then skip it during iteration of the

- Add grub config option: remove_duplicate_entries bool
- Add documentation around remove_duplicate_entries grub config
- Add unittests to verify we don't remove boot current and to
  check that dupe removal can be disabled.

LP: #1894217

b3e627c... by Paride Legovini

Pin the dependency on pyrsistent

pyrsistent 0.16.0 is the latest version supporting Python < 3.5.
Newer versions make the *py27 tox environments fail.

83944d6... by Michael Hudson-Doyle

restore default of grub.update_nvram to True in install_grub

This was accidentally changed when the grub installation code was
converted from shell to Python.

4cb1035... by Ryan Harper

block: disk_to_byid_path handle missing /dev/disk/by-id directory

If a system has disks without any persistent indentifier (like serial)
then udev won't create any /dev/disk/by-id symlinks. This can happen
in VMs which do not provide serial numbers by default (e.g. virtio).

If /dev/disk/by-id did not exist then os.listdir on that path would
raise a FileNotFoundException and prevented disk_to_byid_path from
returning None (or the correct path).

This is fixed by checking if the target prefix exists and if not
return an empty dict.

LP: #1876258