* 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}
|
||||
EOF
|
||||
|
||||
mkdir -p -m 0700 $out
|
||||
|
||||
chmod +x ./run-vm
|
||||
source ./run-vm
|
||||
|
||||
@ -602,7 +604,7 @@ rec {
|
||||
|
||||
installPhase = ''
|
||||
eval "$preInstall"
|
||||
|
||||
|
||||
ensureDir $out/$outDir
|
||||
find $rpmout -name "*.rpm" -exec cp {} $out/$outDir \;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user