diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 5b79fa7..80802c6 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -384,6 +384,9 @@ create_initramfs_aux() { fi fi + # Make sure it's executable + chmod 0755 "${TEMP}/initramfs-aux-temp/init" + # Make a symlink to init .. incase we are bundled inside the kernel as one big cpio. cd ${TEMP}/initramfs-aux-temp ln -s init linuxrc diff --git a/gen_initrd.sh b/gen_initrd.sh index aac951b..ad8e88e 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -277,6 +277,9 @@ create_initrd_aux() { fi fi + # Make sure it's executable + chmod 0755 "${TEMP}/initrd-temp/linuxrc" + if [ -f "${GK_SHARE}/${ARCH}/initrd.scripts" ] then cp "${GK_SHARE}/${ARCH}/initrd.scripts" "${TEMP}/initrd-temp/etc/initrd.scripts"