33 lines
907 B
Bash
Executable File

#!/usr/bin/env bash
# Usage: ./make-additions
# or
# bash make-additions
# Description: Build an ISO image out of a folder with "some" compatibility
# Author: Patrick Neumann (patrick@neumannsland.de)
# Platform: tested on Arch Linux
# Version: 1.0
# Date: 20.11.2019
# Link: https://...
# License: GPL3
# Warranty: This program is distributed WITHOUT ANY WARRANTY
# -l
# Allow full 31 character filenames.
#
# -J
# Generate Joliet directory records in addition to regular ISO-9660 file names.
#
# -R
# Generate SUSP and RR records using the Rock Ridge protocol to further describe the files on the ISO-9660 filesystem.
#
# -o filename
# is the name of the file to which the ISO-9660 filesystem image should be written.
ISO="drivers-and-tools.iso"
DIR="./drivers-and-tools"
mkisofs -lJR -o "${ISO}" "${DIR}"
exit 0