* Enable FS translation to be enabled.
svn path=/nixpkgs/trunk/; revision=17375
This commit is contained in:
parent
27ada9a525
commit
46c576ad25
@ -4,12 +4,13 @@
|
|||||||
{ name ? "debian-build"
|
{ name ? "debian-build"
|
||||||
, diskImage
|
, diskImage
|
||||||
, src, stdenv, vmTools, checkinstall
|
, src, stdenv, vmTools, checkinstall
|
||||||
|
, fsTranslation ? false
|
||||||
, ... } @ args:
|
, ... } @ args:
|
||||||
|
|
||||||
vmTools.runInLinuxImage (stdenv.mkDerivation (
|
vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||||
|
|
||||||
{
|
{
|
||||||
doCheck = true;
|
#doCheck = true;
|
||||||
|
|
||||||
prefix = "/usr";
|
prefix = "/usr";
|
||||||
|
|
||||||
@ -53,7 +54,9 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
|||||||
eval "$preInstall"
|
eval "$preInstall"
|
||||||
export LOGNAME=root
|
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
|
ensureDir $out/debs
|
||||||
find . -name "*.deb" -exec cp {} $out/debs \;
|
find . -name "*.deb" -exec cp {} $out/debs \;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user