Fix #131769.
authorTim Yamin <plasmaroo@gentoo.org>
Sun, 7 May 2006 17:46:28 +0000 (17:46 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sun, 7 May 2006 17:46:28 +0000 (17:46 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@386 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_initramfs.sh
gen_initrd.sh

index 5b79fa7378f48a48430b8959a5e65b3d34cadf5b..80802c6b7fb157238256d82c63f08db97cda8883 100644 (file)
@@ -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
index aac951b0184dbbd4750fe95e2f93954e99d2bb5e..ad8e88e3833912f240bd1b35345ec21afb63d439 100644 (file)
@@ -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"