summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorLucas Affonso Xavier de Morais2014-08-21 19:16:45 +0200
committerMichael Pereira Neves2014-10-28 14:14:49 +0100
commita177e6c101586bb89a8d6c642b891aa071f65674 (patch)
tree8ae46a0c792ae8d2be06bf7aa50234b67a7d95e3 /remote/modules
parent[partitioner] setup_partitions adapted to work with GPT (need some tests) (diff)
downloadtm-scripts-a177e6c101586bb89a8d6c642b891aa071f65674.tar.gz
tm-scripts-a177e6c101586bb89a8d6c642b891aa071f65674.tar.xz
tm-scripts-a177e6c101586bb89a8d6c642b891aa071f65674.zip
[partitioner] setup_partitions using GPT types and SLX_PARTITION_TABLE, lacking default configuration and some tests.
Diffstat (limited to 'remote/modules')
-rwxr-xr-xremote/modules/partitioner/partitioner.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/partitioner/partitioner.sh b/remote/modules/partitioner/partitioner.sh
index bc7fac84..118d420a 100755
--- a/remote/modules/partitioner/partitioner.sh
+++ b/remote/modules/partitioner/partitioner.sh
@@ -238,7 +238,7 @@ if [ $SLX_PARTITION_TYPE = 'GPT' ]; then
for (( i = 1; i < $COUNTER; i++ )); do
if [ $i -ne 4 ]; then
if [ ${PARTTBL["$SLX_CHOOSEN_DISK$i/exists"]} = 0 ]; then
- CMD=$CMD" -u "$i":"${PARTTBL["$SLX_CHOOSEN_DISK$i/id"]}"000000-0000-0000-0000-000000000000"
+ CMD=$CMD" -t "$i":"${PARTTBL["$SLX_CHOOSEN_DISK$i/id"]}"000000-0000-0000-0000-000000000000"
fi
CMD=$CMD" -c "$i":\""${PARTTBL["$SLX_CHOOSEN_DISK$i/mountpoint"]}"\""
fi