]> code.ossystems Code Review - openembedded-core.git/commitdiff
service: tweak example recipe
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 5 Aug 2015 08:42:07 +0000 (09:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Aug 2015 22:45:21 +0000 (23:45 +0100)
* Drop PR = "r0"
* Reorder lines so that packaging definitions are at the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta-skeleton/recipes-skeleton/service/service_0.1.bb

index a3ad6ccb2f9fafc5382c72bdcddeb527adb2b7f2..c5cd7a97bcb474b1b5d2ec628f947d561acb5be1 100644 (file)
@@ -2,16 +2,12 @@ SUMMARY = "The canonical example of init scripts"
 SECTION = "base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYRIGHT;md5=349c872e0066155e1818b786938876a4"
-RDEPENDS_${PN} = "initscripts"
-PR = "r0"
 
 SRC_URI = "file://skeleton \
           file://skeleton_test.c \
           file://COPYRIGHT \
           "
 
-CONFFILES_${PN} += "${sysconfdir}/init.d/skeleton"
-
 do_compile () {
        ${CC} ${WORKDIR}/skeleton_test.c -o ${WORKDIR}/skeleton-test
 }
@@ -30,3 +26,6 @@ do_install () {
        install -m 0755 ${WORKDIR}/skeleton-test ${D}${sbindir}/
 }
 
+RDEPENDS_${PN} = "initscripts"
+
+CONFFILES_${PN} += "${sysconfdir}/init.d/skeleton"