From f9e4d0f1a8fad6fdddcda2c2430ead0b054d4aad Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 30 Oct 2024 08:31:48 +1100 Subject: [PATCH] added mkrepoiso.sh script to pack media dir as iso --- mkrepoiso.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 mkrepoiso.sh 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 -- 2.39.2