mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +00:00
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:
parent
ec43a9d960
commit
82af7f2409
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user