~mwhudson/curtin:partition-dasd-without-device_id

Last commit made on 2020-12-14
Get this branch:
git clone -b partition-dasd-without-device_id 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:
partition-dasd-without-device_id
Repository:
lp:~mwhudson/curtin

Recent commits

aa3b584... by Michael Hudson-Doyle

allow adding a vtoc partition without a device id

this is needed for the "dasd passed to kvm via virtio" use case

4f2bdc5... by Michael Hudson-Doyle

simplify dasdview parsing code

Now that the only thing we need dasdview output for is to determine
the format type of the dasd (ldl vs cdl vs unformatted) we can make
a few things simpler.

f811df4... by Michael Hudson-Doyle

fix construction of DasdPartitionTable from fdasd output

DasdPartition had an extra argument in its constructor that should not
have been there. Add some tests.

d41a567... by Lee Trager

Don't install grub if it is already found on CentOS/RHEL

LP: #1895067

9130753... by Ryan Harper

vmtests: Replace newly added Eoan test with Groovy

Eoan is EOL, replace Eoan entry in newly added test with Groovy

2d3c3d8... by Michael Hudson-Doyle

vmtests: test using a disk with RAID partition on it directly in a RAID

8818498... by Michael Hudson-Doyle

fix verification of vtoc partitions

Currently curtin verifies the size and flags of a partition by
using sfdisk to inspect it and checking the results. But that
doesn't work on a dasd's vtoc partition table, so this branch
renames parition_verify to parition_verify_sfdisk, adds
parition_verify_fdasd and calls the latter when ptable ==
'vtoc'. The branch does a little more than is strictly necessary,
perhaps, but the other stuff will come in useful soon, I promise
:)

LP: #1899471

beb12f0... by Michael Hudson-Doyle

create an empty vtoc in disk_handler

Another merge proposal I have uses fdasd to get the block and track size
when partitioning a disk. But the wiping disk_handler can do can do
enough damage to stop fdasd working at all. Putting an empty vtoc onto
the disk allows fdasd to report the sizes when needed.

2798a68... by Michael Hudson-Doyle

remove unused parameters from dasd code

The functions that parse dasdinfo and dasdview output take
parameters strict and rawoutput that are only passed by tests.
This removes them and the tests.

af7852f... by Michael Hudson-Doyle

remove support for calling get_path_to_storage_volume on a dasd action

there is no code path that will do this today, and this implementation
will not work with some changes I want to make to support dasds passed
via virtio.