Commit graph

3 commits

Author SHA1 Message Date
Timothée Ravier
3b190aff6c common: Setup read only sysroot via ostree config 2024-06-11 10:36:44 +02:00
Timothée Ravier
d085e9fecc postprocess: Workaround for Python timestamp mismatch
Python mtime timestamp logic does not work well with ostree force 0
mtime.

Use a small script to post-process all compiled '.pyc' and force the
timestamp to 0.

See: https://github.com/ostreedev/ostree/issues/1469

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2024-04-12 17:39:08 +02:00
Timothée Ravier
30894f26a5 common: Move sysroot RO script to postprocess-script
Bash Heredoc in inline YAML string is tricky. Use an independent
post-process script instead.

Fixes: 5bbc140 Revert "Revert "common: Add readonly sysroot migration unit and script""
2022-08-19 21:46:21 +02:00