Fix debug mode for partitioning
This commit is contained in:
parent
26f33725b0
commit
f66338305d
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ function prepare_disk() {
|
|||
fi
|
||||
|
||||
if [[ "$ENCRYPTION" ]]; then
|
||||
parted "$RootDisk" --script --align=optimal -- "$RootDisk" \
|
||||
${cmd} parted "$RootDisk" --script --align=optimal -- "$RootDisk" \
|
||||
mklabel gpt \
|
||||
mkpart primary 1MiB 100MiB \
|
||||
mkpart primary 100MiB 2048MiB \
|
||||
|
@ -65,7 +65,7 @@ function prepare_disk() {
|
|||
#mkfs.ext4 -L "Boot" -m 0 "$EFIPart"
|
||||
#mkfs.btrfs -L "System" "$RootPart"
|
||||
else
|
||||
parted "$RootDisk" --script --align=optimal -- "$RootDisk" \
|
||||
${cmd} parted "$RootDisk" --script --align=optimal -- "$RootDisk" \
|
||||
mklabel gpt \
|
||||
mkpart primary 1MiB 100MiB \
|
||||
mkpart primary 100MiB -2048s \
|
||||
|
|
Loading…
Reference in a new issue