Skip to content
Snippets Groups Projects

[backport v2021 <- v2023dev3] sample-image-production: Write os-release before cleaning up root

All threads resolved!

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 (closed)

This is a backport of !533 (merged) (merged)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading