~dbungert/curtin:py-apt-prep

Last commit made on 2021-09-03
Get this branch:
git clone -b py-apt-prep https://git.launchpad.net/~dbungert/curtin
Only Dan Bungert can upload to this branch. If you are Dan Bungert please log in for upload directions.

Branch merges

Branch information

Name:
py-apt-prep
Repository:
lp:~dbungert/curtin

Recent commits

723a57b... by Dan Bungert

vmtest-system-setup: fix python-apt selection

21e9f81... by Dan Bungert

vmtests: python-apt basic test

d6ef1ce... by Dan Bungert

tox: python-apt basic test

fc46bdb... by Dan Bungert

noproxy: remove

809817f... by Lukas Märdian

block:lvm: search encrypted volumes for LVM

This reverts my optimistic fix for bug 1895192 and replaces it
with Lukas' more cautious fix.

We should debug why things are failing with my fix but not with
20.04.3 imminent.

LP: #1940687

cf07c23... by Michael Hudson-Doyle

mdadm: allow installation to a syncing array

LP: #1939563

6c07453... by Dan Bungert

vmtests: s/Groovy/Impish

* Use vmtest-{add,remove}-release to remove Groovy, and add Impish.
* vmtest-{add,remove}-release: set default path

40a09ae... by Michael Hudson-Doyle

tweak making mountpoints private some more

My recent change to move the making of mountpoints private into
do_umount actually made it ineffective. I tried to change things
so that we always made mountpoints private before unmounting them
but that ran into problems of its own. So I changed do_umount to
have a "private" flag ChrootableTarget.__exit__ could use to
request that mountpoints be made private before unmounting, which
makes things work again but I still don't see how to make a
generally robust "curtin unmount" command, as explained at length
in the comment I added.

8d8687f... by Michael Hudson-Doyle

curthooks: do not unconditionally copy e/n/interfaces to target

When I tried to install a more-minimal server image using curtin, it
failed in copy_interfaces because the image did not have an /etc/network
directory at all (full ubuntu-server images have this directory because
ethtool installs files in there). Fix this by shuffling around how the
$state_dir/interfaces file is handled a bit: basically it used to always
be created by the install commmand and then updated by the net-meta
command. Change this to have the file only be created by net-meta, then
curthooks can copy it if and only if it exists.

49626ef... by Lukas Märdian

block: handle /dev/mapper/* in dev_path()

Fixes LP: #1895192