#!/bin/bash
set -ex
cd /mnt/compose/10/Circle-10.1-20251205.1/compose/HighAvailability/ppc64le/iso
/usr/bin/xorrisofs -untranslated-filenames -volid Circle-10-1-ppc64le -J -joliet-long -rational-rock -x ./lost+found -o Circle-10.1-20251205.1-HighAvailability-ppc64le-dvd1.iso -graft-points -path-list /mnt/compose/10/Circle-10.1-20251205.1/work/ppc64le/iso/Circle-10.1-20251205.1-HighAvailability-ppc64le-dvd1.iso-graft-points
/usr/bin/implantisomd5 --supported-iso Circle-10.1-20251205.1-HighAvailability-ppc64le-dvd1.iso
xorriso -dev Circle-10.1-20251205.1-HighAvailability-ppc64le-dvd1.iso --find |
            tail -n+2 |
            tr -d "'" |
            cut -c2- |
            sort >> Circle-10.1-20251205.1-HighAvailability-ppc64le-dvd1.iso.manifest
