3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib
Dan Peebles f5b3f2c5a7 make-disk-iamge: use faketime to get a consistent timestamp
This fixes #28768 because during an image build, Nix sees bad store
timestamps and attempts to fix them, but can't fix them on a running
system (due to being inside a builder). Since timestamps on the store
are supposed to be 1 anyway, if we fix this, that fixes image building
inside booted images made this way.

Note that this adds quite a bit of noise to the output, because running
`cptofs` under `faketime` causes a bunch of seemingly spurious error
messages and my attempts to suppress them all failed. We'll fix it when
`cptofs` gets a native timestamp preservation feature.
2017-11-10 05:15:37 +00:00
..
test-driver Revert "nixos/test-instrumentation: softcode DISPLAY" 2017-11-08 17:04:39 +00:00
build-vms.nix Use only one build of qemu in VM tests 2016-12-20 10:52:46 +01:00
eval-config.nix eval-config.nix: configuration->configuration.nix 2017-01-04 19:15:47 +01:00
from-env.nix
make-channel.nix Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
make-disk-image.nix make-disk-iamge: use faketime to get a consistent timestamp 2017-11-10 05:15:37 +00:00
make-ext4-fs.nix make-ext4-fs: Fix modification timestamps in image 2017-07-29 22:03:43 +03:00
make-iso9660-image.nix Combine ISO generation steps 2016-03-15 14:15:12 +01:00
make-iso9660-image.sh Combine ISO generation steps 2016-03-15 14:15:12 +01:00
make-squashfs.nix Tune mksquashfs for smaller isos. 2016-12-28 16:07:16 +01:00
make-system-tarball.nix
make-system-tarball.sh make-system-tarball.sh: use numeric uids 2017-01-01 06:03:05 +01:00
qemu-flags.nix
testing.nix nixos: Fix output path generation of runInMachine 2017-10-11 20:08:11 +02:00
utils.nix nixos: generalize copy-paste from stage-1 and zfs to utils 2016-08-23 18:14:06 +00:00