From: Ralph Ronnquist Date: Tue, 29 Oct 2024 21:31:48 +0000 (+1100) Subject: added mkrepoiso.sh script to pack media dir as iso X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=f9e4d0f1a8fad6fdddcda2c2430ead0b054d4aad;p=rrq%2Fbespoke-installer.git added mkrepoiso.sh script to pack media dir as iso --- diff --git a/mkrepoiso.sh b/mkrepoiso.sh new file mode 100755 index 0000000..8ab0578 --- /dev/null +++ b/mkrepoiso.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Make a repo ISO for an arch media + +if [ -z "$1" ] ; then + echo "Usage: " >&2 + exit 1 +fi + +xorriso -report_about ALL -outdev "$1-pool.iso" map $1/build/media / \ + -application_id "$1-pool" \ + -volid "$(date +%Y-%m-%d)" \ + -volset_id "devuan" \ + -publisher "bespoke" \ + -system_id "VOLS" \ + -uid 0 -gid 0