On Wed, Sep 30, 2015 at 12:28 AM, Lukas Böhm <lukas.bo...@iseg-hv.de> wrote: > Hello, > > I want to use the busybox udhcpd server in conjunction with systemd. As > there is no service file included in the recipe (v1.22.1) and no udhcpd.conf > I made a bbappend to add this. Unfortunatelly the service file is not added > to the final image but the conf-file. > My busybox_%.bbappend looks as follows: > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > SRC_URI += " \ > file://udhcpd.conf \ > file://udhcpd.service \ > " > SYSTEMD_PACKAGES += " \ > ${PN}-udhcpd \ > " > SYSTEMD_SERVICE_${PN}-udhcpd = "udhcpd.service" > FILES_${PN}-udhcpd += "${systemd_unitdir}/system/udhcpd.service > ${sysconfdir}/udhcpd.conf" > > do_install_append () { > install -d ${D}${systemd_unitdir}/system > install -d ${D}${sysconfdir} > install -m 0644 ${WORKDIR}/udhcpd.conf ${D}${sysconfdir} > install -m 0644 ${WORKDIR}/udhcpd.service > ${D}${systemd_unitdir}/system/udhcpd.service > } > ----------------------------- > The strange thing is, that the service file is installed to > ${WORKDIR}/image/lib/systemd/system but not to the final image. > > Any hints how to make it will be highly appreciated.
Did you inherit systemd ? > Thanks > > Lukas Böhm > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto