Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- if [ ! -d iso ];then
- echo 'Please create a folder called iso with the contents of the iso to generate';exit 1
- fi
- if [ -z "$1" ];then
- echo 'Argument: name of the iso to generate';exit 1
- fi
- mkisofs -r -l \
- -b boot/syslinux/isolinux.bin -c boot/syslinux/boot.cat \
- -uid 0 -gid 0 \
- -udf -allow-limited-size -iso-level 3 \
- -input-charset utf-8 -p "mkarchiso" \
- -no-emul-boot -boot-load-size 4 -boot-info-table \
- -publisher "$(whoami)" \
- -A "CTKArch Live custom" \
- -V "CTKArch7" \
- -o "${1}" "iso/" || exit 1
- isohybrid "${1}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement