From 46c576ad2580025c45be4b0c7612e960a2010e97 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 Sep 2009 20:10:39 +0000 Subject: [PATCH] * Enable FS translation to be enabled. svn path=/nixpkgs/trunk/; revision=17375 --- pkgs/build-support/release/debian-build.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/release/debian-build.nix b/pkgs/build-support/release/debian-build.nix index 8950c1d5db2..a8ceb575a0b 100644 --- a/pkgs/build-support/release/debian-build.nix +++ b/pkgs/build-support/release/debian-build.nix @@ -4,12 +4,13 @@ { name ? "debian-build" , diskImage , src, stdenv, vmTools, checkinstall +, fsTranslation ? false , ... } @ args: vmTools.runInLinuxImage (stdenv.mkDerivation ( { - doCheck = true; + #doCheck = true; prefix = "/usr"; @@ -53,7 +54,9 @@ vmTools.runInLinuxImage (stdenv.mkDerivation ( eval "$preInstall" export LOGNAME=root - ${checkinstall}/sbin/checkinstall --nodoc -y -D --fstrans=no make install + ${checkinstall}/sbin/checkinstall --nodoc -y -D \ + --fstrans=${if fsTranslation then "yes" else "no"} \ + make install ensureDir $out/debs find . -name "*.deb" -exec cp {} $out/debs \;