Don't copy libz and liblzo2 twice to the initrd

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-05-14 23:35:10 -04:00
parent 51bc82960a
commit 2c4db1a6cf

View file

@ -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
''; '';