wok-current rev 13881

busybox-boot: add mount=, loopfs= & subroot= cmdline args (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 17 14:10:44 2013 +0100 (2013-01-17)
parents 1db81b2d03ff
children be782e714030
files busybox-boot/receipt
line diff
     1.1 --- a/busybox-boot/receipt	Thu Jan 17 14:05:32 2013 +0100
     1.2 +++ b/busybox-boot/receipt	Thu Jan 17 14:10:44 2013 +0100
     1.3 @@ -54,8 +54,8 @@
     1.4  
     1.5  arg mount && mount $root /mnt
     1.6  arg loopfs && losetup /dev/loop0 /mnt/$root && mount /dev/loop0 /mnt
     1.7 -arg subroot && cp /bin/chroot /mnt/$root/dev/shm &&
     1.8 -exec switch_root mnt $root/dev/shm/chroot $root /sbin/init
     1.9 +arg subroot && cp /bin/busybox /mnt/$root/dev/shm &&
    1.10 +exec switch_root mnt $root/dev/shm/busybox chroot $root /sbin/init
    1.11  
    1.12  [ -d /proc/bus/usb ] && mount -t usbfs usbfs /proc/bus/usb
    1.13  mount -t sysfs none /sys