Added display manager to example configuration
This commit is contained in:
parent
2c382cd3c3
commit
4a909dec38
@ -10,6 +10,7 @@ CLEAN_LEVEL="make,debs,oldcache" # comma-separated list of clean targets: "make"
|
||||
# "oldcache" = remove old cached rootfs except for the newest 6 files
|
||||
|
||||
DEST_LANG="en_US.UTF-8" # sl_SI.UTF-8, en_US.UTF-8
|
||||
DISPLAY_MANAGER="nodm" # "nodm" = autologin, "lightdm" = standard login manager. Affect desktop targets only.
|
||||
|
||||
# advanced
|
||||
KERNEL_KEEP_CONFIG="no" # do not overwrite kernel config before compilation
|
||||
|
||||
@ -50,7 +50,7 @@ install_desktop ()
|
||||
fi
|
||||
|
||||
# Choose display manager
|
||||
if [[ $DISPLAY_MANAGER == yes ]]; then chroot $SDCARD /bin/bash -c "apt-get install -qq -y --no-install-recommends lightdm-gtk-greeter lightdm"; \
|
||||
if [[ $DISPLAY_MANAGER == lightdm ]]; then chroot $SDCARD /bin/bash -c "apt-get install -qq -y --no-install-recommends lightdm-gtk-greeter lightdm"; \
|
||||
else chroot $SDCARD /bin/bash -c "apt-get install -qq -y --no-install-recommends nodm"; fi
|
||||
|
||||
# Disable desktop mode autostart for now to enforce creation of normal user account
|
||||
|
||||
Loading…
Reference in New Issue
Block a user