You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
We have related issues #378 and #379 but I think this deserves it's own issue.
While working on QAT image reproducible builds I discovered a problem with ${SWUPD_UPDATE_ARG}: The value is reset before it's used. The documentation confirms this:
An ARG instruction goes out of scope at the end of the build stage where it was defined. To use an arg in multiple stages, each stage must include the ARG instruction.
This means swupd update never gets to use the locked version:
Step 8/42 : RUN echo "version ${SWUPD_UPDATE_ARG}" && swupd update ${SWUPD_UPDATE_ARG} && swupd bundle-add ${NDCTL_BUILD_DEPS} go-basic-dev && rm -rf /var/lib/swupd
---> Running in 385297cac894
version
Update started.
Preparing to update from 30650 to 30700
Downloading packs for:
The text was updated successfully, but these errors were encountered:
Thanks, @mythi for finding this, So redefining ARG SWUPD_UPDATE_ARG in each build stage should fix the problem right? I found an interesting discussion related to this: moby/moby#34129
We have related issues #378 and #379 but I think this deserves it's own issue.
While working on QAT image reproducible builds I discovered a problem with
${SWUPD_UPDATE_ARG}
: The value is reset before it's used. The documentation confirms this:This means
swupd update
never gets to use the locked version:The text was updated successfully, but these errors were encountered: