2022-11-29

disable systemd service in yocto?

in file meta-xxx/recipes-core/systemd/systemd_%.bbappend

do_configure_append() {

  #disabling autostart of systemd-timesyncd      sed -i -e "s/enable systemd-timesyncd.service/disable systemd-timesyncd.service/g" ${S}/presets/90-systemd.preset    #disabling autostart of systemd-resolved      sed -i -e "s/enable systemd-resolved.service/disable systemd-resolved.service/g" ${S}/presets/90-systemd.preset  }

댓글 없음:

댓글 쓰기

도커 내부의 hosts에 주소 추가하기

echo "192.168.10.19 happycpu-P620.local" | sudo tee -a /etc/hosts