~dbungert/curtin:no-attrs

Last commit made on 2023-01-24
Get this branch:
git clone -b no-attrs 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:
no-attrs
Repository:
lp:~dbungert/curtin

Recent commits

87e6446... by Dan Bungert

vmtests: drop python3-attr dep

1c8cf3e... by Dan Bungert

install: drop attrs usage

ff81543... by Dan Bungert

block: drop attrs usage

6d11406... by Dan Bungert

apt: use string.format instead of f-string

In pursuit of older python version support, drop the f-string usage.

Co-Authored-By: Olivier Gayot <email address hidden>

b08eecd... by Michael Hudson-Doyle

block_meta_v2: set first-lba if needed when creating a new GPT

sfdisk sets first-lba to 2048 by default, which fails if one of
the partitions has an start smaller than that. Having a
partition start so early in the disk is a bit strange but it
works if you are preserving a partition (because we preserve
first-lba) so it should probably work when creating one too.

ebff651... by Michael Hudson-Doyle

fix block meta 4k integration tests with recentish losetup

In recent releases of util-linux, --sector-size and --partscan don't
play well together, so drop the --partscan and call partprobe after
losetup returns. This is fixed in util-linux master but not the latest
release.

b8766b4... by Michael Hudson-Doyle

call wipefs -a -f in addition to zeroing in quick_zero

LP: #1997920

3f62a46... by Michael Hudson-Doyle

fix "curtin swap" exit code

Today I discovered that there is a "curtin swap" command that just does
the "configure swap" part of curthooks and then I fairly quickly after
that discovered that probably noone has used it because it
unconditionally exits with code 2 even if everything succeeded.

3301fd9... by Brett Holman <email address hidden>

support older versions of iproute2

1797204... by Dan Bungert

commands/apt: stop using apt-key

re-apply e099e32 and update for the modified test codebase.
Drops using apt-key in favor of placing the file direct on disk.
Includes a fix for placing the key in the correct directory.