tazlito rev 526

Do not trust video= arg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 20 07:55:21 2020 +0000 (2020-08-20)
parents b32eae972f44
children df946fc43fb0
files tazlito
line diff
     1.1 --- a/tazlito	Tue Apr 28 07:52:16 2020 +0000
     1.2 +++ b/tazlito	Thu Aug 20 07:55:21 2020 +0000
     1.3 @@ -1707,7 +1707,7 @@
     1.4  			"/append ifmem [0-9]/s/append .*/append ifmem$new $1/" $cfg
     1.5  		busybox sed -i 's|\(initrd=\)\([^r]*\)\(rootfs\)|\1\2rootfs.gz,\2\3|' $cfg
     1.6  		busybox sed -i '/LABEL base/{NNNNp;s|base .ive|cdrom|;s|base|cdrom|;s|,[^ ]*||}' $cfg
     1.7 -		busybox sed -i '/LABEL cdrom/{NNNNp;s|z cdrom|& text|;s|L cdrom|&text|;s|video=|screen=text &|;s|,[^ ]*||}' $cfg
     1.8 +		busybox sed -i '/LABEL cdrom/{NNNNp;s|z cdrom|& text|;s|L cdrom|&text|;s|autologin|screen=text &|;s|,[^ ]*||}' $cfg
     1.9  	done
    1.10  }
    1.11