Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/hooks
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-08-26 04:39:03 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-08-28 04:07:04 -0300
commit100a9c80cfbc38b73243aeab170bdc9b4075583f (patch)
tree418ed88414ad27f73ccaa6e0ae6b36b837e818a6 /archiso/hooks
parent334239280062b114bdc4feddade177f70ed7bb03 (diff)
[archiso] Change location of nbd_client.pid
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/hooks')
-rw-r--r--archiso/hooks/archiso_pxe_nbd3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiso/hooks/archiso_pxe_nbd b/archiso/hooks/archiso_pxe_nbd
index 588e033..3fe988a 100644
--- a/archiso/hooks/archiso_pxe_nbd
+++ b/archiso/hooks/archiso_pxe_nbd
@@ -89,6 +89,7 @@ archiso_pxe_nbd_mount_handler () {
msg "::: Disconnect NBD from ${nbdserver} at /dev/nbd0"
nbd-client -d /dev/nbd0
else
- pidof nbd-client > /run/nbd_client.pid
+ mkdir -p /run/archiso
+ pidof nbd-client > /run/archiso/nbd_client.pid
fi
}