beaglebone-getting-started: active bone101 webserver on boot
authorKoen Kooi <koen@dominion.thruhere.net>
Sun, 13 Nov 2011 13:12:42 +0000 (14:12 +0100)
committerKoen Kooi <koen@dominion.thruhere.net>
Sun, 13 Nov 2011 13:12:42 +0000 (14:12 +0100)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-misc/payload/beaglebone-getting-started.bb

index 88fb0981f50cb85a78deb64f03b47ad31bb5faaf..7fe5861301b63d9eced522c75bd3df7a986f0c0b 100644 (file)
@@ -1,8 +1,8 @@
 DESCRIPTION = "BeagleBone Getting Started Guide"
 
-PR = "r8"
+PR = "r9"
 
-inherit allarch
+inherit allarch systemd
 
 LICENSE = "GPLv2+ && MIT && PD && others"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
@@ -21,4 +21,7 @@ do_install() {
        install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system
 }
 
+SYSTEMD_PACKAGES = "${PN}"
+SYSTEMD_SERVICE_${PN} = "bone101.service"
+
 FILES_${PN} += "${datadir}/${PN} ${base_libdir}/systemd/system"