From 40267aa5219c66818c41321c2ca0da5dae9e6015 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 18 Sep 2018 13:49:36 +0200 Subject: [PATCH] prepare-root.sh: remove /efi from initramfs --- prepare-root.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/prepare-root.sh b/prepare-root.sh index f10ffad..3ea4231 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -257,7 +257,6 @@ mkdir -p "$sysroot"/etc/pki/${NAME} cp "${CURDIR}/${GPGKEY}" "$sysroot"/etc/pki/${NAME}/GPG-KEY rpm --root "$sysroot" -qa | sort > "$sysroot"/usr/rpm-list.txt -mkdir -p "$sysroot"/overlay/efi cp "${BASEDIR}"/pre-pivot.sh "$sysroot"/pre-pivot.sh cp -avr "${BASEDIR}"/10verity "$sysroot"/usr/lib/dracut/modules.d/ @@ -283,7 +282,6 @@ chroot "$sysroot" \ --install "tpm2_pcrextend tpm2_createprimary tpm2_pcrlist tpm2_createpolicy" \ --install "tpm2_create tpm2_load tpm2_unseal tpm2_takeownership" \ --include /pre-pivot.sh /lib/dracut/hooks/pre-pivot/pre-pivot.sh \ - --include /overlay / \ --install /usr/lib/systemd/system/clevis-luks-askpass.path \ --install /usr/lib/systemd/system/clevis-luks-askpass.service \ --install /usr/libexec/clevis-luks-askpass \ @@ -294,7 +292,6 @@ chroot "$sysroot" \ --install /usr/lib/systemd/system/basic.target.wants/rngd.service rm "$sysroot"/pre-pivot.sh -rm -fr "$sysroot"/overlay umount "$sysroot"/var/cache/dnf