[archiso] Avoid full path in add_binary
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
0720ac9bd4
commit
c593c2bd24
@ -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
|
||||||
|
@ -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 ()
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user