Advertisement
Guest User

Untitled

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