From fe8c4857dec2b48495ab31d144d6a3ea8ad27d7e Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Fri, 28 Oct 2005 19:16:00 +0000 Subject: [PATCH] Made symlink relative for bug #105572. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@318 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- gen_initramfs.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index f411c54..88cc110 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -372,8 +372,10 @@ create_initramfs_aux() { fi fi - # Make a symlink to init .. incase we are bundled inside the kernel as one big cpio. - ln -s ${TEMP}/initramfs-aux-temp/init ${TEMP}/initramfs-aux-temp/linuxrc + # 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 +# ln ${TEMP}/initramfs-aux-temp/init ${TEMP}/initramfs-aux-temp/linuxrc if [ -f "${GK_SHARE}/${ARCH}/initrd.scripts" ] then -- 2.26.2