* For some reason Samba insists on setting the g+w bit on newly
created directories, which is a security risk. So create $out with the proper permissions before starting the VM. svn path=/nixpkgs/trunk/; revision=27095
This commit is contained in:
parent
077fd0a77c
commit
aa5646ff3b
@ -274,6 +274,8 @@ rec {
|
|||||||
${qemuCommand}
|
${qemuCommand}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
mkdir -p -m 0700 $out
|
||||||
|
|
||||||
chmod +x ./run-vm
|
chmod +x ./run-vm
|
||||||
source ./run-vm
|
source ./run-vm
|
||||||
|
|
||||||
@ -602,7 +604,7 @@ rec {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
eval "$preInstall"
|
eval "$preInstall"
|
||||||
|
|
||||||
ensureDir $out/$outDir
|
ensureDir $out/$outDir
|
||||||
find $rpmout -name "*.rpm" -exec cp {} $out/$outDir \;
|
find $rpmout -name "*.rpm" -exec cp {} $out/$outDir \;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user