mkimage-profiles/features.in/oem/rootfs/image-scripts.d/99-oem-setup
Michael Shigorin fac87182c9 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.
2013-07-01 23:33:52 +04:00

13 lines
273 B
Bash
Executable File

#!/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
: