1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-25 16:43:08 +00:00

Nonexistent /run/nologin should not fail compose

If the file was not present, the command would fail and the compose
would not proceed.

This is currently blocking container base image generation for ELN.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2022-01-21 16:02:50 -05:00
parent fc62a6121f
commit e686ccb4e9
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m # [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
# #
umount /run umount /run
rm /run/nologin # https://pagure.io/atomic-wg/issue/316 rm -f /run/nologin # https://pagure.io/atomic-wg/issue/316
# Final pruning # Final pruning
rm -rfv /var/cache/* /var/log/* /tmp/* rm -rfv /var/cache/* /var/log/* /tmp/*

View File

@ -44,7 +44,7 @@ printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m # [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
# #
umount /run umount /run
rm /run/nologin # https://pagure.io/atomic-wg/issue/316 rm -f /run/nologin # https://pagure.io/atomic-wg/issue/316
# Final pruning # Final pruning
rm -rfv /var/cache/* /var/log/* /tmp/* rm -rfv /var/cache/* /var/log/* /tmp/*