You need to sign in or sign up before continuing.
  • 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
=== features.in/oem ===

Эта фича обеспечивает автоматический запуск предварительной настройки,
характерный для OEM-образов.

Дефолтные шаги определяются в файле /etc/alterator-setup/steps.
Его дефолтное содержание:
sysconfig
notes-license
datetime
root
users
setup-finish

Для переопределения списка шагов используйте переменную OEM_STEPS.
Пример:
цель: use/oem
	@$(call set,OEM_STEPS,sysconfig notes-license datetime setup-finish)

Список доступных шагов для alterator-setup находится в
/usr/share/alterator/steps/