~dbungert/curtin:nonzero-fs_pass

Last commit made on 2021-03-17
Get this branch:
git clone -b nonzero-fs_pass 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:
nonzero-fs_pass
Repository:
lp:~dbungert/curtin

Recent commits

fa4b7bb... by Dan Bungert

Update schema for mount for passno/freq

4430c43... by Dan Bungert

Update fs_battery test for passno/freq config overrides

Given that I've added docs for passno/freq mount config parameters,
let's also test that doing so actually behaves.

9304e20... by Dan Bungert

Doc update

d51b18a... by Dan Bungert

Update passno in vmtests

35f95b1... by Dan Bungert

Add and adjust tests for passno generation

7ed5782... by Dan Bungert

Allow fstab_line_for_data to choose passno

* fstab data structure FstabData is initialized with passno = "-1"
* other initializers are expected to default to that value
* fstab_line_for_data, when encountering a -1 passno, shall apply simple
  logic to decide on a passno value to generate
* mount to / or /boot things given passno 1
* other mounts that aren't none given passno 2
* 'none' mounts given passno 0
* callers can override passno - supply a passno value that isn't "-1"

Unit tests pass, further testing pending.

e113b05... by Michael Hudson-Doyle

storage_config: return one type: disk action per multipathed disk

Currently extract_storage_config returns one type: disk action
for every member of a multipathed disk and type: partition
actions for each partition of each disk. This works by generating
a type: disk action for each disk and ignoring the block device
data for the /dev/dm-X device for the multipathed disk.

But in groovy+, the udev rule from multipath-tools that has
always attempted to remove the devices nodes for the partitions
of a disk that is a multipath member actually succeeds, and
trying to generate a type: partition action for a partition with
no underlying device node makes things blow up.

Instead, this branch generates type: disk and type: partitions
actions from the /dev/dm-X nodes for the mutipathed disk and its
partitions, and ignores and disks and partitions that are members
of a multipathed disk.

LP: #1893818

f69ae88... by Ryan Harper

vmtest/centos: handle different paths to grub config

Centos images used to always have grub installed at
/boot/grub/grub.conf. The most recent build of centos70,
centos70/amd64/20210210_01/root-tgz, now has grub conf located at
/boot/grub2/grub.cfg. This patch checks for either path before
running the sed fixup command.

d3a86fe... by Michael Hudson-Doyle

Release 21.2

Bump the version in curtin/__init__.py to 21.2.

LP: #1913357

818db25... by Michael Hudson-Doyle

Revert "apt_config: stop using the deprecated apt-key command"

This reverts commit e099e32c5757b7aa0bc4fc2aeddb91d195a6df2b.

Unfortunately the gpg keys are not being added to the right place on
disk.

LP: #1912801