diff options
| author | 2025-11-27 22:02:13 +0800 | |
|---|---|---|
| committer | 2025-11-27 22:02:13 +0800 | |
| commit | 0996328b7cec56717ea8c9fd905095b70facf38c (patch) | |
| tree | bde1a8010c09aba774b2398ce6b2171c17568c58 /config.sh | |
| parent | 093f4032b7da6daf0b85e1a57c945a3d9ad78a9e (diff) | |
| download | kiwi-descriptions-0996328b7cec56717ea8c9fd905095b70facf38c.tar.gz kiwi-descriptions-0996328b7cec56717ea8c9fd905095b70facf38c.zip | |
teams/cloud/container: create dotfiles under root folder with systemd-tmpfiles
Since`rootfiles` now uses systemd-tmpfiles to install dotfiles under
root folder instead of copying.
Diffstat (limited to 'config.sh')
| -rwxr-xr-x | config.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -219,6 +219,13 @@ chmod 600 /root/.ssh/authorized_keys chown -R root:root /root/.ssh fi +# https://bugzilla.redhat.com/show_bug.cgi?id=2356069 +if [[ "$kiwi_profiles" == *"Container"* ]] && [[ "$kiwi_profiles" != *"Init"* ]]; then + if [[ -f /usr/lib/tmpfiles.d/rootfiles.conf ]]; then + systemd-tmpfiles --create /usr/lib/tmpfiles.d/rootfiles.conf + fi +fi + if [[ "$kiwi_profiles" == *"Container"* ]] || [[ "$kiwi_profiles" == *"FEX"* ]]; then # Set install langs macro so that new rpms that get installed will # only install langs that we limit it to. |