aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-01-02 16:02:21 +0100
committer Eric Hameleers <alien@slackware.com>2017-01-02 16:02:21 +0100
commitc81ada6132a864362044641705efb4a8986bf26e (patch)
tree5d6cdbb2c3a26ae0e77b9a7df90faded1b8299d2
parent87f770523e1397209b93c5ac6f311f4ddeecc33f (diff)
downloadliveslak-dlack.tar.gz
liveslak-dlack.tar.xz
DLACK: improve first-boot experience.dlack
Disable two processes that consume time or are just annoying on first boot: - do not start gnome-initial-setup; - do not let systemd re-generate dynamic linker cache on boot.
-rwxr-xr-xmake_slackware_live.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index b58b795..7a073ee 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1627,6 +1627,14 @@ if [ "$LIVEDE" = "DLACK" ]; then
# Do not show the blueman applet, Gnome3 has its own BlueTooth widget:
echo "NotShowIn=GNOME;" >> ${LIVE_ROOTDIR}/etc/xdg/autostart/blueman.desktop
+ # Do not start gnome-initial-setup:
+ mkdir -p ${LIVE_ROOTDIR}/home/${LIVEUID}/.config
+ touch ${LIVE_ROOTDIR}/home/${LIVEUID}/.config/gnome-initial-setup-done
+
+ # Do not let systemd re-generate dynamic linker cache on boot:
+ echo "File created by ${MARKER}. See systemd-update-done.service(8)." \
+ |tee ${LIVE_ROOTDIR}/etc/.updated >${LIVE_ROOTDIR}/var/.updated
+
fi # End LIVEDE = DLACK
# You can define the function 'custom_config()' by uncommenting it in