# HG changeset patch # User Richard Dunbar # Date 1366678536 0 # Node ID fb57b8839aa2e0938fed7bd740b11d030537cb9f # Parent c268e854a3568438cd03aefe69de2d94ca52f796 tazusb: restore home=UUID to kernel line diff -r c268e854a356 -r fb57b8839aa2 tazusb --- a/tazusb Sun Jan 27 04:30:38 2013 -0200 +++ b/tazusb Tue Apr 23 00:55:36 2013 +0000 @@ -300,10 +300,10 @@ cp /media/cdrom/boot/isolinux/isolinux.cfg $TARGET_ROOT/boot/$ST/$ST.$STE # Update DVD autoinstall - sed -i "s/LABEL=packages-[^,]*/UUID=$UUID/g" $(grep -l APPEND $TARGET_ROOT/boot/$ST/*) + sed -i "s/LABEL=packages-[^,]*/UUID=$UUID/g" $(grep -l append $TARGET_ROOT/boot/$ST/*) - # Add home= to APPEND in extlinux or syslinux.cfg - sed -i -e "s/\(root=.*\)/\1 home=$UUID/" $(grep -l APPEND $TARGET_ROOT/boot/$ST/*) + # Add home=$UUID to kernel line in extlinux or syslinux.cfg + sed -i -e "s/\(root=.*\)/\1 home=$UUID/" $(grep -l append $TARGET_ROOT/boot/$ST/*) # Splash screen and help files. cp /media/cdrom/boot/isolinux/splash.* $TARGET_ROOT/boot/$ST