add missing restorecon ops
This commit is contained in:
parent
089e5afd35
commit
bdd0c84fdb
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user