tazusb rev 141
tazusb: restore home=UUID to kernel line
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Apr 23 00:55:36 2013 +0000 (2013-04-23) |
parents | c268e854a356 |
children | 2ae2d7c88bcb |
files | tazusb |
line diff
1.1 --- a/tazusb Sun Jan 27 04:30:38 2013 -0200 1.2 +++ b/tazusb Tue Apr 23 00:55:36 2013 +0000 1.3 @@ -300,10 +300,10 @@ 1.4 cp /media/cdrom/boot/isolinux/isolinux.cfg $TARGET_ROOT/boot/$ST/$ST.$STE 1.5 1.6 # Update DVD autoinstall 1.7 - sed -i "s/LABEL=packages-[^,]*/UUID=$UUID/g" $(grep -l APPEND $TARGET_ROOT/boot/$ST/*) 1.8 + sed -i "s/LABEL=packages-[^,]*/UUID=$UUID/g" $(grep -l append $TARGET_ROOT/boot/$ST/*) 1.9 1.10 - # Add home= to APPEND in extlinux or syslinux.cfg 1.11 - sed -i -e "s/\(root=.*\)/\1 home=$UUID/" $(grep -l APPEND $TARGET_ROOT/boot/$ST/*) 1.12 + # Add home=$UUID to kernel line in extlinux or syslinux.cfg 1.13 + sed -i -e "s/\(root=.*\)/\1 home=$UUID/" $(grep -l append $TARGET_ROOT/boot/$ST/*) 1.14 1.15 # Splash screen and help files. 1.16 cp /media/cdrom/boot/isolinux/splash.* $TARGET_ROOT/boot/$ST