mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-27 02:56:42 +07:00
Fix lightdm issue for ubuntu
This commit is contained in:
@@ -746,6 +746,7 @@ install_distribution_specific()
|
||||
|
||||
# by using default lz4 initrd compression leads to corruption, go back to proven method
|
||||
sed -i "s/^COMPRESS=.*/COMPRESS=gzip/" "${SDCARD}"/etc/initramfs-tools/initramfs.conf
|
||||
echo -e "\n[Install]\nWantedBy=multi-user.target" >> "${SDCARD}"/lib/systemd/system/lightdm.service
|
||||
|
||||
# cleanup motd services and related files
|
||||
chroot "${SDCARD}" /bin/bash -c "systemctl disable motd-news.service >/dev/null 2>&1"
|
||||
|
||||
Reference in New Issue
Block a user