Re: Installing specific systemd service file according to selected distro
Konrad Weihmann <kweihmann@...>
Fairly easy, each distro creates an OVERRIDE by default, so you could do
toggle quoted message
Show quoted text
A:poky = "foo.service" A:yourdistro = "bar.service" SYSTEMD_PACKAGES = "${A}" do_install:append() { install -d ${D}${systemd_system_unitdir} install -m 0644 ${WORKDIR}/${A} ${D}${systemd_system_unitdir} } you could also try to create distro-specific do_install appends like do_install:append:<yourdistro> if you need to do further step besides installing On 14.01.22 06:54, davis roman wrote:
Hello, |
|