* Libvirt keeps state (such as information about running VMs) in
$(sysconfdir). So this needs to be /etc rather than $out/etc. No wonder libvirt forgot about my VMs every time it got upgraded... (I guess it should really be /var, but that's upstream's decision.) svn path=/nixpkgs/branches/modular-python/; revision=26643
This commit is contained in:
parent
50ae7ab689
commit
8844b1545a
@ -23,9 +23,9 @@ stdenv.mkDerivation {
|
||||
PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${udev}/sbin:$PATH
|
||||
'';
|
||||
|
||||
configureFlags = "--localstatedir=/var --with-init-script=redhat";
|
||||
configureFlags = "--localstatedir=/var --sysconfdir=/etc --with-init-script=redhat";
|
||||
|
||||
installFlags = "localstatedir=$(TMPDIR)/var";
|
||||
installFlags = "localstatedir=$(TMPDIR)/var sysconfdir=$(out)/etc";
|
||||
|
||||
postInstall =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user