mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: rootfs: bunch'o'fixes, introduce disable_systemd_service_sdcard() to stop repeating incantantion
- fix a bunch of quoting issues - use runners for chroot stuff - don't error out of failed disable - makes building `sid` again possible - add a bunch of TODO's
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
desktop_postinstall() {
|
||||
|
||||
# disable display manager for the first run
|
||||
chroot_sdcard "systemctl --no-reload disable lightdm.service"
|
||||
chroot_sdcard "systemctl --no-reload disable gdm3.service"
|
||||
disable_systemd_service_sdcard lightdm.service
|
||||
disable_systemd_service_sdcard gdm3.service
|
||||
|
||||
# update packages index
|
||||
chroot_sdcard_apt_get "update"
|
||||
|
||||
# @TODO: rpardini: this is... missing from aggregation...?
|
||||
# install per board packages
|
||||
if [[ -n ${PACKAGE_LIST_DESKTOP_BOARD} ]]; then
|
||||
chroot_sdcard_apt_get_install "$PACKAGE_LIST_DESKTOP_BOARD"
|
||||
|
||||
Reference in New Issue
Block a user