Patchwork [meta-oe,6/7] vlan: Create 1.9 version

login
register
mail settings
Submitter Lauren Post
Date March 7, 2014, 9:26 p.m.
Message ID <1394227575-27897-6-git-send-email-lauren.post@freescale.com>
Download mbox | patch
Permalink /patch/68283/
State Accepted, archived
Headers show

Comments

Lauren Post - March 7, 2014, 9:26 p.m.
VLAN provides vconfig utility

Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
 .../recipes-connectivity/vlan/vlan_1.9.bb          |   25 ++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
Martin Jansa - March 11, 2014, 2:17 p.m.
On Fri, Mar 07, 2014 at 03:26:14PM -0600, Lauren Post wrote:
> VLAN provides vconfig utility
> 
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> ---
>  .../recipes-connectivity/vlan/vlan_1.9.bb          |   25 ++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
> 
> diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
> new file mode 100644
> index 0000000..a9711ed
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "VLAN provides vconfig utility"

DESCRIPTION -> SUMMARY

> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://vconfig.c;md5=293ef69c4e88434d37a5ee577a5288cb"
> +
> +SRC_URI = "http://vlan.sourcearchive.com/downloads/1.9-3ubuntu9/vlan_1.9.orig.tar.gz"

vlan -> ${BPN}
1.9 -> ${PV}

> +
> +SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
> +SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
> +
> +S = "${WORKDIR}/vlan"

vlan -> ${BPN}

> +
> +# comment out MakeInclude in Makefile which sets build environment
> +do_configure_append () {
> +    sed -i 's/^ include/#^include/' ${S}/Makefile
> +}
> +
> +# ignore strip to avoid yocto errors in stripping
> +do_compile () {
> +    oe_runmake PLATFORM=ARM 'STRIP=echo' all
> +}
> +
> +do_install () {
> +     install -d ${D}/${exec_prefix}/bin
> +     cp ${S}/vconfig ${D}/${exec_prefix}/bin

5 spaces -> 4 spaces

I'll modify above comments when cherry-picking to master-next.

> +}
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Otavio Salvador - March 17, 2014, 4:26 p.m.
Hello Martin,

On Tue, Mar 11, 2014 at 11:17 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Mar 07, 2014 at 03:26:14PM -0600, Lauren Post wrote:
>> VLAN provides vconfig utility
>>
>> Signed-off-by: Lauren Post <lauren.post@freescale.com>
>> ---
>>  .../recipes-connectivity/vlan/vlan_1.9.bb          |   25 ++++++++++++++++++++
>>  1 file changed, 25 insertions(+)
>>  create mode 100644 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
>>
>> diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
>> new file mode 100644
>> index 0000000..a9711ed
>> --- /dev/null
>> +++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
>> @@ -0,0 +1,25 @@
>> +DESCRIPTION = "VLAN provides vconfig utility"
>
> DESCRIPTION -> SUMMARY
>
>> +LICENSE = "GPLv2"
>> +LIC_FILES_CHKSUM = "file://vconfig.c;md5=293ef69c4e88434d37a5ee577a5288cb"
>> +
>> +SRC_URI = "http://vlan.sourcearchive.com/downloads/1.9-3ubuntu9/vlan_1.9.orig.tar.gz"
>
> vlan -> ${BPN}
> 1.9 -> ${PV}
>
>> +
>> +SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
>> +SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
>> +
>> +S = "${WORKDIR}/vlan"
>
> vlan -> ${BPN}
>
>> +
>> +# comment out MakeInclude in Makefile which sets build environment
>> +do_configure_append () {
>> +    sed -i 's/^ include/#^include/' ${S}/Makefile
>> +}
>> +
>> +# ignore strip to avoid yocto errors in stripping
>> +do_compile () {
>> +    oe_runmake PLATFORM=ARM 'STRIP=echo' all
>> +}
>> +
>> +do_install () {
>> +     install -d ${D}/${exec_prefix}/bin
>> +     cp ${S}/vconfig ${D}/${exec_prefix}/bin
>
> 5 spaces -> 4 spaces
>
> I'll modify above comments when cherry-picking to master-next.

So I assume this one does not need a v2. Am I right?
Martin Jansa - March 17, 2014, 5:24 p.m.
On Mon, Mar 17, 2014 at 01:26:21PM -0300, Otavio Salvador wrote:
> Hello Martin,
> 
> On Tue, Mar 11, 2014 at 11:17 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Fri, Mar 07, 2014 at 03:26:14PM -0600, Lauren Post wrote:
> >> VLAN provides vconfig utility
> >>
> >> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> >> ---
> >>  .../recipes-connectivity/vlan/vlan_1.9.bb          |   25 ++++++++++++++++++++
> >>  1 file changed, 25 insertions(+)
> >>  create mode 100644 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
> >>
> >> diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
> >> new file mode 100644
> >> index 0000000..a9711ed
> >> --- /dev/null
> >> +++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
> >> @@ -0,0 +1,25 @@
> >> +DESCRIPTION = "VLAN provides vconfig utility"
> >
> > DESCRIPTION -> SUMMARY
> >
> >> +LICENSE = "GPLv2"
> >> +LIC_FILES_CHKSUM = "file://vconfig.c;md5=293ef69c4e88434d37a5ee577a5288cb"
> >> +
> >> +SRC_URI = "http://vlan.sourcearchive.com/downloads/1.9-3ubuntu9/vlan_1.9.orig.tar.gz"
> >
> > vlan -> ${BPN}
> > 1.9 -> ${PV}
> >
> >> +
> >> +SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
> >> +SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
> >> +
> >> +S = "${WORKDIR}/vlan"
> >
> > vlan -> ${BPN}
> >
> >> +
> >> +# comment out MakeInclude in Makefile which sets build environment
> >> +do_configure_append () {
> >> +    sed -i 's/^ include/#^include/' ${S}/Makefile
> >> +}
> >> +
> >> +# ignore strip to avoid yocto errors in stripping
> >> +do_compile () {
> >> +    oe_runmake PLATFORM=ARM 'STRIP=echo' all
> >> +}
> >> +
> >> +do_install () {
> >> +     install -d ${D}/${exec_prefix}/bin
> >> +     cp ${S}/vconfig ${D}/${exec_prefix}/bin
> >
> > 5 spaces -> 4 spaces
> >
> > I'll modify above comments when cherry-picking to master-next.
> 
> So I assume this one does not need a v2. Am I right?

Yes, it's already modified in:
http://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=095fbd60d7b0b59558e49b97a20814d34626084e
so it doesn't need v2.

Other patches where I didn't say that I'll do the changes when
cherry-picking need v2.

Patch

diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
new file mode 100644
index 0000000..a9711ed
--- /dev/null
+++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
@@ -0,0 +1,25 @@ 
+DESCRIPTION = "VLAN provides vconfig utility"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://vconfig.c;md5=293ef69c4e88434d37a5ee577a5288cb"
+
+SRC_URI = "http://vlan.sourcearchive.com/downloads/1.9-3ubuntu9/vlan_1.9.orig.tar.gz"
+
+SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
+SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
+
+S = "${WORKDIR}/vlan"
+
+# comment out MakeInclude in Makefile which sets build environment
+do_configure_append () {
+    sed -i 's/^ include/#^include/' ${S}/Makefile
+}
+
+# ignore strip to avoid yocto errors in stripping
+do_compile () {
+    oe_runmake PLATFORM=ARM 'STRIP=echo' all
+}
+
+do_install () {
+     install -d ${D}/${exec_prefix}/bin
+     cp ${S}/vconfig ${D}/${exec_prefix}/bin
+}