diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-22 11:49:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-22 11:49:24 -0300 |
commit | f8e4dba78fb522cf908d33a1638e31b99bc5bbeb (patch) | |
tree | b1fb9721d13534648f12b3faeb13483d39871bbd /share/provision/desktop-basic | |
parent | 3e8eef830ee6d33503d203dae87c2bac4097fafa (diff) | |
download | kvmx-f8e4dba78fb522cf908d33a1638e31b99bc5bbeb.tar.gz kvmx-f8e4dba78fb522cf908d33a1638e31b99bc5bbeb.tar.bz2 |
Provision: desktop-basic: ensure qxl module is loaded by initramfs
Diffstat (limited to 'share/provision/desktop-basic')
-rwxr-xr-x | share/provision/desktop-basic | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/provision/desktop-basic b/share/provision/desktop-basic index 46c88fd..07579b3 100755 --- a/share/provision/desktop-basic +++ b/share/provision/desktop-basic @@ -52,6 +52,13 @@ $APT_INSTALL xpra lightdm firefox-esr chromium torbrowser-launcher sudo cp $DIRNAME/files/desktop-basic/etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf sudo cp $DIRNAME/files/desktop-basic/etc/default/keyboard /etc/default/keyboard +# Load qlx module during initramfs phase otherwise the X server might start +# before this module gets loaded, resulting in weird spice errors. +if ! grep -q qxl /etc/initramfs-tools/modules; then + echo qxl | sudo tee -a /etc/initramfs-tools/modules > /dev/null + sudo update-initramfs -u +fi + # User configuration mkdir -p $HOME/.custom |