tazlito rev 533
tazlito/extract_distro: get dos boot files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 27 11:48:05 2021 +0000 (2021-12-27) |
parents | c869b6f17992 |
children | bf8d0ce5da01 |
files | tazlito |
line diff
1.1 --- a/tazlito Tue Nov 09 14:40:46 2021 +0000 1.2 +++ b/tazlito Mon Dec 27 11:48:05 2021 +0000 1.3 @@ -174,7 +174,7 @@ 1.4 1.5 1.6 hexdump_R() { 1.7 - sed '/ /!d;s/ |.*//;s| *$||;s| *|\\\\x|g;s|^[^\\]*|busybox echo -en |' | sh 1.8 + sed '/ /!d;s/ *|.*//;s| *$||;s| *|\\\\x|g;s|^[^\\]*|busybox echo -en |' | sh 1.9 } 1.10 1.11 1.12 @@ -2238,6 +2238,10 @@ 1.13 cp $TMP_DIR/boot/rootfs*.?z* "$TARGET/rootcd/boot" 1.14 status 1.15 1.16 + action 'Copying DOS boot files...' 1.17 + cp $TMP_DIR/boot/linld.com $TMP_DIR/boot/*.exe "$TARGET/rootcd/boot" 1.18 + status 1.19 + 1.20 cleanup_efi_boot "$TARGET/rootcd" 1.21 1.22 # Extract initramfs.