feat: install_secureblue rebases to signed image if used on secureblue (#629)

This commit is contained in:
spaceoden
2024-12-01 21:01:15 +00:00
committed by GitHub
parent e3e985af67
commit f44ec21e2d

View File

@@ -76,6 +76,10 @@ image_name+="$additional_params-hardened"
rebase_command="rpm-ostree rebase ostree-unverified-registry:ghcr.io/secureblue/$image_name:latest"
if [ -n "$(rpm-ostree status | grep '● ostree-image-signed:docker://ghcr.io/secureblue/')" ] ; then
rebase_command="rpm-ostree rebase ostree-image-signed:docker://ghcr.io/secureblue/$image_name:latest"
fi
echo "Commands to execute:"
echo "$rebase_command"
echo ""