about summary refs log tree commit diff
path: root/nixos/lib/make-iso9660-image.sh
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12nixos/iso-image: extremely cursed performance optimization for HydraK9001-0/+5
Right now the worst case chain of events for building an ISO on Hydra is - copy everything to squashfs builder - run squashfs builder - download squashfs from builder - compress squashfs - upload squashfs to S3 - copy squashfs to ISO builder - run ISO builder - download ISO from builder - compress ISO - upload ISO to S3 This inlines the squashfs build into the ISO build, which makes it - copy everything to ISO builder - run ISO builder - download ISO from builder - compress ISO - upload ISO to S3 Which should reduce queue runner load by $alot per ISO, which we have four of on small channels (one release, one test per arch) and a lot more than four of on large channels (with various desktops)
2023-05-11make-iso9660-image: use `__structuredAttrs`Naïm Favier1-17/+8
Makes it easier to enable discarding of references, a feature of Nix 2.14 which requires structured attrs.
2022-01-05installer/cd-dvd/iso-image: avoid leaking build timestamps on non-x86Thomas Watson1-0/+1
2020-07-20make-iso9660-image: produce stable GPT disk GUIDArnout Engelen1-9/+5
By generating a version-5 GUID based on $out (which contains the derivation hash) and preventing isohybrid from overwriting the GPT table (which already is populated correctly by xorriso). Tested by: * booting from USB disk on a UEFI system * booting from USB disk on a non-UEFI system * booting from CD on a UEFI system * booting from CD on a non-UEFI system * booting from CD on an OSX system Also tested that "nix-build ./nixos/release-combined.nix -A nixos.iso_minimal.x86_64-linux -I nixpkgs=~/nixpkgs-r13y --check" now succeeds. Fixes #74047
2020-06-14images: remove original files when using zstd for compressionPavol Rusnak1-1/+1
2020-04-24iso-image: use zstd for compressionPavol Rusnak1-2/+7
2020-04-09Revert "Revert "iso-image: normalize volumeID""worldofpeace1-0/+1
This reverts commit 21b50e6f6879f22b9261362bfd6dce26b7611e18.
2020-04-09Revert "iso-image: normalize volumeID"worldofpeace1-1/+0
2020-03-27make-iso9660-image.sh: enable joliet extensionworldofpeace1-0/+1
This is per the advice of the osinfo-db maintainers https://gitlab.com/libosinfo/osinfo-db/-/merge_requests/107#note_313094852
2018-12-12installer: Adds AArch64 UEFI installer support.Samuel Dionne-Riel1-2/+3
2018-02-07ISO images: Initialize the Nix database with correct NAR hashes/sizesEelco Dolstra1-4/+3
The boot test now runs "nix verify" to ensure that all hashes are correct.
2016-03-15Combine ISO generation stepsEelco Dolstra1-0/+1
This folds adding hydra-build-products into the actual ISO generation, preventing an unnecessary download of the ISO.
2015-11-28Enable to create hybrid ISO without UEFI bootTimofei Kushnir1-1/+5
2015-03-24nixos: iso-image: filename escaping in xorrisoBob van der Linden1-11/+19
2015-03-24nixos: iso-image: use syslinux bootloader for USB booting supportBob van der Linden1-8/+40
This changes the bootloader for iso generation from Grub to syslinux. In addition this adds USB booting support, so that "dd" can be used to burn the generated ISO to USB thumbdrives instead of needing applications like UnetBootin.
2014-11-08Revert "nixos: iso-image: use syslinux bootloader for USB booting support"Luca Bruno1-40/+8
This reverts commit 455db168b30d53c903c96be80ef843b79e0744ae.
2014-11-02nixos: iso-image: use syslinux bootloader for USB booting supportBob van der Linden1-8/+40
This changes the bootloader for iso generation from Grub to syslinux. In addition this adds USB booting support, so that "dd" can be used to burn the generated ISO to USB thumbdrives instead of needing applications like UnetBootin.
2014-06-30Another attempt to eradicate ensureDirEelco Dolstra1-2/+2
See c556a6ea46e71e1907d78b71fab36df30297b3ad.
2013-10-10Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra1-0/+91