* Only build aufs2 for kernels that have the requisite base/standalone
patch applied. svn path=/nixpkgs/trunk/; revision=22037
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
{ stdenv, fetchurl, kernel, perl }:
|
{ stdenv, fetchurl, kernel, perl }:
|
||||||
|
|
||||||
|
assert kernel.features ? aufsBase;
|
||||||
|
|
||||||
let version = "20100522"; in
|
let version = "20100522"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ in
|
|||||||
# standalone package.
|
# standalone package.
|
||||||
name = "aufs2";
|
name = "aufs2";
|
||||||
patch = ./aufs2.patch;
|
patch = ./aufs2.patch;
|
||||||
};
|
features.aufsBase = true;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user