Skip to content

Commit

Permalink
Merge pull request #757 from kernelkit/rauc-compatible2
Browse files Browse the repository at this point in the history
Use INFIX_COMPATIBLE also for aux partition's rauc.status
  • Loading branch information
wkz authored Oct 24, 2024
2 parents b81407e + a1771ff commit 1aa5169
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions board/common/post-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ common=$(dirname "$(readlink -f "$0")")
# shellcheck disable=SC1091
. "$TARGET_DIR/etc/os-release"

load_cfg INFIX_ID
# The INFIX_* variables may be composed from BR2_* variables,
# so we source them last.
load_cfg BR2_ARCH
load_cfg BR2_DEFCONFIG
load_cfg BR2_EXTERNAL_INFIX_PATH
load_cfg BR2_TARGET_ROOTFS
load_cfg INFIX_ID
load_cfg INFIX_COMPATIBLE

# The default IMAGE_ID is infix-$BR2_ARCH but can be overridden
# for imaage names, and compat strings, like infix-r2s
Expand Down Expand Up @@ -39,7 +42,7 @@ if [ "$SIGN_ENABLED" = "y" ]; then
$common/sign.sh $BR2_ARCH $SIGN_KEY

ixmsg "Creating RAUC Update Bundle"
$common/mkrauc.sh "$NAME$(ver)" $NAME $SIGN_KEY
$common/mkrauc.sh "$NAME$(ver)" $INFIX_COMPATIBLE $SIGN_KEY
fi

load_cfg DISK_IMAGE
Expand Down

0 comments on commit 1aa5169

Please sign in to comment.