From a12c2b9ea05a00d81edbb28a3b09d2081d9e66c2 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski-Górecki Date: Oct 08 2018 11:33:29 +0000 Subject: Use xorriso instead of genisoimage xorriso make the image reproducible (given the same input files), including support for SOURCE_DATE_EPOCH in various metadata. Signed-off-by: Marek Marczykowski-Górecki --- diff --git a/pungi.spec b/pungi.spec index 3b7806b..a85295b 100644 --- a/pungi.spec +++ b/pungi.spec @@ -40,7 +40,7 @@ Requires: jigdo Requires: cvs Requires: yum-utils Requires: isomd5sum -Requires: genisoimage +Requires: xorriso Requires: gettext Requires: syslinux Requires: git diff --git a/pungi/gather.py b/pungi/gather.py index 80bdce0..439c2f3 100644 --- a/pungi/gather.py +++ b/pungi/gather.py @@ -1740,7 +1740,7 @@ class Pungi(PungiBase): clean=True) # This is risky... # setup the base command - mkisofs = ['/usr/bin/mkisofs'] + mkisofs = ['/usr/bin/xorriso', '-as', 'mkisofs'] mkisofs.extend(['-v', '-U', '-J', '--joliet-long', '-R', '-T', '-m', 'repoview', '-m', 'boot.iso']) # common mkisofs flags x86bootargs = ['-b', 'isolinux/isolinux.bin', '-c', 'isolinux/boot.cat',