forked from sig_core/kickstarts
add missing restorecon ops
This commit is contained in:
parent
089e5afd35
commit
bdd0c84fdb
@ -9,6 +9,7 @@ part / --size 7168
|
|||||||
%post
|
%post
|
||||||
# mate configuration
|
# mate configuration
|
||||||
|
|
||||||
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
# make the installer show up
|
# make the installer show up
|
||||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||||
# Show harddisk install in shell dash
|
# Show harddisk install in shell dash
|
||||||
@ -49,6 +50,8 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|||||||
# reset selinux contexts
|
# reset selinux contexts
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
restorecon -R /
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# this doesn't come up automatically. not sure why.
|
# this doesn't come up automatically. not sure why.
|
||||||
|
@ -82,6 +82,7 @@ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.des
|
|||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
chown -R liveuser:liveuser /home/liveuser
|
||||||
restorecon -R /home/liveuser
|
restorecon -R /home/liveuser
|
||||||
|
restorecon -R /
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ part / --size 7168
|
|||||||
%post
|
%post
|
||||||
# mate configuration
|
# mate configuration
|
||||||
|
|
||||||
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
# make the installer show up
|
# make the installer show up
|
||||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||||
# Show harddisk install in shell dash
|
# Show harddisk install in shell dash
|
||||||
@ -49,6 +50,8 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|||||||
# reset selinux contexts
|
# reset selinux contexts
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
restorecon -R /
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# this doesn't come up automatically. not sure why.
|
# this doesn't come up automatically. not sure why.
|
||||||
|
@ -82,6 +82,7 @@ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.des
|
|||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
chown -R liveuser:liveuser /home/liveuser
|
||||||
restorecon -R /home/liveuser
|
restorecon -R /home/liveuser
|
||||||
|
restorecon -R /
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ part / --size 7168
|
|||||||
%post
|
%post
|
||||||
# mate configuration
|
# mate configuration
|
||||||
|
|
||||||
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
# make the installer show up
|
# make the installer show up
|
||||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||||
# Show harddisk install in shell dash
|
# Show harddisk install in shell dash
|
||||||
@ -49,6 +50,8 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|||||||
# reset selinux contexts
|
# reset selinux contexts
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
restorecon -R /
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# this doesn't come up automatically. not sure why.
|
# this doesn't come up automatically. not sure why.
|
||||||
|
@ -82,6 +82,7 @@ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.des
|
|||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
chown -R liveuser:liveuser /home/liveuser
|
||||||
restorecon -R /home/liveuser
|
restorecon -R /home/liveuser
|
||||||
|
restorecon -R /
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user