diff --git a/files/scripts/initramfs.nu b/files/scripts/initramfs.nu index ce32b44..a34bb87 100755 --- a/files/scripts/initramfs.nu +++ b/files/scripts/initramfs.nu @@ -5,6 +5,7 @@ let KERNEL_SUFFIX = "" # SHOULD INCLUDE "-" AFTER! # TODO: Implement KERNEL_SUFFIX here without major breakages let QUALIFIED_KERNEL = (run-external 'rpm' '-qa' --redirect-stdout | complete | get stdout | lines | find --regex '^kernel-[0-9]*\.[0-9]*\.[0-9]*' | str replace $'kernel-' "").0 +rpm-ostree cliwrap install-to-root / /usr/libexec/rpm-ostree/wrapped/dracut '--no-hostonly' '--kver' $"($QUALIFIED_KERNEL)" '--reproducible' '-v' '--add' 'ostree' '-f' $"/lib/modules/($QUALIFIED_KERNEL)/initramfs.img" chmod '0600' $"/lib/modules/($QUALIFIED_KERNEL)/initramfs.img" diff --git a/generators/config/shared.pkl b/generators/config/shared.pkl index f15a448..300330f 100644 --- a/generators/config/shared.pkl +++ b/generators/config/shared.pkl @@ -16,7 +16,7 @@ shared = new Dynamic { } scripts = (modules.Script) { scripts = new Listing { - //"initramfs.nu" + "initramfs.nu" "ptyxis.nu" "extra-packages.nu" "tuned.nu"