[meta-ti] [PATCH v2 3/7] beaglebone-capes: userspace support for capes

Koen Kooi koen at dominion.thruhere.net
Tue Apr 17 23:01:54 PDT 2012


Op 17 apr. 2012, om 22:50 heeft Denys Dmytriyenko het volgende geschreven:

> On Tue, Apr 17, 2012 at 02:47:42PM +0200, Koen Kooi wrote:
>> Not everything can be done inside the kernel yet, so have a script that does the userspace portion.
>> Only the LCD3 cape is supported currently, more will follow later.
>> 
>> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
>> ---
>> recipes-ti/beagleboard/beaglebone-capes.bb         |   23 ++++++++++++++++++++
>> .../beagleboard/beaglebone-capes/cape.service      |    8 +++++++
>> recipes-ti/beagleboard/beaglebone-capes/cape.sh    |   12 ++++++++++
>> 3 files changed, 43 insertions(+), 0 deletions(-)
>> create mode 100644 recipes-ti/beagleboard/beaglebone-capes.bb
>> create mode 100644 recipes-ti/beagleboard/beaglebone-capes/cape.service
>> create mode 100755 recipes-ti/beagleboard/beaglebone-capes/cape.sh
>> 
>> diff --git a/recipes-ti/beagleboard/beaglebone-capes.bb b/recipes-ti/beagleboard/beaglebone-capes.bb
>> new file mode 100644
>> index 0000000..88d4a17
>> --- /dev/null
>> +++ b/recipes-ti/beagleboard/beaglebone-capes.bb
>> @@ -0,0 +1,23 @@
>> +DESCRIPTION = "Userspace setup for beaglebone capes"
>> +
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
>> +
>> +inherit allarch
> 
> Should there be "inherit systemd" and SYSTEMD_SERVICE_${PN} = "cape.service"?

No, that would be just stupid, the package overhead would be bigger than the actual packages. I agree systemd.bbclass is broken with its WARNINGs, but that's not a good reason to make the recipes even more stupid :)

regards,

Koen.


More information about the meta-ti mailing list