From bbd9f3c0e810f58ae136a7b6eb2d4c3fb0672f7b 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://bugzilla.redhat.com/show_bug.cgi?id=2244503 https://pagure.io/fedora-kickstarts/pull-request/994 --- fedora-container-toolbox.ks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora-container-toolbox.ks b/fedora-container-toolbox.ks index df1d076..bb6bc63 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