#!/bin/bash
set -ex
cd /mnt/compose/9/Circle-9.7-20251121.1/compose/RT/source/iso
/usr/bin/xorrisofs -untranslated-filenames -volid Circle-9-7-RT-src -J -joliet-long -rational-rock -input-charset utf-8 -x ./lost+found -o Circle-9.7-20251121.1-RT-source-dvd1.iso -graft-points -path-list /mnt/compose/9/Circle-9.7-20251121.1/work/src/iso/Circle-9.7-20251121.1-RT-source-dvd1.iso-graft-points
/usr/bin/implantisomd5 --supported-iso Circle-9.7-20251121.1-RT-source-dvd1.iso
xorriso -dev Circle-9.7-20251121.1-RT-source-dvd1.iso --find |
            tail -n+2 |
            tr -d "'" |
            cut -c2- |
            sort >> Circle-9.7-20251121.1-RT-source-dvd1.iso.manifest
