Eradicate gzip -9 without -n
This commit is contained in:
parent
6f858bab17
commit
f98df44ada
@ -326,7 +326,7 @@ in
|
|||||||
|
|
||||||
boot.initrd.compressor = mkOption {
|
boot.initrd.compressor = mkOption {
|
||||||
internal = true;
|
internal = true;
|
||||||
default = "gzip -9";
|
default = "gzip -9n";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = "The compressor to use on the initrd image.";
|
description = "The compressor to use on the initrd image.";
|
||||||
example = "xz";
|
example = "xz";
|
||||||
|
@ -16,7 +16,7 @@ installPhase() {
|
|||||||
mv $file ${file%.opt}
|
mv $file ${file%.opt}
|
||||||
done
|
done
|
||||||
|
|
||||||
find $out/man -type f -exec gzip -9 {} \;
|
find $out/man -type f -exec gzip -9n {} \;
|
||||||
|
|
||||||
find $out -name \*.a -exec echo stripping {} \; \
|
find $out -name \*.a -exec echo stripping {} \; \
|
||||||
-exec strip -S {} \;
|
-exec strip -S {} \;
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preBuild =
|
preBuild =
|
||||||
''
|
''
|
||||||
makeFlagsArray=(GZIP="${gzip}/bin/gzip -9 -c" prefix=$out mandir=$out/share/man/man8 man5dir=$out/share/man/man5 LIB=lib)
|
makeFlagsArray=(GZIP="${gzip}/bin/gzip -9n -c" prefix=$out mandir=$out/share/man/man8 man5dir=$out/share/man/man5 LIB=lib)
|
||||||
|
|
||||||
substituteInPlace multipath/Makefile --replace /etc $out/etc
|
substituteInPlace multipath/Makefile --replace /etc $out/etc
|
||||||
substituteInPlace kpartx/Makefile --replace /etc $out/etc
|
substituteInPlace kpartx/Makefile --replace /etc $out/etc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user