From b21853f2550db54a9494e51bc51274a23e54a57f Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Fri, 11 Apr 2014 23:20:49 +0200 Subject: [PATCH] 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. --- pkgs/build-support/kernel/cpio-clean.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/build-support/kernel/cpio-clean.pl b/pkgs/build-support/kernel/cpio-clean.pl index de38dee49f0d..ddc6435a5a81 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); });