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