I think using systemd-conf to solve your original problem is more
reasonable.
After all, the extra rootfs space is very small.
Also, BAD_RECOMMENDATIONS is not supported well for deb package backend.
poky/meta/classes-recipe/rootfs_deb.bbclass: bb.warn("Debian package
install does not support BAD_RECOMMENDATIONS")
Regards,
Qi
On 2/8/23 15:38, Alexander Kanavin wrote:
On Wed, 8 Feb 2023 at 08:13, Peter Marko <[email protected]> wrote:
One alternative we considered was via systemd-conf, but binaries still
occupy space in rootfs which is not desirable for some devices:
ln -sf /dev/null ${D}${sysconfdir}/systemd/system/systemd-timesyncd.service
On the other hand it's only a single line of code, instead of doubling
the ways systemd services can be packaged, chosen via a global,
publicly documented variable. When you are writing new code paths,
consider the ever-growing maintenance burden, always, please.
I'm leaning towards installing the services, but not starting them approach.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#176895):
https://lists.openembedded.org/g/openembedded-core/message/176895
Mute This Topic: https://lists.openembedded.org/mt/96825676/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-