summaryrefslogtreecommitdiff
path: root/scripts/build/binary_hdd
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 18:08:09 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 18:19:47 +0100
commitfdc9250bca7bfce660758d77af2ffa971bc19ecb (patch)
tree81a0ce184d4791742031f6cbc53f30c80883ed68 /scripts/build/binary_hdd
parent691305c11ea59ddf64faff5f778658914e7c6be7 (diff)
downloadvyos-live-build-fdc9250bca7bfce660758d77af2ffa971bc19ecb.tar.gz
vyos-live-build-fdc9250bca7bfce660758d77af2ffa971bc19ecb.zip
Changing package dependency checks within chroot to work outside as well.
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-xscripts/build/binary_hdd14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 90cd3e9d0..0e08b9e79 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -46,22 +46,22 @@ Create_lockfile .lock
# Checking depends
case "${LB_BINARY_FILESYSTEM}" in
fat*)
- Check_package chroot/sbin/mkdosfs dosfstools
+ Check_package chroot /sbin/mkdosfs dosfstools
;;
ntfs)
- Check_package chroot/sbin/mkfs.nfts ntfs-3g
+ Check_package chroot /sbin/mkfs.nfts ntfs-3g
;;
esac
-Check_package chroot/usr/share/doc/mtools mtools
-Check_package chroot/sbin/parted parted
+Check_package chroot /usr/share/doc/mtools mtools
+Check_package chroot /sbin/parted parted
if [ "${LB_ARCHITECTURES}" = "sparc" ]
then
case "${LB_BINARY_FILESYSTEM}" in
ext2|ext3|ext4)
- Check_package chroot/sbin/mkfs.${LB_BINARY_FILESYSTEM} e2fsprogs
+ Check_package chroot /sbin/mkfs.${LB_BINARY_FILESYSTEM} e2fsprogs
;;
*)
@@ -73,7 +73,7 @@ fi
case "${LB_BOOTLOADER}" in
grub)
- Check_package chroot/usr/sbin/grub grub
+ Check_package chroot /usr/sbin/grub grub
;;
syslinux)
@@ -89,7 +89,7 @@ case "${LB_BOOTLOADER}" in
exit 1
;;
esac
- Check_package chroot/usr/bin/${_BOOTLOADER} ${_BOOTLOADER}
+ Check_package chroot /usr/bin/${_BOOTLOADER} ${_BOOTLOADER}
;;
esac