mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Don't copy libz and liblzo2 twice to the initrd
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
51bc82960a
commit
2c4db1a6cf
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ in
|
||||||
cp -v ${pkgs.btrfsProgs}/bin/btrfsck $out/bin
|
cp -v ${pkgs.btrfsProgs}/bin/btrfsck $out/bin
|
||||||
cp -v ${pkgs.btrfsProgs}/bin/btrfs $out/bin
|
cp -v ${pkgs.btrfsProgs}/bin/btrfs $out/bin
|
||||||
# !!! Increases uncompressed initrd by 240k
|
# !!! Increases uncompressed initrd by 240k
|
||||||
cp -v ${pkgs.zlib}/lib/libz.so.1{,.2.7} $out/lib
|
cp -pv ${pkgs.zlib}/lib/libz.so* $out/lib
|
||||||
cp -v ${pkgs.lzo}/lib/liblzo2.so.2{,.0.0} $out/lib
|
cp -pv ${pkgs.lzo}/lib/liblzo2.so* $out/lib
|
||||||
ln -sv btrfsck $out/bin/fsck.btrfs
|
ln -sv btrfsck $out/bin/fsck.btrfs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue