Skip to content

Conversation

@Jairaj-quic
Copy link
Contributor

Add time-services daemon recipe for syncing time from modem to APPS.

  • Add time-services_0.1.0.bb recipe using upstream v0.1.0 release
  • Service depends on QMI framework for modem communication

@Jairaj-quic Jairaj-quic force-pushed the time-services-feature branch from 9e0a7db to 5a42e26 Compare January 22, 2026 12:49
Add time-services daemon recipe for syncing time from modem to APPS.

- Add time-services_0.1.0.bb recipe using upstream v0.1.0 release
- Add systemd service file with RTC read-only device access
- Service depends on QMI framework for modem communication

Signed-off-by: Jairaj Solanki <jsolanki@qti.qualcomm.com>
@Jairaj-quic Jairaj-quic force-pushed the time-services-feature branch from 5a42e26 to f59d58e Compare January 22, 2026 12:56

inherit autotools pkgconfig systemd

EXTRA_OECONF = "--with-qmif-prefix=${STAGING_DIR_TARGET}${prefix}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code seems to be assuming the libs will always be in $prefix/lib and hardcodes path to headers. qmi-framework doesn't provide a .pc file?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in upstream, it is not providing .pc

LIC_FILES_CHKSUM = "file://LICENSE;md5=65b8cd575e75211d9d4ca8603167da1c"

SRC_URI = "git://github.com/quic/time-services.git;branch=main;protocol=https;tag=v${PV} \
file://time-daemon.service \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The service file should be a part of the source repo, please move it there.


do_install:append() {
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${UNPACKDIR}/time-daemon.service ${D}${systemd_system_unitdir}/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also should be done by the upstream too.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants