use a symlink instead of a hardlink for busybox utils (for Gentoo bug #246370)

cleanup-cruft
Andrew Gaffney 15 years ago
parent 2e4e55a6e5
commit 8dcecef058

@ -3,6 +3,10 @@
# Distributed under the GPL v2 # Distributed under the GPL v2
# $Id$ # $Id$
06 Dec 2009; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
use a symlink instead of a hardlink for busybox utils (for Gentoo bug
#246370)
23 Nov 2009; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc: 23 Nov 2009; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc:
Fix typo for Gentoo bug #294138 Fix typo for Gentoo bug #294138

@ -57,7 +57,7 @@ append_busybox() {
# Set up a few default symlinks # Set up a few default symlinks
for i in '[' ash sh mount uname echo cut cat; do for i in '[' ash sh mount uname echo cut cat; do
rm -f ${TEMP}/initramfs-busybox-temp/bin/$i > /dev/null 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}!" gen_die "Busybox error: could not link ${i}!"
done done

Loading…
Cancel
Save