From 5261978d6f9600640c1ea4f1393e18772d4f9657 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 23 Mar 2009 17:26:37 +0100 Subject: busybox: fix linuxrc link and put it in a seperate package * runtime tested on a beagleboard --- recipes/busybox/busybox.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'recipes/busybox/busybox.inc') diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc index cb8eb53216..acf47f2178 100644 --- a/recipes/busybox/busybox.inc +++ b/recipes/busybox/busybox.inc @@ -142,10 +142,10 @@ pkg_postinst_${PN} () { # so the update-alternatives script will get the utilities it needs # (update-alternatives have no problem replacing links later anyway) test -n 2> /dev/null || alias test='busybox test' - if test "x$D" = "x"; then while read link; do if test ! -h "$link"; then case "$link" in /*/*/*) to="../../bin/busybox";; /bin/*) to="busybox";; /*/*) to="../bin/busybox";; esac; busybox ln -s $to $link; fi; done