summaryrefslogtreecommitdiff
path: root/scripts/build/binary_hdd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-xscripts/build/binary_hdd16
1 files changed, 4 insertions, 12 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index e7b5e1d76..efa0d9909 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -1,7 +1,7 @@
#!/bin/sh
## live-build(7) - System Build Scripts
-## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
+## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
@@ -50,15 +50,7 @@ case "${LB_BINARY_FILESYSTEM}" in
;;
ntfs)
- case "${LB_PARENT_DISTRIBUTION}" in
- squeeze)
- Check_package chroot/sbin/mkfs.ntfs ntfsprogs
- ;;
-
- *)
- Check_package chroot/sbin/mkfs.nfts ntfs-3g
- ;;
- esac
+ Check_package chroot/sbin/mkfs.nfts ntfs-3g
;;
esac
@@ -175,7 +167,7 @@ esac
case "${LB_BUILD_WITH_CHROOT}" in
true)
Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true
- Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100%" || true
+ Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
Chroot chroot "parted -s ${FREELO} set 1 boot on" || true
Chroot chroot "parted -s ${FREELO} set 1 lba off" || true
@@ -187,7 +179,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
false)
parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true
- parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100% || true
+ parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100% || true
parted -s "${FREELO}" set 1 boot on || true
parted -s "${FREELO}" set 1 lba off || true