[oe] [PATCH][meta-networking] sethdlc: set PV in filename

Martin Jansa martin.jansa at gmail.com
Mon Jul 1 10:55:35 UTC 2019


On Sun, Jun 30, 2019 at 11:50:07PM +0200, Oleksandr Kravchuk wrote:
> Signed-off-by: Oleksandr Kravchuk <open.source at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20190701/032b7259/attachment.sig>


More information about the Openembedded-devel mailing list