forked from sig_core/kickstarts
Fixes for systemd in el8 anaconda.. it's required, for reasons
This commit is contained in:
parent
507d629cff
commit
7d4785d5ae
@ -29,8 +29,9 @@ binutils
|
|||||||
coreutils-single
|
coreutils-single
|
||||||
glibc-minimal-langpack
|
glibc-minimal-langpack
|
||||||
hostname
|
hostname
|
||||||
iputils
|
iputils # this pulls in systemd, lets ask for it by name, too
|
||||||
less
|
less
|
||||||
|
systemd
|
||||||
rocky-release
|
rocky-release
|
||||||
rootfiles
|
rootfiles
|
||||||
tar
|
tar
|
||||||
|
@ -27,6 +27,7 @@ autopart --noboot --nohome --noswap --nolvm --fstype=ext4
|
|||||||
bash
|
bash
|
||||||
coreutils-single
|
coreutils-single
|
||||||
glibc-minimal-langpack
|
glibc-minimal-langpack
|
||||||
|
systemd
|
||||||
microdnf
|
microdnf
|
||||||
rocky-release
|
rocky-release
|
||||||
|
|
||||||
@ -81,6 +82,15 @@ for dir in $(ls -d "/usr/share/{locale,i18n}/*" | grep -v 'en_US\|all_languages\
|
|||||||
umount /run
|
umount /run
|
||||||
systemd-tmpfiles --create --boot
|
systemd-tmpfiles --create --boot
|
||||||
|
|
||||||
|
# mask mounts and login bits
|
||||||
|
systemctl mask \
|
||||||
|
console-getty.service \
|
||||||
|
dev-hugepages.mount \
|
||||||
|
getty.target \
|
||||||
|
sys-fs-fuse-connections.mount \
|
||||||
|
systemd-logind.service \
|
||||||
|
systemd-remount-fs.service
|
||||||
|
|
||||||
# Cleanup the image
|
# Cleanup the image
|
||||||
rm -f /etc/udev/hwdb.bin
|
rm -f /etc/udev/hwdb.bin
|
||||||
rm -rf /usr/lib/udev/hwdb.d/ \
|
rm -rf /usr/lib/udev/hwdb.d/ \
|
||||||
|
@ -33,6 +33,7 @@ dmidecode
|
|||||||
findutils
|
findutils
|
||||||
glibc-minimal-langpack
|
glibc-minimal-langpack
|
||||||
libcurl
|
libcurl
|
||||||
|
systemd
|
||||||
rocky-release
|
rocky-release
|
||||||
rootfiles
|
rootfiles
|
||||||
tar
|
tar
|
||||||
|
Loading…
Reference in New Issue
Block a user