Unverified Commit cb9274d4 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Allocate

parent cc304d97
Loading
Loading
Loading
Loading
+8 −16
Original line number Diff line number Diff line
@@ -108,12 +108,6 @@ echo "Install: Creating partition table..."
SYSTEM="$TMP/sys.img"
SYSTEM_SIZE="4954537983"

if [ "$ALLOCATE" != "Y" ]; then

  truncate -s "${SYSTEM_SIZE}" "${SYSTEM}"; 

else

# Check free diskspace
SPACE=$(df --output=avail -B 1 "$TMP" | tail -n 1)

@@ -126,8 +120,6 @@ else
  echo "ERROR: Could not allocate a file for the system disk." && exit 88
fi

fi

PART="$TMP/partition.fdisk"

{	echo "label: dos"