From ba8878d3d8e5d3d98c753ee6e6fedf8219333fb5 Mon Sep 17 00:00:00 2001
From: Anton Midyukov <antohami@altlinux.org>
Date: Mon, 25 Sep 2023 09:56:28 +0700
Subject: [PATCH] desktop.mk: add target oem-install for check OEM mode install
 (without DE)

---
 conf.d/desktop.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/conf.d/desktop.mk b/conf.d/desktop.mk
index d6a4ca2b..32e6a868 100644
--- a/conf.d/desktop.mk
+++ b/conf.d/desktop.mk
@@ -11,4 +11,8 @@ distro/.desktop-network: distro/.desktop-mini mixin/desktop-installer; @:
 #distro/icewm: distro/.desktop-network use/lowmem use/install2/fs +icewm; @:
 #distro/ltsp-icewm: distro/icewm +ltsp; @:
 
+# check OEM mode install (without DE)
+distro/install-oem: distro/.regular-install-x11-systemd use/install2/oem
+	@$(call add,STAGE2_BOOTARGS,oem oem_initrd)
+
 endif
-- 
2.24.1