Really no one any idea or hint? I could make it "dirty" but I would like to
understand where the problem is.
Am 30.09.2015 um 09:28 schrieb Lukas Böhm:
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.
Thanks
Lukas Böhm
--
Lukas Böhm fon: ++49 351 26996-0
iseg Spezialelektronik GmbH fax: ++49 351 26996-21
Bautzner Landstr. 23 mail: lukas.bo...@iseg-hv.de
D-01454 Radeberg OT Rossendorf web: www.iseg-hv.de
Geschäftsführer/Managing Director:
Dr. Frank Gleisberg, Dr. Joachim Pöthig
Registergericht/Lower District Court:
Amtsgericht Dresden HRB 16250
Umsatzsteuer-Identnummer / VAT Id:
DE 812 50 89 42
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient
(or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail
is strictly forbidden.
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto