Message ID | 20230208071251.5412-1-peter.marko@siemens.com |
---|---|
Headers | show |
Series | systemd: split timesync and networkd to packages | expand |
On Wed, 8 Feb 2023 at 08:13, Peter Marko <peter.marko@siemens.com> 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
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 <peter.marko@siemens.com> 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 (#176893): https://lists.openembedded.org/g/openembedded-core/message/176893 > Mute This Topic: https://lists.openembedded.org/mt/96825676/7304865 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Qi.Chen@eng.windriver.com] > -=-=-=-=-=-=-=-=-=-=-=- >