mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 18:31:54 +01:00
Merge pull request #400 from flatcar-linux/sayan/enable-getty-systemd
sys-apps/systemd: Manually enable the getty service
This commit is contained in:
commit
4fad288ad6
@ -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