-
Notifications
You must be signed in to change notification settings - Fork 178
recipes-support: Add time-services recipe #1425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
recipes-support: Add time-services recipe #1425
Conversation
9e0a7db to
5a42e26
Compare
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>
5a42e26 to
f59d58e
Compare
|
|
||
| inherit autotools pkgconfig systemd | ||
|
|
||
| EXTRA_OECONF = "--with-qmif-prefix=${STAGING_DIR_TARGET}${prefix}" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 \ |
There was a problem hiding this comment.
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}/ |
There was a problem hiding this comment.
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.
Add time-services daemon recipe for syncing time from modem to APPS.