mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
* Fix some more paths in Xen, and make it use /etc/xen for its
configuration files. svn path=/nixpkgs/trunk/; revision=23821
This commit is contained in:
parent
fac8ff8d71
commit
fd538ef53d
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
dev86 iasl pciutils bzip2 xz
|
||||
];
|
||||
|
||||
makeFlags = "PREFIX=$(out)";
|
||||
makeFlags = "PREFIX=$(out) CONFIG_DIR=/etc";
|
||||
|
||||
buildFlags = "xen tools";
|
||||
|
||||
@ -49,12 +49,19 @@ stdenv.mkDerivation {
|
||||
# print the GCC version number properly.
|
||||
substituteInPlace xen/Makefile \
|
||||
--replace '$(CC) $(CFLAGS) -v' '$(CC) -v'
|
||||
|
||||
substituteInPlace tools/python/xen/xend/server/BlktapController.py \
|
||||
--replace /usr/sbin/tapdisk2 $out/sbin/tapdisk2
|
||||
|
||||
substituteInPlace tools/python/xen/xend/XendQCoWStorageRepo.py \
|
||||
--replace /usr/sbin/qcow-create $out/sbin/qcow-create
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
''
|
||||
cp -prvd dist/install/nix/store/* $out
|
||||
cp -prvd dist/install/boot $out/boot
|
||||
cp -prvd dist/install/etc $out/etc
|
||||
''; # */
|
||||
|
||||
postFixup =
|
||||
|
Loading…
Reference in New Issue
Block a user