[meta-ti] [PATCH 1/2] beaglebone-getting-started: initial add
Denys Dmytriyenko
denis at denix.org
Thu Nov 3 09:15:18 PDT 2011
On Thu, Nov 03, 2011 at 09:46:26AM +0100, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
> recipes-misc/payload/beaglebone-getting-started.bb | 15 +++++++++++++++
> 1 files changed, 15 insertions(+), 0 deletions(-)
> create mode 100644 recipes-misc/payload/beaglebone-getting-started.bb
>
> diff --git a/recipes-misc/payload/beaglebone-getting-started.bb b/recipes-misc/payload/beaglebone-getting-started.bb
> new file mode 100644
> index 0000000..d68de7e
> --- /dev/null
> +++ b/recipes-misc/payload/beaglebone-getting-started.bb
> @@ -0,0 +1,15 @@
> +DESCRIPTION = "BeagleBone Getting Started Guide"
> +
> +# Ask Jason
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
Is this allowed (logically and/or legally)? It seems like defeating the
purpose of checksumming the license definition of the package. I know it's
done for the tasks, but tasks are not real packages - they are pure metadata.
This one fetches a git repository, hence contains "code".
I believe the proper way, if the package even mentions its license, is to
checksum that text directly or a portion of the code:
LIC_FILES_CHKSUM = "file://git/src/main.c;beginline=5;endline=9;md5=1234567890abcdef"
--
Denys
> +SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
> +S = "${WORKDIR}/git"
> +
> +do_install() {
> + install -d ${datadir}/${PN}
> + cp -a ${S}/* ${datadir}/${PN}
> +}
> +
> +FILES_${PN} += "${datadir}/${PN}"
> --
> 1.7.2.5
>
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
More information about the meta-ti
mailing list