Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-02-03 10:58:01 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-02-03 10:58:01 -0300
commitc593c2bd2418c865dc289f8fccd81a1631e9b191 (patch)
tree2f766e277e328006baf8e34948589d76ff017590 /archiso
parent0720ac9bd4ee82d924f6c0e568aa4477297772d1 (diff)
[archiso] Avoid full path in add_binary
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/install/archiso8
-rw-r--r--archiso/install/archiso_pxe_http2
-rw-r--r--archiso/install/archiso_pxe_nbd3
3 files changed, 7 insertions, 6 deletions
diff --git a/archiso/install/archiso b/archiso/install/archiso
index db0fc3a..25eccea 100644
--- a/archiso/install/archiso
+++ b/archiso/install/archiso
@@ -6,10 +6,10 @@ build ()
FILES=""
add_binary /lib/udev/cdrom_id
- add_binary /sbin/blockdev
- add_binary /sbin/dmsetup
- add_binary /sbin/losetup
- add_binary /bin/mountpoint
+ add_binary blockdev
+ add_binary dmsetup
+ add_binary losetup
+ add_binary mountpoint
add_file /lib/udev/rules.d/60-cdrom_id.rules
add_file /lib/udev/rules.d/10-dm.rules
diff --git a/archiso/install/archiso_pxe_http b/archiso/install/archiso_pxe_http
index a636f3b..38a8ee5 100644
--- a/archiso/install/archiso_pxe_http
+++ b/archiso/install/archiso_pxe_http
@@ -7,7 +7,7 @@ build ()
FILES=""
SCRIPT="archiso_pxe_http"
- add_binary "/usr/bin/curl"
+ add_binary curl
}
help ()
diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd
index 4227623..747e5b9 100644
--- a/archiso/install/archiso_pxe_nbd
+++ b/archiso/install/archiso_pxe_nbd
@@ -7,7 +7,8 @@ build ()
FILES=""
SCRIPT="archiso_pxe_nbd"
- add_binary "/usr/sbin/nbd-client" "/bin/nbd-client"
+ add_binary nbd-client
+
add_file "/lib/initcpio/archiso_pxe_nbd" "/archiso_pxe_nbd"
}