summaryrefslogtreecommitdiff
path: root/build_files
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-09-11 17:57:19 +0800
committertranch <tranch.xiao@gmail.com>2026-09-11 17:57:19 +0800
commit305ab714399a343e6fd9eeeb18d7b210b2903bad (patch)
tree5fc232667cda760917b6fd7b81e054a93d93f0a6 /build_files
parentbb6bc344477d55748033c286db707d75ab9c954c (diff)
downloadAeroCore-OS-305ab714399a343e6fd9eeeb18d7b210b2903bad.tar.gz
AeroCore-OS-305ab714399a343e6fd9eeeb18d7b210b2903bad.zip
Fix generated brh jq field accesstesting-44.20260911.4
Diffstat (limited to 'build_files')
-rwxr-xr-xbuild_files/patch-bazzite-rollback-helper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/patch-bazzite-rollback-helper.sh b/build_files/patch-bazzite-rollback-helper.sh
index eb4341f..e944d17 100755
--- a/build_files/patch-bazzite-rollback-helper.sh
+++ b/build_files/patch-bazzite-rollback-helper.sh
@@ -17,7 +17,7 @@ patched_file=$(mktemp)
awk '
/^signing_scheme\(\) \{/ {
print "signing_scheme() {"
- print " local current=$(rpm-ostree status -b --json | jq -r '\''.deployments | map(select(.booted == true)) | first | .["container-image-reference"] // empty'\'')"
+ print " local current=$(rpm-ostree status -b --json | jq -r '\''.deployments | map(select(.booted == true)) | first | .[\"container-image-reference\"] // empty'\'')"
print " local scheme=\"ostree-unverified-registry\""
print " [[ \"$current\" == *\"ostree-image-signed\"* ]] && scheme=\"ostree-image-signed\""
print " echo \"$scheme:docker://\""
@@ -25,7 +25,7 @@ awk '
print ""
print "current_image_prefix() {"
print " local current"
- print " current=$(rpm-ostree status -b --json | jq -r '\''.deployments | map(select(.booted == true)) | first | .["container-image-reference"] // empty'\'')"
+ print " current=$(rpm-ostree status -b --json | jq -r '\''.deployments | map(select(.booted == true)) | first | .[\"container-image-reference\"] // empty'\'')"
print " if [[ -z \"$current\" ]]; then"
print " echo \"Unable to determine the current booted image reference.\" >&2"
print " return 1"