build: shim-v2: Ensure MEASURED_ROOTFS is exported

The approach taken for now is to export MEASURED_ROOTFS=yes on the
workflow files for the architectures using confidential stuff, and leave
the "normal" build without having it set (to avoid any change of
expectation on the current bevahiour).

Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
Fabiano Fidêncio 2024-10-23 17:42:56 +02:00
parent 9c8b20b2bf
commit d537932e66
No known key found for this signature in database
GPG Key ID: EE926C2BDACC177B
3 changed files with 3 additions and 0 deletions

View File

@ -248,6 +248,7 @@ jobs:
ARTEFACT_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
TARGET_BRANCH: ${{ inputs.target-branch }}
RELEASE: ${{ inputs.stage == 'release' && 'yes' || 'no' }}
MEASURED_ROOTFS: yes
- name: store-artifact shim-v2
uses: actions/upload-artifact@v4

View File

@ -264,6 +264,7 @@ jobs:
ARTEFACT_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
TARGET_BRANCH: ${{ inputs.target-branch }}
RELEASE: ${{ inputs.stage == 'release' && 'yes' || 'no' }}
MEASURED_ROOTFS: yes
- name: store-artifact shim-v2
uses: actions/upload-artifact@v4

View File

@ -821,6 +821,7 @@ install_shimv2() {
export GO_VERSION
export RUST_VERSION
export MEASURED_ROOTFS
DESTDIR="${destdir}" PREFIX="${prefix}" "${shimv2_builder}"
}