mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +00:00
container-toolbox: Fix typo between %pre and %post
The snippet to fix the /run/lock breakage and the lines following it were copied from the first %post section in fedora-container-base.ks. However, the %end marker to terminate the previous %pre section, and the starting %post marker went missing in fedora-container-toolbox.ks https://pagure.io/fedora-kickstarts/pull-request/993
This commit is contained in:
parent
0087ea3b3f
commit
f10385252a
@ -90,7 +90,9 @@ rm -f /mnt/sysimage/etc/rpm/macros.image-language-conf
|
||||
|
||||
# Remove 'tsflags=nodocs' line from dnf.conf
|
||||
sed -i '/tsflags=nodocs/d' /mnt/sysimage/etc/dnf/dnf.conf
|
||||
%end
|
||||
|
||||
%post --erroronfail --log=/root/anaconda-post.log
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
||||
# Fix /run/lock breakage since it's not tmpfs in docker
|
||||
# This unmounts /run (tmpfs) and then recreates the files
|
||||
|
Loading…
Reference in New Issue
Block a user