From 8dcecef0580970982ea5aa7d404dbfb443231dfd Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sun, 6 Dec 2009 09:41:30 -0600 Subject: [PATCH] use a symlink instead of a hardlink for busybox utils (for Gentoo bug #246370) --- ChangeLog | 4 ++++ gen_initramfs.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.26.2