Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_pxe_nbd
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-15 22:28:53 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-16 16:37:04 -0300
commita29776e452f846e4e9ffb840d39ee8f729d561d6 (patch)
treedc3601eb766f485a112cce3738c6ced6300ab3b3 /archiso/install/archiso_pxe_nbd
parentcbfa68ccaba72a22b56fbac6cf8cd9e6e2781888 (diff)
[hooks/archiso_pxe_nbd] Refactor, remove sed usage.
* ipconfig cmd writes a file in /tmp that is ready for direct evaluation. We can use this instead of parsing the output, to do this some variable renames are needed. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/install/archiso_pxe_nbd')
-rw-r--r--archiso/install/archiso_pxe_nbd2
1 files changed, 2 insertions, 0 deletions
diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd
index 69a12ce..c26648c 100644
--- a/archiso/install/archiso_pxe_nbd
+++ b/archiso/install/archiso_pxe_nbd
@@ -12,6 +12,8 @@ build ()
FILES=""
SCRIPT="archiso_pxe_nbd"
+ add_dir /tmp
+
add_binary "/usr/sbin/nbd-client" "/bin/nbd-client"
add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"