mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-01-22 19:16:19 +07:00
Fix lightdm issue for ubuntu
This commit is contained in:
parent
bf37ded22f
commit
12d48c4b5b
@ -567,7 +567,7 @@ case $1 in
|
||||
prepare_board &
|
||||
|
||||
# add usb quirks
|
||||
add_usb_storage_quirks &
|
||||
# add_usb_storage_quirks &
|
||||
|
||||
# branch naming workaround
|
||||
branch_naming_workaround &
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user