wok rev 4083

mkpkgiso: mount loram by label
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 15 22:51:18 2009 +0200 (2009-09-15)
parents 560336a3b8d8
children 9771c3252b97
files mirror-tools/stuff/usr/bin/mkpkgiso
line diff
     1.1 --- a/mirror-tools/stuff/usr/bin/mkpkgiso	Tue Sep 15 22:47:44 2009 +0200
     1.2 +++ b/mirror-tools/stuff/usr/bin/mkpkgiso	Tue Sep 15 22:51:18 2009 +0200
     1.3 @@ -291,7 +291,7 @@
     1.4  F6 enopts.txt
     1.5  EOT
     1.6  		sed -i -e 's|kernel /boot/bzImage|kernel /boot/isolinux/ifmem.c32\n\tappend 160768 core 29696 loram noram\n|' \
     1.7 -			-e 's|\(.*/\)rootfs\(.gz .*\)$|label core\n\tkernel /boot/bzImage\n\1rootfs\2\n\nlabel loram\n\tkernel /boot/bzImage\n\1loram\2|' \
     1.8 +			-e 's|\(.*/\)rootfs\(.gz .*\)$|label core\n\tkernel /boot/bzImage\n\1rootfs\2\n\nlabel loram\n\tkernel /boot/bzImage\n\1loram\2 loram=LABEL=packages-$PKG_VER,|' \
     1.9  			$TEMP_DIR/boot/isolinux/*.cfg
    1.10  		status
    1.11  		;;