From: Tim Yamin Date: Sun, 7 May 2006 17:46:28 +0000 (+0000) Subject: Fix #131769. X-Git-Tag: v3.4.10.902~366 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d229e11a3f643b8771fced75945128bffee23c7;p=genkernel.git Fix #131769. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@386 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- 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"