~mwhudson/curtin:v2-disk-identification

Last commit made on 2023-01-25
Get this branch:
git clone -b v2-disk-identification https://git.launchpad.net/~mwhudson/curtin
Only Michael Hudson-Doyle can upload to this branch. If you are Michael Hudson-Doyle please log in for upload directions.

Branch merges

Branch information

Name:
v2-disk-identification
Repository:
lp:~mwhudson/curtin

Recent commits

8aae411... by Michael Hudson-Doyle

update an example

7f839a7... by Michael Hudson-Doyle

have v2 get_path_to_storage_volume promote multipath members to multipath device more generally

a2ac4e3... by Michael Hudson-Doyle

respond to review

4642442... by Michael Hudson-Doyle

oops

886eb19... by Michael Hudson-Doyle

add pyudev to requirements

6a783b3... by Michael Hudson-Doyle

block_meta: all fields on a disk action must match with v2 config

This is for https://bugs.launchpad.net/subiquity/+bug/1929213.

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