From f10385252a182094886465ad78db4cf35fbc504b Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 6 Oct 2023 02:46:35 +0200 Subject: [PATCH] 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 --- fedora-container-toolbox.ks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-container-toolbox.ks b/fedora-container-toolbox.ks index 0a97add..9b0d624 100644 --- a/fedora-container-toolbox.ks +++ b/fedora-container-toolbox.ks @@ -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