Stick closely to upstream with the UBI image - 9 #8

Merged
label merged 3 commits from lumarel/kickstarts:ubi9-get-closer-to-upstream into r9 2023-05-09 17:47:35 +00:00
Showing only changes of commit 1e7a211eb7 - Show all commits

View File

@ -2,14 +2,14 @@
%packages --excludedocs --inst-langs=en --nocore --exclude-weakdeps
bash
binutils
brotli
coreutils-single
crypto-policies-scripts
dmidecode
curl-minimal
findutils
gdb-gdbserver
glibc-minimal-langpack
libcurl
gzip
libcurl-minimal
systemd
rocky-release
rootfiles
@ -40,6 +40,7 @@ yum
%end
%post --erroronfail --log=/root/anaconda-post.log
set -eux
# container customizations inside the chroot
# Stay compatible
@ -69,10 +70,15 @@ systemctl mask \
systemd-logind.service \
systemd-remount-fs.service
# Remove network configuration files leftover from anaconda installation
# https://bugzilla.redhat.com/show_bug.cgi?id=1713089
rm -f /etc/sysconfig/network-scripts/ifcfg-*
# Cleanup the image
rm -f /etc/udev/hwdb.bin
rm -rf /usr/lib/udev/hwdb.d/ \
/boot /var/lib/dnf/history.* \
/var/cache/* /var/log/* \
"/tmp/*" "/tmp/.*" || true