AK3: clear cow before logical partition replace or resize (#78)

This commit is contained in:
Captain Trips authored and GitHub committed 2023-05-04 13:36:15 -03:00
1 parent ba82924dab
commit 68564baf10
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -470,6 +470,8 @@ flash_generic() {
else
echo "Removing any existing $1_ak3..." >&2;
$bin/lptools_static remove $1_ak3;
echo "Clearing any merged cow partitions..." >&2;
$bin/lptools_static clear-cow;
echo "Attempting to create $1_ak3..." >&2;
if $bin/lptools_static create $1_ak3 $imgsz; then
echo "Replacing $1$slot with $1_ak3..." >&2;