Verified Commit f3fadc2f authored by Dan Johansen's avatar Dan Johansen
Browse files

[buildarmimg] disable greetd for OEM setup when installing sway profile

parent e8e5ff33
......@@ -104,6 +104,7 @@ Default package destination is `/var/cache/manjaro-arm-tools/pkg/`.
* mate
* xfce
* i3
* sway
* gnome (experimental)
* cubocore (not complete yet)
* server (not complete yet, unmaintained)
......
......@@ -250,6 +250,8 @@ create_rootfs_img() {
if [[ "$EDITION" = "mate" ]] || [[ "$EDITION" = "mate-fta" ]] || [[ "$EDITION" = "i3" ]] || [[ "$EDITION" = "xfce" ]]; then
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH systemctl disable lightdm.service 1> /dev/null 2>&1
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH usermod --expiredate= lightdm 1> /dev/null 2>&1
elif [[ "$EDITION" = "sway" ]]; then
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH systemctl disable greetd.service 1> /dev/null 2>&1
elif [[ "$EDITION" = "minimal" ]] || [[ "$EDITION" = "server" ]] || [[ "$EDITION" = "plasma-mobile" ]] || [[ "$EDITION" = "plasma-mobile-dev" ]]; then
echo "No display manager to disable in $EDITION..."
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment