mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
uncomment unused stuff
This commit is contained in:
parent
1bc0231260
commit
ea4d891778
118
leaves/ld.cfg
118
leaves/ld.cfg
@ -35,68 +35,68 @@
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
# disable gnome-software automatically downloading updates
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||
[org.gnome.software]
|
||||
download-updates=false
|
||||
FOE
|
||||
# # disable gnome-software automatically downloading updates
|
||||
# cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||
# [org.gnome.software]
|
||||
# download-updates=false
|
||||
# FOE
|
||||
#
|
||||
# # don't autostart gnome-software session service
|
||||
# rm -f /etc/xdg/autostart/gnome-software-service.desktop
|
||||
|
||||
# don't autostart gnome-software session service
|
||||
rm -f /etc/xdg/autostart/gnome-software-service.desktop
|
||||
# # disable the gnome-software shell search provider
|
||||
# cat >> /usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini << FOE
|
||||
# DefaultDisabled=true
|
||||
# FOE
|
||||
|
||||
# disable the gnome-software shell search provider
|
||||
cat >> /usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini << FOE
|
||||
DefaultDisabled=true
|
||||
FOE
|
||||
|
||||
# don't run gnome-initial-setup
|
||||
mkdir ~liveuser/.config
|
||||
touch ~liveuser/.config/gnome-initial-setup-done
|
||||
# # don't run gnome-initial-setup
|
||||
# mkdir ~liveuser/.config
|
||||
# touch ~liveuser/.config/gnome-initial-setup-done
|
||||
|
||||
# suppress anaconda spokes redundant with gnome-initial-setup
|
||||
cat >> /etc/sysconfig/anaconda << FOE
|
||||
[NetworkSpoke]
|
||||
visited=1
|
||||
# cat >> /etc/sysconfig/anaconda << FOE
|
||||
# [NetworkSpoke]
|
||||
# visited=1
|
||||
#
|
||||
# [PasswordSpoke]
|
||||
# visited=1
|
||||
#
|
||||
# [UserSpoke]
|
||||
# visited=1
|
||||
# FOE
|
||||
|
||||
[PasswordSpoke]
|
||||
visited=1
|
||||
|
||||
[UserSpoke]
|
||||
visited=1
|
||||
FOE
|
||||
|
||||
# make the installer show up
|
||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||
# Show harddisk install in shell dash
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
||||
# need to move it to anaconda.desktop to make shell happy
|
||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['firefox.desktop', 'org.gnome.Calendar.desktop', 'rhythmbox.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||
FOE
|
||||
|
||||
# Make the welcome screen show up
|
||||
if [ -f /usr/share/anaconda/gnome/fedora-welcome.desktop ]; then
|
||||
mkdir -p ~liveuser/.config/autostart
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
||||
fi
|
||||
|
||||
# Disable GNOME welcome tour so it doesn't overlap with Fedora welcome screen
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
welcome-dialog-last-shown-version='4294967295'
|
||||
FOE
|
||||
|
||||
# Copy Anaconda branding in place
|
||||
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
||||
cp -a /usr/share/lorax/product/* /
|
||||
fi
|
||||
fi
|
||||
## make the installer show up
|
||||
#if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||
# # Show harddisk install in shell dash
|
||||
# sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
||||
# # need to move it to anaconda.desktop to make shell happy
|
||||
# mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||
#
|
||||
# cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
# [org.gnome.shell]
|
||||
# favorite-apps=['firefox.desktop', 'org.gnome.Calendar.desktop', 'rhythmbox.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||
# FOE
|
||||
#
|
||||
# # Make the welcome screen show up
|
||||
# if [ -f /usr/share/anaconda/gnome/fedora-welcome.desktop ]; then
|
||||
# mkdir -p ~liveuser/.config/autostart
|
||||
# cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
||||
# cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
||||
# fi
|
||||
#
|
||||
# # Disable GNOME welcome tour so it doesn't overlap with Fedora welcome screen
|
||||
# cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
# welcome-dialog-last-shown-version='4294967295'
|
||||
# FOE
|
||||
#
|
||||
# # Copy Anaconda branding in place
|
||||
# if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
||||
# cp -a /usr/share/lorax/product/* /
|
||||
# fi
|
||||
# fi
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
# glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# set up auto-login
|
||||
cat > /etc/gdm/custom.conf << FOE
|
||||
@ -106,9 +106,9 @@ AutomaticLogin=liveuser
|
||||
FOE
|
||||
|
||||
# Turn off PackageKit-command-not-found while uninstalled
|
||||
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||
fi
|
||||
# if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
||||
# sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||
# fi
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
@ -116,4 +116,4 @@ restorecon -R /home/liveuser/
|
||||
|
||||
EOF
|
||||
|
||||
%end
|
||||
%end # End of the %post section
|
Loading…
Reference in New Issue
Block a user