From 7d229e11a3f643b8771fced75945128bffee23c7 Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Sun, 7 May 2006 17:46:28 +0000 Subject: [PATCH] Fix #131769. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@386 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- gen_initramfs.sh | 3 +++ gen_initrd.sh | 3 +++ 2 files changed, 6 insertions(+) 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" -- 2.26.2