AK3: better backwards compatibility for keep_vbmeta_flag (unset=auto)
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -356,7 +356,7 @@ flash_boot() {
|
|||||||
none|cpio) nocompflag="-n";;
|
none|cpio) nocompflag="-n";;
|
||||||
esac;
|
esac;
|
||||||
case $keep_vbmeta_flag in
|
case $keep_vbmeta_flag in
|
||||||
auto) [ "$KEEPVBMETAFLAG" ] || export KEEPVBMETAFLAG=false;;
|
auto|"") [ "$KEEPVBMETAFLAG" ] || export KEEPVBMETAFLAG=false;;
|
||||||
1) export KEEPVBMETAFLAG=true;;
|
1) export KEEPVBMETAFLAG=true;;
|
||||||
*) export KEEPVBMETAFLAG=false;;
|
*) export KEEPVBMETAFLAG=false;;
|
||||||
esac;
|
esac;
|
||||||
|
|||||||
Reference in new issue
Block a user