about summary refs log tree commit diff
path: root/nixos/lib/make-iso9660-image.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12nixos/iso-image: extremely cursed performance optimization for HydraK9001-2/+23
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-3/+3
Makes it easier to enable discarding of references, a feature of Nix 2.14 which requires structured attrs.
2020-11-18nixos: use nativeBuildInputs in make- iso9660-image and system-tarballEmery Hemingway1-1/+1
The tools used to create iso9660 images and tarballs are independent of the platform of the closure contained within.
2020-07-20make-iso9660-image: produce stable GPT disk GUIDArnout Engelen1-2/+2
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-09nixos/make-iso9660: fix zstd inputFinn Behrens1-1/+1
2020-04-24iso-image: use zstd for compressionPavol Rusnak1-2/+2
2019-10-18nixos/make-iso9660-image: Fix doc typoChuck1-1/+1
2019-10-18nixos/make-iso9660-image: Fix storeContents documentationChuck1-3/+3
`packages` was renamed to `storeContents` in 668c146e33291e933ccfb19fd39fab9cd2b7900d, but this comment describing its purpose was not updated to match.
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth1-1/+1
2018-02-07ISO images: Initialize the Nix database with correct NAR hashes/sizesEelco Dolstra1-5/+4
The boot test now runs "nix verify" to ensure that all hashes are correct.
2016-03-15Combine ISO generation stepsEelco Dolstra1-2/+1
This folds adding hydra-build-products into the actual ISO generation, preventing an unnecessary download of the ISO.
2016-03-07wheter → whetherProfpatsch1-1/+1
Nice weather today, isn’t it?
2015-03-24nixos: iso-image: use syslinux bootloader for USB booting supportBob van der Linden1-3/+10
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-10/+3
This reverts commit 455db168b30d53c903c96be80ef843b79e0744ae.
2014-11-02nixos: iso-image: use syslinux bootloader for USB booting supportBob van der Linden1-3/+10
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.
2013-10-10Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra1-0/+60