commit 5ee872a2ab32a625952aee6f046634868515fecd
parent 4d0a0374df9c47d8fafad5316c44f0466dee741a
Author: parazyd <parazyd@dyne.org>
Date: Thu, 25 Mar 2021 21:20:20 +0100
Fix cgpt typo.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zlibs/imaging b/zlibs/imaging
@@ -196,7 +196,7 @@ image_partition_gpt()
sudo cgpt add -i 1 -t kernel -b ${gpt_boot[1]} -s ${gpt_boot[2]} \
-l kernel -S 1 -T 5 -P 10 "$loopdevice" || { zerr; return 1; }
- sudo cgpd add -i 2 -t data -b ${gpt_root[1]} -s
+ sudo cgpt add -i 2 -t data -b ${gpt_root[1]} -s
$(expr $(cgpt show "$loopdevice" \
| awk '/Sec GPT table/ {print $1}') - ${gpt_root[1]}) \
-l Root "$loopdevice" || { zerr; return 1; }