Skip to contentSkip to conversation

beaglebone-getting-started: initial add

PATCH In review Koen Kooi 2 participants 5 messages Nov 3, 2011 – Nov 4, 2011

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/2 beaglebone-getting-started: initial add

---
 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
recipes-misc/payload/beaglebone-getting-started.bb new file +15 -0
new file mode 100644
index 0000000..d68de7e
@@ -0,0 +1,15 @@
+DESCRIPTION = "BeagleBone Getting Started Guide"
+
+# Ask Jason
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+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}"
Signature · 1 line
1.7.2.5
author
#1 lore raw

PATCH 2/2 bonescript.bb

bonescript: initial add

---
 recipes-misc/payload/bonescript.bb |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 recipes-misc/payload/bonescript.bb
recipes-misc/payload/bonescript.bb new file +16 -0
new file mode 100644
index 0000000..931ca01
@@ -0,0 +1,16 @@
+DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone"
+
+# Ask Jason
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+SRC_URI = "git://github.com/jadonk/bonescript.git"
+S = "${WORKDIR}/git"
+
+do_install() {
+	install -d ${localstatedir}/lib/cloud9/
+	cp -a ${S}/* ${localstatedir}/lib/cloud9/
+	cp -a ${S}/.git ${localstatedir}/lib/cloud9/
+}
+
+FILES_${PN} += "${localstatedir}"
Signature · 1 line
1.7.2.5
#2 lore raw
In reply to Koen Kooi
Quoted 12 lines · Koen Kooi
---
 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
recipes-misc/payload/beaglebone-getting-started.bb new file +0 -0
new file mode 100644
index 0000000..d68de7e

recipes-misc/payload/beaglebone-getting-started.bb line 5

Quoted 5 lines
recipes-misc/payload/beaglebone-getting-started.bb new file +5 -0
@@ -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"

Signature · 1 line
Denys
Quoted 17 lines
recipes-misc/payload/beaglebone-getting-started.bb new file +9 -0
+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}"
Signature · 6 lines
1.7.2.5

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#3 lore raw

Op 3 nov. 2011, om 17:15 heeft Denys Dmytriyenko het volgende geschreven:

Quoted 24 lines · Koen Kooi
Quoted 12 lines

---
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

recipes-misc/payload/beaglebone-getting-started.bb new file +0 -0
new file mode 100644
index 0000000..d68de7e

recipes-misc/payload/beaglebone-getting-started.bb line 5

Quoted 5 lines
recipes-misc/payload/beaglebone-getting-started.bb new file +5 -0
@@ -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".

Quoted 4 lines

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"

That's why it says "ask jason", since the code itself contains no license info (matrix-gui suffers from the same bug).

regards,

Koen

author
#4 lore raw

Op 3 nov. 2011, om 17:39 heeft Koen Kooi het volgende geschreven:

Quoted 27 lines

Op 3 nov. 2011, om 17:15 heeft Denys Dmytriyenko het volgende geschreven:

Quoted 24 lines · Koen Kooi
Quoted 12 lines

---
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

recipes-misc/payload/beaglebone-getting-started.bb new file +0 -0
new file mode 100644
index 0000000..d68de7e

recipes-misc/payload/beaglebone-getting-started.bb line 5

Quoted 5 lines
recipes-misc/payload/beaglebone-getting-started.bb new file +5 -0
@@ -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".

Quoted 6 lines
Quoted 4 lines

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"

That's why it says "ask jason", since the code itself contains no license info (matrix-gui suffers from the same bug).

Jason, can you add license info to the repos so we can hand a proper build to Gerald?

regards,

Koen