summary refs log tree commit diff
path: root/pkgs/build-support/kernel
diff options
context:
space:
mode:
authorMathijs Kwik <mathijs@bluescreen303.nl>2014-04-11 23:20:49 +0200
committerMathijs Kwik <mathijs@bluescreen303.nl>2014-04-12 00:06:30 +0200
commitb21853f2550db54a9494e51bc51274a23e54a57f (patch)
tree61af7b24c42a5aaa2518ad54fc273c8acd44e0bf /pkgs/build-support/kernel
parent5a3fa7f88f2fe10eddecb708b0b9c559eda841b4 (diff)
downloadnixpkgs-b21853f2550db54a9494e51bc51274a23e54a57f.tar
nixpkgs-b21853f2550db54a9494e51bc51274a23e54a57f.tar.gz
nixpkgs-b21853f2550db54a9494e51bc51274a23e54a57f.tar.bz2
nixpkgs-b21853f2550db54a9494e51bc51274a23e54a57f.tar.lz
nixpkgs-b21853f2550db54a9494e51bc51274a23e54a57f.tar.xz
nixpkgs-b21853f2550db54a9494e51bc51274a23e54a57f.tar.zst
nixpkgs-b21853f2550db54a9494e51bc51274a23e54a57f.zip
Fix initrd breaking by recent repeatable-builds changes
See the comments at https://github.com/NixOS/nixpkgs/commit/f67015cae49400eba539b9ec8b9920643581c77c
for more information.

Please note: this makes initrd unrepeatable again, but most people will prefer that above an unbootable system.
Diffstat (limited to 'pkgs/build-support/kernel')
-rw-r--r--pkgs/build-support/kernel/cpio-clean.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/build-support/kernel/cpio-clean.pl b/pkgs/build-support/kernel/cpio-clean.pl
index de38dee49f0..ddc6435a5a8 100644
--- a/pkgs/build-support/kernel/cpio-clean.pl
+++ b/pkgs/build-support/kernel/cpio-clean.pl
@@ -11,9 +11,6 @@ my $IN = \*STDIN;
 my $ino = 1;
 $cpio->read_with_handler($IN, sub {
         my ($e) = @_;
-        $e->{inode} = $ino;
-        $ino++;
-        $e->{nlink} = 1;
         $e->{mtime} = 1;
 	$cpio->write_one(\*STDOUT, $e);
     });