build_obsd_iso.sh 340 B

1234567891011121314
  1. #!/bin/sh
  2. # Build openbsd custom iso
  3. . ./vars.conf
  4. echo "---"
  5. echo "* Rebuilding iso"
  6. if [ -n "$(command -v mkisofs)" ]; then
  7. mkisofs -r -no-emul-boot -b ${VERSION}/${ARCH}/cdbr -c boot.catalog -o ${CWD}/hads.iso ${NAME}
  8. else
  9. genisoimage -r -no-emul-boot -b ${VERSION}/${ARCH}/cdbr -c boot.catalog -o ${CWD}/hads.iso ${NAME}
  10. fi