daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Apr 9th, 2011 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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}"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top