Advertisement
Guest User

Untitled

a guest
Jul 4th, 2022
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.34 KB | None | 0 0
  1. # systemd_%.bbappend
  2. do_install_append() {
  3.     if ${@bb.utils.contains('DISTRO_FEATURES','disable_getty','true','false',d)}; then
  4.       # Disable getty starting at boot time if 'disable_getty' is enabled
  5.       sed -i -e "s/enable [email protected]/disable [email protected]/g" ${D}${systemd_unitdir}/system-preset/90-systemd.preset
  6.     fi
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement