From: Andrew Gaffney Date: Sun, 6 Dec 2009 15:41:30 +0000 (-0600) Subject: use a symlink instead of a hardlink for busybox utils (for Gentoo bug #246370) X-Git-Tag: v3.4.10.907~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8dcecef0580970982ea5aa7d404dbfb443231dfd;p=genkernel.git use a symlink instead of a hardlink for busybox utils (for Gentoo bug #246370) --- diff --git a/ChangeLog b/ChangeLog index a42f5ed..4ff1591 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,10 @@ # Distributed under the GPL v2 # $Id$ + 06 Dec 2009; Andrew Gaffney gen_initramfs.sh: + use a symlink instead of a hardlink for busybox utils (for Gentoo bug + #246370) + 23 Nov 2009; Andrew Gaffney defaults/linuxrc: Fix typo for Gentoo bug #294138 diff --git a/gen_initramfs.sh b/gen_initramfs.sh index c924d2d..231411e 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -57,7 +57,7 @@ append_busybox() { # Set up a few default symlinks for i in '[' ash sh mount uname echo cut cat; do rm -f ${TEMP}/initramfs-busybox-temp/bin/$i > /dev/null - ln ${TEMP}/initramfs-busybox-temp/bin/busybox ${TEMP}/initramfs-busybox-temp/bin/$i || + ln -s busybox ${TEMP}/initramfs-busybox-temp/bin/$i || gen_die "Busybox error: could not link ${i}!" done