Skip to content

Commit

Permalink
Fixing issue in partitions A/B boot logic (b selected instead of new a)
Browse files Browse the repository at this point in the history
  • Loading branch information
davdiv committed Apr 17, 2024
1 parent 564499c commit aaa48ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alpine/abpartitions/bootParts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const abpartitionsGrubPartition = async ({
insmod all_video
set envfile=(${grubDiskDevice},gpt${grubEnvPartitionIndex})/${grubEnvPath}
load_env --file $envfile buildahcker_stable buildahcker_new
if [ ( $buildahcker_new == b ) -o ( $buildahcker_stable == b ) ] ; then
if [ ( $buildahcker_new == b ) -o ( ( $buildahcker_new != a ) -a ( $buildahcker_stable == b ) ) ] ; then
set default=b
set fallback=a
else
Expand Down

0 comments on commit aaa48ec

Please sign in to comment.