> Is there documentation on how to set this up ?

Please, try this:

https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/bbb-releases/bbb-dunfell/local.conf

This is the systemd addendum in my BBB Dunfell local.conf :

## Add systemd service
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_dev_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""

With systemd added, you'll inherit timedatectl tool.

Best Regards,
Zoran
_______

On Tue, Sep 29, 2020 at 5:57 PM Monsees, Steven C (US) via
lists.yoctoproject.org
<steven.monsees=baesystems....@lists.yoctoproject.org> wrote:
>
>
> Is there documentation on how to set this up ?
>
> -----Original Message-----
> From: yocto@lists.yoctoproject.org [mailto:yocto@lists.yoctoproject.org] On 
> Behalf Of Quentin Schulz
> Sent: Tuesday, September 29, 2020 11:53 AM
> To: Monsees, Steven C (US) <steven.mons...@baesystems.com>
> Cc: yocto@lists.yoctoproject.org
> Subject: Re: [yocto] #yocto #linux #systemd Having issues building command 
> line utilities: ntpq, timedatectl, and ntpstat into kernel image
>
> *** WARNING ***
> EXTERNAL EMAIL -- This message originates from outside our organization.
>
>
> Hi Steve,
>
> On Tue, Sep 29, 2020 at 08:45:56AM -0700, Monsees, Steven C (US) via 
> lists.yoctoproject.org wrote:
> > I currently have "ntpq" building and installing correctly...
> >
> > Can someone tell me what it takes to get the "timedatectl" command utility 
> > built into Yocto kernel image ?
> >
> > I see it referenced in both :
> >
> > openembedded-core/meta/recipes-core/systemd/systemd_234.bb:                
> > ${bindir}/timedatectl \
> > poky/meta/recipes-core/systemd/systemd_234.bb:                
> > ${bindir}/timedatectl \
> >
>
> It comes with systemd. Use it as your init system and then you'll have the 
> command.
>
> Quentin
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#50889): https://lists.yoctoproject.org/g/yocto/message/50889
Mute This Topic: https://lists.yoctoproject.org/mt/77180295/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Mute #systemd:https://lists.yoctoproject.org/g/yocto/mutehashtag/systemd
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to