~raharper/curtin:fix/grub-boot-id-for-rhel-images

Last commit made on 2020-12-02
Get this branch:
git clone -b fix/grub-boot-id-for-rhel-images https://git.launchpad.net/~raharper/curtin
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix/grub-boot-id-for-rhel-images
Repository:
lp:~raharper/curtin

Recent commits

e1306eb... by Ryan Harper on 2020-12-02

install_grub: Fix bootloader-id for RHEL systems, must be redhat

In 7310b4fe61465, the port from shell dropped a change where the boot-id
value for Redhat family OSes is the value 'redhat' not the os-release ID
value (which is rhel, on RHEL systems).

Add this change back to install_grub and fix unittests that fail with
'rhel' instead of 'redhat' in os-release values. Hardcode 'redhat'
paths in expected values.

LP: #1906543

9130753... by Ryan Harper on 2020-11-23

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 on 2020-11-19

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

8818498... by Michael Hudson-Doyle on 2020-11-19

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 on 2020-11-19

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 on 2020-11-18

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 on 2020-11-18

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.

e19f3ff... by Ryan Harper on 2020-11-13

clear-holders: fix identification of multipath partitions

identify_partition calls multipath.is_mpath_partition using at sysfs
path to the device but is_mpath_partition expects a /dev/XXX path.
This prevented clear-holders from identifying multipath partitions which
need to be handled differently than regular partitions (or disks).

LP: #1900900

1f5755c... by Dan Watkins on 2020-10-20

vmtests: remove skip_by_dates for now-fixed bcache issue

59ea037... by Paride Legovini on 2020-10-19

debian/rules: drop PKG_VERSION and UPSTREAM_VERSION

The PKG_VERSION variable in debian/rules is not used and the command
generating it doesn't work, causing a 'Bad substitution' error at
every build. (The problem is with the '\#\#' escape.)

Also drop UPSTREAM_VERSION (unused).