tazlito rev 527
Get uefi args from isolinux.cfg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 15 16:45:55 2020 +0000 (2020-09-15) |
parents | 2a9ea816895f |
children | fba53d645af2 |
files | tazlito |
line diff
1.1 --- a/tazlito Thu Aug 20 07:55:21 2020 +0000 1.2 +++ b/tazlito Tue Sep 15 16:45:55 2020 +0000 1.3 @@ -491,7 +491,7 @@ 1.4 done 2> /dev/null 1.5 [ -s $basedir/efi/boot/linux.cmdline ] || 1.6 sed 's|/|\\|g' > $basedir/efi/boot/linux.cmdline <<EOT 1.7 -rw root=0x100 autologin\ 1.8 +rw root=0x100$(sed '/bzImage/!d;s|.*root=[^ ]*||;q' $basedir/boot/isolinux/isolinux.cfg)\ 1.9 $( ( cd $basedir/efi/boot ; ls -r rootfs*gz ) | while read f ; do \ 1.10 echo -n " initrd=/EFI/BOOT/$f";done) 1.11 EOT