~mwhudson/curtin:disk_handler-empty-vtoc

Last commit made on 2020-11-18
Get this branch:
git clone -b disk_handler-empty-vtoc 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:
disk_handler-empty-vtoc
Repository:
lp:~mwhudson/curtin

Recent commits

8d535e1... 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.

e19f3ff... by Ryan Harper

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

vmtests: remove skip_by_dates for now-fixed bcache issue

59ea037... by Paride Legovini

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).

392c05d... by Paride Legovini

deb packaging: fully cleanup directory tree after build

LP: #1899698

3727577... by Sergey Bykov

udevadm_info should use maxsplit=1 instead of maxsplit=2

In udevadm_info the below code is called to split output lines:
    key, value = line.split('=', 2)

It can lead to unhandled exception if there are more than one
equal sign in the string as split will return array of three
or more elements. The correct way to get only two elements is
to use maxsplit=1:
    key, value = line.split('=', 1)

LP: #1895021

c696c8d... by Ryan Harper

vmtests/multipath-lvm: dont assume device-mapper block names

- Add comments in the early_command code to document what it is doing
- Use the /device/mapper/mpatha symlink to determine the correct
  device-mapper device name when operating on it
- Add additional commands to capture more information for future
  debugging issues with these tests.

LP: #1898758

7797d23... by Paride Legovini

vmtest: fix the groovy arm64 subarch

LP: #1898757