tazusb rev 209 tip

Take care of isolinux.cfg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 20 07:27:26 2020 +0000 (2 months ago)
parents f48301443461
children
files tazusb
line diff
     1.1 --- a/tazusb	Thu Aug 20 07:06:40 2020 +0000
     1.2 +++ b/tazusb	Thu Aug 20 07:27:26 2020 +0000
     1.3 @@ -485,8 +485,8 @@
     1.4  				echo > /etc/keymap.conf ;;
     1.5  			*)
     1.6  				_n 'Keeping current locale/keymap settings...'
     1.7 -				grep -qs '^INCLUDE i18n.cfg'        /home/boot/*linux/*linux.c* &&
     1.8 -				sed  -i  's/^INCLUDE i18n.cfg/# &/' /home/boot/*linux/*linux.c* ;;
     1.9 +				grep -qs '^INCLUDE i18n.cfg'        /home/boot/*linux/[se]*linux.c* &&
    1.10 +				sed  -i  's/^INCLUDE i18n.cfg/# &/' /home/boot/*linux/[se]*linux.c* ;;
    1.11  		esac
    1.12  		status
    1.13  		newline
    1.14 @@ -545,7 +545,7 @@
    1.15  		if [ "$(ls /home/boot/bzImage*)" ]; then
    1.16  			longline "$(_ 'Moving %s to media. Remember to unmount for delayed writes!' "$ROOTFS")"
    1.17  
    1.18 -			CONFIG=$(ls /home/boot/*linux/*linux.c*)
    1.19 +			CONFIG=$(ls /home/boot/*linux/[se]*linux.c*)
    1.20  			if grep -qs 'gz,' $CONFIG; then
    1.21  
    1.22  				# Disable loram & many-in-1