ofono: fix packaging and clean up custom do_install
The makefile installs the udev rule in the proper place already. Also fix: WARNING: For recipe ofono, the following files were installed but not shipped in any package: WARNING: /lib/udev/rules.d/97-ofono.rules WARNING: /lib/systemd/system/ofono.service (From OE-Core rev: 79b124de74305e2827f0b98d8b3ef97302bfb83a) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3fdd47a7ac
commit
1d6e661801
|
@ -15,7 +15,6 @@ INITSCRIPT_PARAMS = "defaults 22"
|
|||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
|
||||
install -d ${D}${sysconfdir}/udev/rules.d/
|
||||
install -m 0644 ${S}/plugins/97-ofono.rules ${D}${sysconfdir}/udev/rules.d/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/udev ${base_libdir}/systemd"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require ofono.inc
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/linux/network/ofono/${P}.tar.bz2 \
|
||||
file://ofono"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
require ofono.inc
|
||||
|
||||
PR = "r1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "14544d5996836f628613c2ce544380ee6fc8f514"
|
||||
PV = "0.12-git${SRCPV}"
|
||||
|
|
Loading…
Reference in New Issue