Helps to have an /sbin/init..
authorChris Larson <clarson@kergoth.com>
Fri, 5 Dec 2003 04:49:36 +0000 (04:49 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 5 Dec 2003 04:49:36 +0000 (04:49 +0000)
BKrev: 3fd00e60wgvaq5xlwoWJggT2gjojwQ

sysvinit/sysvinit_2.85.oe

index e2d5cf3..08fd67e 100644 (file)
@@ -55,14 +55,11 @@ do_stage () {
 pkg_postinst () {
        set -e
 
-#      if [ X"$1" != Xconfigure ]; then
-#              exit 0
-#      fi
 # FIXME: use update-alternatives.. but what if the user doesnt have it?
 #      if [ -n "`which update-alternatives 2>/dev/null`" ]; then
 #              update-alternatives blah
 #      else
-               ln -sf sysvinit /sbin/init
+               ln -sf sysvinit ${D}/sbin/init
 #      fi
        exit 0
 }