Commit fac87182 authored by Michael Shigorin's avatar Michael Shigorin

initial oem feature

This is an experimental and known incomplete support for the system configuration that has to be done at the first boot-up by its user since it's their choice. This draft uses systemd which has been a requirement :-/ Thanks sem@ for helping out with the somewhat tricky unit file for alterator-setup.
parent 7f6947fd
Эта фича обеспечивает автоматический запуск предварительной настройки,
характерный для OEM-образов.
use/oem: use/services use/branding
@$(call add_feature)
@$(call add,DEFAULT_SERVICES_ENABLE,messagebus alteratord setup)
@$(call add,THE_PACKAGES,alterator-setup alterator-notes)
@$(call add,THE_BRANDING,alterator notes)
#!/bin/sh
# this breaks the default configuration on intent
# so that alterator-setup can run predictably
TARGET=/lib/systemd/system/setup.target
[ ! -s "$TARGET" ] ||
ln -s "$TARGET" /etc/systemd/system/default.target
echo "LANG=en_US.utf-8" >> /etc/sysconfig/i18n
:
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