Fix initrd breaking by recent repeatable-builds changes
See the comments at f67015cae4
for more information.
Please note: this makes initrd unrepeatable again, but most people will prefer that above an unbootable system.
This commit is contained in:
parent
5a3fa7f88f
commit
b21853f255
@ -11,9 +11,6 @@ my $IN = \*STDIN;
|
|||||||
my $ino = 1;
|
my $ino = 1;
|
||||||
$cpio->read_with_handler($IN, sub {
|
$cpio->read_with_handler($IN, sub {
|
||||||
my ($e) = @_;
|
my ($e) = @_;
|
||||||
$e->{inode} = $ino;
|
|
||||||
$ino++;
|
|
||||||
$e->{nlink} = 1;
|
|
||||||
$e->{mtime} = 1;
|
$e->{mtime} = 1;
|
||||||
$cpio->write_one(\*STDOUT, $e);
|
$cpio->write_one(\*STDOUT, $e);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user