On Mon, 10 Jan 2022 at 21:33, Peter Kjellerstedt < peter.kjellerst...@axis.com> wrote:
> Thinking a bit more about this though, I am not sure I can win. We have > had a corresponding local patch for many years, and it seems natural to > have the link only in /usr/lib/systemd/system. However, for a system that > uses package management (which we do not), it may not be as natural, > since then updating the systemd package in runtime would restore systemd's > default.target rather than the one that was installed with the system. > > Would you accept a patch that instead introduces a variable for the path > to the default.target link, with the following definition: > > SYSTEMD_DEFAULT_TARGET_PATH ?= "${@bb.utils.contains('IMAGE_FEATURES', > 'package-management', '${sysconfdir}/systemd/system', > '${systemd_system_unitdir}', d}" > > That would make it reasonably sane by default, but still allow it to be > overridden if you have other ideas for your system. > I think you can mark certain files as 'configuration' and then package management won't touch them during updates? Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#160379): https://lists.openembedded.org/g/openembedded-core/message/160379 Mute This Topic: https://lists.openembedded.org/mt/88325758/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-