• Anton Midyukov's avatar
    oem: add systemd.unit=setup.target to kernel cmdline · 79775b36
    Anton Midyukov authored
    If alterator-setup >= 4.0 it only runs when it detects
    'systemd.unit=setup.target' in /proc/cmdline.
    If alterator-setup version <= 4.0 there will be a problem in the
    form of the remaining argument 'systemd.unit=setup.target' in
    /proc/cmdline.
    79775b36
config.mk 1.25 KB
use/oem: use/services use/branding use/deflogin/root use/l10n
	@$(call add_feature)
	@$(call add,DEFAULT_SERVICES_ENABLE,messagebus alteratord)
	@$(call add,BASE_PACKAGES,alterator-setup alterator-notes)
	@$(call add,BASE_PACKAGES,rootfs-installer-features)
	@$(call add,PINNED_PACKAGES,rootfs-installer-features)
	@$(call add,THE_BRANDING,alterator notes)
	@$(call add,BASE_BOOTARGS,systemd.unit=setup.target)
	@$(call add,DEFAULT_SERVICES_ENABLE,$$(OEM_TARGET))
	@$(call xport,OEM_TARGET)
	@$(call xport,OEM_NO_CLEANUP)
	@$(call xport,OEM_STEPS)
	@$(call xport,OEM_INSTALL)

use/oem/vnc: use/oem
	@$(call add,BASE_PACKAGES,alterator-vnc)
	@$(call add,BASE_PACKAGES,x11vnc x11vnc-service xorg-drv-dummy)

use/oem/no-cleanup: use/oem
	@$(call set,OEM_NO_CLEANUP,yes)

use/oem/distro: use/oem
	@$(call try,OEM_STEPS,sysconfig notes-license datetime \
		preinstall net-eth root users setup-finish)
	@$(call add,BASE_PACKAGES,alterator-net-eth)
	@$(call add,BASE_PACKAGES,installer-common-stage3)

use/oem/install: use/oem use/repo/main
	@$(call set,OEM_INSTALL,yes)
	@$(call try,OEM_STEPS,sysconfig notes-license datetime pkg \
		preinstall net-eth root users setup-finish)
	@$(call add,BASE_PACKAGES,alterator-pkg alterator-net-eth)
	@$(call add,BASE_PACKAGES,installer-common-stage3)