tazinst rev 107
tazinst: get .c32 modules from /boot/isolinux
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 15:28:34 2020 +0000 (2020-09-18) |
parents | 873255cb1674 |
children | 292c3fdb9769 |
files | tazinst |
line diff
1.1 --- a/tazinst Fri Sep 18 14:06:43 2020 +0000 1.2 +++ b/tazinst Fri Sep 18 15:28:34 2020 +0000 1.3 @@ -1707,12 +1707,10 @@ 1.4 log "$(_ 'Installing Syslinux')" 1.5 # needed tools 1.6 local dir disk="$(uuid2disk $ROOT_UUID)" 1.7 - for dir in /home/boot/extlinux /home/boot/syslinux /boot/syslinux; do 1.8 - [ -d "$dir" ] && cp $dir/*.c32 "$TARGET_ROOT/boot/syslinux/" 1.9 - [ -d "$dir" ] && cp $dir/*.sys "$TARGET_ROOT/boot/syslinux/" 1.10 + for dir in /home/boot/extlinux /home/boot/syslinux /boot/syslinux /boot/isolinux; do 1.11 + [ -d "$dir" ] && cp $dir/*.c32 $dir/*.sys "$TARGET_ROOT/boot/syslinux/" 1.12 done 1.13 - /usr/bin/lzma d /usr/share/boot/chain.c32.lzma \ 1.14 - $TARGET_ROOT/boot/syslinux/chain.c32 2>> "$LOG" 1.15 + cp /usr/share/boot/chain.c32 $TARGET_ROOT/boot/syslinux/chain.c32 2>> "$LOG" 1.16 # install syslinux 1.17 /bin/syslinux -version >> "$LOG" || error 5 "$(_ 'Syslinux not found')" 1.18 /bin/extlinux --install $TARGET_ROOT/boot/syslinux >> "$LOG" 2>> "$LOG"