From 8a14c8d8864bda6e8270af9630df90abbaa12cd8 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Mon, 3 Jul 2006 22:40:56 +0000 Subject: [PATCH] wel also want to use our own gzip svn path=/nixu/trunk/; revision=5565 --- make-disk.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make-disk.sh b/make-disk.sh index 603402c6343..fd6152fd2e8 100755 --- a/make-disk.sh +++ b/make-disk.sh @@ -13,6 +13,7 @@ gnused=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).gnused' | $NIX/nix-instan gnutar=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).gnutar' | $NIX/nix-instantiate -)) cdrtools=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).cdrtools' | $NIX/nix-instantiate -)) coreutils=$($NIX/nix-store -q $(echo '(import ./pkgs.nix).coreutils' | $NIX/nix-instantiate -)) +gzip=$($NIX/nix-store -q $(echo '(import ./pkgs.nix).gzip' | $NIX/nix-instantiate -)) archivesDir=$($mktemp/bin/mktemp -d) manifest=${archivesDir}/MANIFEST @@ -248,7 +249,7 @@ $coreutils/bin/cp -fau --parents ${modutils}/sbin ${initdir} $coreutils/bin/touch ${archivesDir}/NIXOS -(cd ${initdir}; find . |cpio -H newc -o) | gzip -9 > ${initrd} +(cd ${initdir}; find . |cpio -H newc -o) | $gzip/bin/gzip -9 > ${initrd} $coreutils/bin/chmod -f -R +w ${initdir}/* $coreutils/bin/rm -rf ${initdir}