installer/cd-dvd/iso-image: avoid leaking build timestamps on non-x86

Changed files
+7 -7
nixos
lib
modules
installer
cd-dvd
+1
nixos/lib/make-iso9660-image.sh
···
# version-5 UUID's work)
xorriso="xorriso
-boot_image any gpt_disk_guid=$(uuid -v 5 daed2280-b91e-42c0-aed6-82c825ca41f3 $out | tr -d -)
+
-volume_date all_file_dates =$SOURCE_DATE_EPOCH
-as mkisofs
-iso-level 3
-volid ${volumeID}
+6 -7
nixos/modules/installer/cd-dvd/iso-image.nix
···
{ source = config.system.build.squashfsStore;
target = "/nix-store.squashfs";
}
-
{ source = config.isoImage.splashImage;
-
target = "/isolinux/background.png";
-
}
{ source = pkgs.writeText "version" config.system.nixos.label;
target = "/version.txt";
}
] ++ optionals canx86BiosBoot [
+
{ source = config.isoImage.splashImage;
+
target = "/isolinux/background.png";
+
}
{ source = pkgs.substituteAll {
name = "isolinux.cfg";
src = pkgs.writeText "isolinux.cfg-in" isolinuxCfg;
···
{ source = (pkgs.writeTextDir "grub/loopback.cfg" "source /EFI/boot/grub.cfg") + "/grub";
target = "/boot/grub";
}
+
{ source = config.isoImage.efiSplashImage;
+
target = "/EFI/boot/efi-background.png";
+
}
] ++ optionals (config.boot.loader.grub.memtest86.enable && canx86BiosBoot) [
{ source = "${pkgs.memtest86plus}/memtest.bin";
target = "/boot/memtest.bin";
···
] ++ optionals (config.isoImage.grubTheme != null) [
{ source = config.isoImage.grubTheme;
target = "/EFI/boot/grub-theme";
-
}
-
] ++ [
-
{ source = config.isoImage.efiSplashImage;
-
target = "/EFI/boot/efi-background.png";
}
];