sample-image-production: Write os-release before cleaning up root
The /etc/os-release file is edited in the chroot environment (chroot: true), but that chroot env cannot be accessed after the "Reset rootfs before deploying OSTree" step (chroot is failing because /etc/resolv.conf is missing) It also makes sense to edit /etc/os-release before running the "OSTree commit" step to include the correct /etc/os-release in the ostree commit. So the editing of /etc/os-release ("Customize image version metadata" step) is moved right before that. Fixes: apertis-issues#151 Signed-off-by:Detlev Casanova <detlev.casanova@collabora.com>
parent
35195158
No related branches found
No related tags found
Pipeline #409834 passed
Stage: build-env
Stage: preparation
Stage: ospack build
Stage: ostree commit
Stage: firmware extraction
Stage: installer image build
Stage: apt image build
Stage: ostree image build
Stage: ostree bundle build
Stage: ostree rollbackbundle build
Stage: sysroot build
Stage: artifacts upload
Stage: sysroot metadata upload
Stage: installer upload
Stage: firmware upload
Stage: ostree hawkbit upload
Stage: ostree push
Stage: submit tests
Please register or sign in to comment