Skip to content

Commit

Permalink
40ignition-ostree: explicitly add zram kmod in initrd
Browse files Browse the repository at this point in the history
We were relying on the zram kmod already being in the initramfs so far,
though that assumption for whatever reason is now incorrect in rawhide,
causing rootfs reprovisioning related tests to fail.

Anyway, we should be more explicit here about what our requirements are.
  • Loading branch information
jlebon committed Jul 6, 2021
1 parent fc4c9b4 commit 1fe8843
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ install_ignition_unit() {
systemctl -q --root="$initdir" add-requires "ignition-${target}.target" "$unit" || exit 1
}

installkernel() {
# Used by ignition-ostree-transposefs
instmods -c zram
}

install() {
inst_multiple \
realpath \
Expand Down

0 comments on commit 1fe8843

Please sign in to comment.