summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 3b13a254..978627c9 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -357,6 +357,7 @@ check_for_new_raid () {
do
echo "Creating data partition: /dev/${drive}${data_dev}"
size=$(get_drive_size $drive)
+ let size-=$part_start_offset
create_partitions "$drive" $size $part_start_offset "no"
sfdisk --change-id /dev/$drive $data_dev 0xfd
done