From 9b2a3788aba5bd8386756433eb4ae677fb9b2985 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 15 Oct 2023 09:06:37 +0530 Subject: [PATCH] the kernel-release is not "necessary" --- post.sh | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/post.sh b/post.sh index 5b1d729..825a137 100644 --- a/post.sh +++ b/post.sh @@ -2,29 +2,18 @@ set -xeuf -o pipefail -UNAME_R="$(> "/boot/efi/uEnv.txt" sed -i "s/setenvrootdev/setenv rootdev \"${BOOT_PART}\"/" "/boot/efi/boot.cmd" -mkimage -A arm -T ramdisk -C none -n uInitrd -d "/boot/initramfs-${UNAME_R}.img" "/boot/uInitrd-${UNAME_R}" +mkimage -A arm -T ramdisk -C none -n uInitrd -d /boot/initramfs.img /boot/uInitrd mkimage -C none -A arm -T script -d /boot/efi/boot.cmd /boot/efi/boot.scr - -pushd /boot -ln -s "uInitrd-${UNAME_R}" uInitrd -popd