mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
sys-apps/systemd: Manually enable the getty service
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
This commit is contained in:
parent
0ffea1943b
commit
b6b6f60a69
@ -385,6 +385,10 @@ multilib_src_install_all() {
|
||||
systemd_enable_service multi-user.target systemd-resolved.service
|
||||
systemd_enable_service sysinit.target systemd-timesyncd.service
|
||||
|
||||
# enable getty manually
|
||||
mkdir --parents "${ED}/usr/lib/systemd/system/getty.target.wants"
|
||||
dosym ../getty@.service "/usr/lib/systemd/system/getty.target.wants/getty@tty1.service"
|
||||
|
||||
# Do not enable random services if /etc was detected as empty!!!
|
||||
rm "${ED}$(usex split-usr '' /usr)/lib/systemd/system-preset/90-systemd.preset" || die
|
||||
insinto $(usex split-usr '' /usr)/lib/systemd/system-preset
|
||||
|
Loading…
x
Reference in New Issue
Block a user