fedora-live-lxqt: Add dracut-config-generic for generating live media

Use dracut-config-generic to make the live media boot on more machines.

Signed-off-by: Zamir SUN <sztsian@gmail.com>
This commit is contained in:
Zamir SUN 2019-10-12 14:43:20 +08:00
parent ec43a9d960
commit 82af7f2409

View File

@ -11,6 +11,9 @@
%include fedora-live-minimization.ks
%include fedora-lxqt-common.ks
%packages
dracut-config-generic
%post
# add initscript
cat >> /etc/rc.d/init.d/livesys << EOF
@ -41,6 +44,8 @@ FOE
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
dnf -y remove dracut-config-generic
# make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/