summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_usb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_binary_usb')
-rwxr-xr-xscripts/build/lb_binary_usb10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/lb_binary_usb b/scripts/build/lb_binary_usb
index 96feee499..228827dd0 100755
--- a/scripts/build/lb_binary_usb
+++ b/scripts/build/lb_binary_usb
@@ -51,12 +51,12 @@ Check_package chroot/sbin/parted parted
if [ "${LB_ARCHITECTURES}" = "sparc" ]
then
case "${LB_BINARY_FILESYSTEM}" in
- ext2|ext3)
- Check_package chroot/sbin/mkfs.ext2 e2fsprogs
+ ext2|ext3|ext4)
+ Check_package chroot/sbin/mkfs.${LB_BINARY_FILESYSTEM} e2fsprogs
;;
*)
- Echo_error "Sparc only supports booting from ext2, ext3 (or ufs)"
+ Echo_error "Sparc only supports booting from ext2, ext3, ext4 or ufs."
exit 1
;;
esac
@@ -128,7 +128,7 @@ case "${LB_ARCHITECTURES}" in
esac
case "${LB_BINARY_FILESYSTEM}" in
- ext2|ext3)
+ ext2|ext3|ext4)
PARTITION_TYPE="ext2"
;;
@@ -170,7 +170,7 @@ FREELO="$(${LB_LOSETUP} -f)"
Losetup $FREELO chroot/binary.img 1
case "${LB_BINARY_FILESYSTEM}" in
- ext2|ext3)
+ ext2|ext3|ext4)
MKFS="${LB_BINARY_FILESYSTEM}"
MKFS_OPTIONS="-L DEBIAN_LIVE -m 0"
;;