Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
commitf44ef7d798ff0b70ac0d40bf1ebb5ba53b9c5513 (patch)
treeb2ec6b8763506e6ab7553fc5dffa39bebdd44501
parent24bb012f60e8490e975c8f419a39c5e3d58e9c04 (diff)
[archiso] Avoid full path in add_binary
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-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"
}