mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +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:
parent
fc62a6121f
commit
e686ccb4e9
@ -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/*
|
||||||
|
@ -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/*
|
||||||
|
Loading…
Reference in New Issue
Block a user