diff --git a/live/9/x86_64/peridot/rocky-live-mate.ks b/live/9/x86_64/peridot/rocky-live-mate.ks index f842e27..5bb4105 100644 --- a/live/9/x86_64/peridot/rocky-live-mate.ks +++ b/live/9/x86_64/peridot/rocky-live-mate.ks @@ -9,6 +9,7 @@ part / --size 7168 %post # mate configuration +cat >> /etc/rc.d/init.d/livesys << EOF # make the installer show up if [ -f /usr/share/applications/liveinst.desktop ]; then # Show harddisk install in shell dash @@ -49,6 +50,8 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # reset selinux contexts chown -R liveuser:liveuser /home/liveuser/ restorecon -R /home/liveuser/ +restorecon -R / + EOF # this doesn't come up automatically. not sure why. diff --git a/live/9/x86_64/peridot/rocky-live-xfce.ks b/live/9/x86_64/peridot/rocky-live-xfce.ks index 072ace8..67abcf8 100644 --- a/live/9/x86_64/peridot/rocky-live-xfce.ks +++ b/live/9/x86_64/peridot/rocky-live-xfce.ks @@ -82,6 +82,7 @@ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.des # this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser +restorecon -R / EOF diff --git a/live/9/x86_64/prod/rocky-live-mate.ks b/live/9/x86_64/prod/rocky-live-mate.ks index f842e27..5bb4105 100644 --- a/live/9/x86_64/prod/rocky-live-mate.ks +++ b/live/9/x86_64/prod/rocky-live-mate.ks @@ -9,6 +9,7 @@ part / --size 7168 %post # mate configuration +cat >> /etc/rc.d/init.d/livesys << EOF # make the installer show up if [ -f /usr/share/applications/liveinst.desktop ]; then # Show harddisk install in shell dash @@ -49,6 +50,8 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # reset selinux contexts chown -R liveuser:liveuser /home/liveuser/ restorecon -R /home/liveuser/ +restorecon -R / + EOF # this doesn't come up automatically. not sure why. diff --git a/live/9/x86_64/prod/rocky-live-xfce.ks b/live/9/x86_64/prod/rocky-live-xfce.ks index 072ace8..67abcf8 100644 --- a/live/9/x86_64/prod/rocky-live-xfce.ks +++ b/live/9/x86_64/prod/rocky-live-xfce.ks @@ -82,6 +82,7 @@ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.des # this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser +restorecon -R / EOF diff --git a/live/9/x86_64/stage/rocky-live-mate.ks b/live/9/x86_64/stage/rocky-live-mate.ks index f842e27..5bb4105 100644 --- a/live/9/x86_64/stage/rocky-live-mate.ks +++ b/live/9/x86_64/stage/rocky-live-mate.ks @@ -9,6 +9,7 @@ part / --size 7168 %post # mate configuration +cat >> /etc/rc.d/init.d/livesys << EOF # make the installer show up if [ -f /usr/share/applications/liveinst.desktop ]; then # Show harddisk install in shell dash @@ -49,6 +50,8 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # reset selinux contexts chown -R liveuser:liveuser /home/liveuser/ restorecon -R /home/liveuser/ +restorecon -R / + EOF # this doesn't come up automatically. not sure why. diff --git a/live/9/x86_64/stage/rocky-live-xfce.ks b/live/9/x86_64/stage/rocky-live-xfce.ks index 072ace8..67abcf8 100644 --- a/live/9/x86_64/stage/rocky-live-xfce.ks +++ b/live/9/x86_64/stage/rocky-live-xfce.ks @@ -82,6 +82,7 @@ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.des # this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser +restorecon -R / EOF