chore(just): fix ujust update recipe on fresh boot after installs (#271)

* fix(just): ujust update broken after install

* comment about the workaround

Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>

---------

Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
This commit is contained in:
inffy 2026-09-03 16:09:56 +00:00 committed by GitHub
parent 1a1d640689
commit 15117ef2b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,9 @@ update:
elif [[ "${IS_OSTREE}" == "true" ]]; then
# Without password would be nice
# https://github.com/bootc-dev/bootc/issues/409
STATUS=$(sudo bootc status --json | jq ".status")
# https://github.com/get-aurora-dev/common/issues/270
# bootc status can might prefix the output from `mount`
STATUS=$(sudo bootc status --json | sed -n '/^{/,$p' | jq ".status")
STAGED_INCOMPAT=$(echo "${STATUS}" | jq ".staged.incompatible")
BOOTED_INCOMPAT=$(echo "${STATUS}" | jq ".booted.incompatible")