forked from t2linux/T2-Ubuntu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path04_create_iso.sh
More file actions
executable file
·30 lines (27 loc) · 866 Bytes
/
04_create_iso.sh
File metadata and controls
executable file
·30 lines (27 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
set -eu -o pipefail
cd "${IMAGE_PATH}"
### Generate md5sum.txt. Generate it two times, to get the own checksum right.
(find . -type f -print0 | xargs -0 md5sum >"${IMAGE_PATH}/md5sum.txt")
echo >&2 "===]> Info: Create Isolinux... "
xorriso -as mkisofs \
-iso-level 3 \
-full-iso9660-filenames \
-volid "KDE_NEON_MBP" \
-b boot/grub/bios.img \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-c boot/grub/boot.cat \
--grub2-boot-info \
--grub2-mbr "/usr/lib/grub/i386-pc/boot_hybrid.img" \
-eltorito-alt-boot \
-e "EFI/efiboot.img" \
-no-emul-boot \
-isohybrid-mbr "${ROOT_PATH}/files/isohdpfx.bin" \
-isohybrid-gpt-basdat -isohybrid-apm-hfsplus \
-output "${ROOT_PATH}/neon-user-${KERNEL_VERSION}.iso" \
-graft-points \
"." \
/boot/grub/bios.img=isolinux/bios.img \
/EFI/efiboot.img=isolinux/efiboot.img