All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][meta-networking] sethdlc: set PV in filename
@ 2019-06-30 21:50 Oleksandr Kravchuk
  2019-07-01 10:55 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksandr Kravchuk @ 2019-06-30 21:50 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Oleksandr Kravchuk

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
---
 .../sethdlc/{sethdlc.bb => sethdlc_1.18.bb}                   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-connectivity/sethdlc/{sethdlc.bb => sethdlc_1.18.bb} (94%)

diff --git a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb b/meta-networking/recipes-connectivity/sethdlc/sethdlc_1.18.bb
similarity index 94%
rename from meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
rename to meta-networking/recipes-connectivity/sethdlc/sethdlc_1.18.bb
index fc304fae7..fa9399310 100644
--- a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
+++ b/meta-networking/recipes-connectivity/sethdlc/sethdlc_1.18.bb
@@ -5,14 +5,14 @@ LICENSE = "GPLv2 & GPLv2+ "
 LIC_FILES_CHKSUM = "file://sethdlc.c;endline=10;md5=90f936879e9f8b755a138aeb348782eb"
 
 
-SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-1.18.tar.gz \
+SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-${PV}.tar.gz \
            file://sethdlc-fix-host-contamination.patch \
 "
 SRC_URI[md5sum] = "9016878156a5eadb06c0bae71cc5c9ab"
 SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e"
 
 
-S = "${WORKDIR}/${BPN}-1.18"
+S = "${WORKDIR}/${BPN}-${PV}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 DEPENDS = "virtual/kernel"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][meta-networking] sethdlc: set PV in filename
  2019-06-30 21:50 [PATCH][meta-networking] sethdlc: set PV in filename Oleksandr Kravchuk
@ 2019-07-01 10:55 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2019-07-01 10:55 UTC (permalink / raw)
  To: Oleksandr Kravchuk; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1902 bytes --]

On Sun, Jun 30, 2019 at 11:50:07PM +0200, Oleksandr Kravchuk wrote:
> Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
> ---
>  .../sethdlc/{sethdlc.bb => sethdlc_1.18.bb}                   | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta-networking/recipes-connectivity/sethdlc/{sethdlc.bb => sethdlc_1.18.bb} (94%)
> 
> diff --git a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb b/meta-networking/recipes-connectivity/sethdlc/sethdlc_1.18.bb
> similarity index 94%
> rename from meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
> rename to meta-networking/recipes-connectivity/sethdlc/sethdlc_1.18.bb
> index fc304fae7..fa9399310 100644
> --- a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
> +++ b/meta-networking/recipes-connectivity/sethdlc/sethdlc_1.18.bb
> @@ -5,14 +5,14 @@ LICENSE = "GPLv2 & GPLv2+ "
>  LIC_FILES_CHKSUM = "file://sethdlc.c;endline=10;md5=90f936879e9f8b755a138aeb348782eb"
>  
>  
> -SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-1.18.tar.gz \
> +SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-${PV}.tar.gz \

${BPN}-${PV} -> ${BP}

>             file://sethdlc-fix-host-contamination.patch \
>  "
>  SRC_URI[md5sum] = "9016878156a5eadb06c0bae71cc5c9ab"
>  SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e"
>  
>  
> -S = "${WORKDIR}/${BPN}-1.18"
> +S = "${WORKDIR}/${BPN}-${PV}"

This is the default value, you can just drop it.

>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  DEPENDS = "virtual/kernel"
> -- 
> 2.17.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-01 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-30 21:50 [PATCH][meta-networking] sethdlc: set PV in filename Oleksandr Kravchuk
2019-07-01 10:55 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.