]> git.ipfire.org Git - thirdparty/mkosi.git/commit
mkosi-initrd: Port tests from old repository 2120/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 4 Dec 2023 07:12:51 +0000 (08:12 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 5 Dec 2023 12:47:52 +0000 (13:47 +0100)
commitdeeb0194c6994f6bdeda71680af49b4cfaaddf22
treeed3f56db9b33efa4a03f796e9e7f03ebea8495c1
parentc38325a347c006ee357c60cf48ed79d8d962d5b8
mkosi-initrd: Port tests from old repository

This commit ports some of the tests from
https://github.com/systemd/mkosi-initrd/blob/main/.github/workflows/build-fedora.sh
over.

The LUKS test is modified to generate the LUKS root partition using
repart instead of doing it manually. For the LVM tests we're forced
to do it manually as systemd-repart doesn't support setting up LVM
(and probably never will).

We also add an initrd size test so we notice when initrds grow due
to distribution packaging changes.
.github/workflows/ci.yml
action.yaml
mkosi.conf
mkosi.conf.d/20-ubuntu.conf
tests/test_boot.py
tests/test_initrd.py
tests/test_sysext.py [new file with mode: 0644]