diff --git a/initramfs.sh b/initramfs.sh index f1941f0..adb0f5f 100755 --- a/initramfs.sh +++ b/initramfs.sh @@ -3,5 +3,5 @@ set -eoux pipefail QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')" -/usr/libexec/rpm-ostree/wrapped/dracut --no-hostonly --kver "$QUALIFIED_KERNEL" --reproducible -v --add ostree -f "/lib/modules/$QUALIFIED_KERNEL/initramfs.img" +/usr/bin/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/install.sh b/install.sh index 28dfbab..21414ee 100755 --- a/install.sh +++ b/install.sh @@ -15,7 +15,6 @@ rpm-ostree install \ fedora-repos-archive # Handle Kernel Skew with override replace -rpm-ostree cliwrap install-to-root / if [[ "${KERNEL_VERSION}" == "${QUALIFIED_KERNEL}" ]]; then echo "Installing signed kernel from kernel-cache." cd /tmp