Fixes the gnome-terminal not launching bug

This commit is contained in:
Bruce Leidl 2018-02-20 19:59:28 -05:00
parent ce57256aaf
commit dce6fc6d5f

View File

@ -61,6 +61,13 @@ install_packages() {
dpkg -l
}
post_install_packages() {
# Otherwise gnome-terminal won't work if nothing else has been launched
# see 'enable-linger' in loginctl(1)
mkdir /var/lib/systemd/linger
touch /var/lib/systemd/linger/user
}
set -u
set -e