[archiso] Avoid full path in add_binary

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2012-02-03 10:58:01 -03:00
parent 0720ac9bd4
commit c593c2bd24
3 changed files with 7 additions and 6 deletions

View File

@ -6,10 +6,10 @@ build ()
FILES="" FILES=""
add_binary /lib/udev/cdrom_id add_binary /lib/udev/cdrom_id
add_binary /sbin/blockdev add_binary blockdev
add_binary /sbin/dmsetup add_binary dmsetup
add_binary /sbin/losetup add_binary losetup
add_binary /bin/mountpoint add_binary mountpoint
add_file /lib/udev/rules.d/60-cdrom_id.rules add_file /lib/udev/rules.d/60-cdrom_id.rules
add_file /lib/udev/rules.d/10-dm.rules add_file /lib/udev/rules.d/10-dm.rules

View File

@ -7,7 +7,7 @@ build ()
FILES="" FILES=""
SCRIPT="archiso_pxe_http" SCRIPT="archiso_pxe_http"
add_binary "/usr/bin/curl" add_binary curl
} }
help () help ()

View File

@ -7,7 +7,8 @@ build ()
FILES="" FILES=""
SCRIPT="archiso_pxe_nbd" 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" add_file "/lib/initcpio/archiso_pxe_nbd" "/archiso_pxe_nbd"
} }