Skip to content

Instantly share code, notes, and snippets.

@Jokymon
Last active November 9, 2023 21:34
Show Gist options
  • Save Jokymon/147924c330263a1ba8a5 to your computer and use it in GitHub Desktop.
Save Jokymon/147924c330263a1ba8a5 to your computer and use it in GitHub Desktop.

To disable timesyncd in your Yocto build, create a *.bbappend recipe in your own layer called

recipes-core/systemd/systemd_216.bbappend

And add the following content

PACKAGECONFIG[timesyncd] = "--enable-timesyncd,--disable-timesyncd,timesyncd"

PACKAGECONFIG_remove = "timesyncd"
@skchande
Copy link

skchande commented Nov 9, 2023

Hi, I wanted to ask which version of yocto this works for. I am currently using kirkstone and get the following error message:

meson: error: unrecognized arguments: --disable-timesyncd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment