* [V2][master][PATCH] libcap-ng: update SRC_URI
@ 2024-08-08 8:17 changqing.li
2024-08-08 13:27 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: changqing.li @ 2024-08-08 8:17 UTC (permalink / raw)
To: openembedded-core, alex
From: Changqing Li <changqing.li@windriver.com>
Refer [1], people.redhat.com has certificate issue, so update SRC_URI
to fix do_fetch warning
[1] https://github.com/stevegrubb/libcap-ng/issues/56
Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
meta/recipes-support/libcap-ng/libcap-ng.inc | 6 +++---
meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb | 4 ++++
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc
index 85b51c4dc6..6549bce006 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng.inc
+++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
@@ -7,11 +7,11 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
-SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
+SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=master \
file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
"
-
-SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
+SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
+S = "${WORKDIR}/git"
inherit lib_package autotools
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
index b482368a41..26899296e3 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
@@ -4,6 +4,10 @@ EXTRA_OECONF += "--without-python3"
BBCLASSEXTEND = "native nativesdk"
+do_configure:prepend() {
+ touch ${S}/NEWS
+}
+
do_install:append() {
# Moving libcap-ng to base_libdir
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [OE-core] [V2][master][PATCH] libcap-ng: update SRC_URI
2024-08-08 8:17 [V2][master][PATCH] libcap-ng: update SRC_URI changqing.li
@ 2024-08-08 13:27 ` Richard Purdie
2024-08-09 5:45 ` [V3][master][PATCH] " changqing.li
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2024-08-08 13:27 UTC (permalink / raw)
To: changqing.li, openembedded-core, alex
On Thu, 2024-08-08 at 16:17 +0800, Changqing Li via lists.openembedded.org wrote:
> From: Changqing Li <changqing.li@windriver.com>
>
> Refer [1], people.redhat.com has certificate issue, so update SRC_URI
> to fix do_fetch warning
>
> [1] https://github.com/stevegrubb/libcap-ng/issues/56
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
> meta/recipes-support/libcap-ng/libcap-ng.inc | 6 +++---
> meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb | 4 ++++
> 2 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc
> index 85b51c4dc6..6549bce006 100644
> --- a/meta/recipes-support/libcap-ng/libcap-ng.inc
> +++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
> @@ -7,11 +7,11 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
>
> -SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
> +SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=master \
> file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
> "
> -
> -SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
> +SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
> +S = "${WORKDIR}/git"
>
> inherit lib_package autotools
>
> diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
> index b482368a41..26899296e3 100644
> --- a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
> +++ b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
> @@ -4,6 +4,10 @@ EXTRA_OECONF += "--without-python3"
>
> BBCLASSEXTEND = "native nativesdk"
>
> +do_configure:prepend() {
> + touch ${S}/NEWS
> +}
> +
> do_install:append() {
> # Moving libcap-ng to base_libdir
> if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
>
This breaks libcap-ng-python:
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/9370/steps/11/logs/stdio
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [V3][master][PATCH] libcap-ng: update SRC_URI
2024-08-08 13:27 ` [OE-core] " Richard Purdie
@ 2024-08-09 5:45 ` changqing.li
2024-08-09 7:15 ` [OE-core] " Alexandre Belloni
0 siblings, 1 reply; 4+ messages in thread
From: changqing.li @ 2024-08-09 5:45 UTC (permalink / raw)
To: openembedded-core; +Cc: alex
From: Changqing Li <changqing.li@windriver.com>
Refer [1], people.redhat.com has certificate issue, so update SRC_URI
to fix do_fetch warning
[1] https://github.com/stevegrubb/libcap-ng/issues/56
Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
.../libcap-ng/libcap-ng-python_0.8.5.bb | 2 --
meta/recipes-support/libcap-ng/libcap-ng.inc | 10 +++++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
index f8a6b2c317..f702056f02 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
@@ -8,8 +8,6 @@ inherit python3targetconfig
DEPENDS += "libcap-ng python3 swig-native"
-S = "${WORKDIR}/libcap-ng-${PV}"
-
EXTRA_OECONF += "--with-python3"
do_install() {
diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc
index 85b51c4dc6..4c8ffd41c2 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng.inc
+++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
@@ -7,14 +7,18 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
-SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
+SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=master \
file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
"
-
-SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
+SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
+S = "${WORKDIR}/git"
inherit lib_package autotools
+do_configure:prepend() {
+ touch ${S}/NEWS
+}
+
EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [OE-core] [V3][master][PATCH] libcap-ng: update SRC_URI
2024-08-09 5:45 ` [V3][master][PATCH] " changqing.li
@ 2024-08-09 7:15 ` Alexandre Belloni
0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2024-08-09 7:15 UTC (permalink / raw)
To: changqing.li; +Cc: openembedded-core, alex
Please do not send new version as replies to previous versions, this bury
them under a pile of patches.
Also, it would be great to have a changelog.
On 09/08/2024 13:45:09+0800, Changqing Li via lists.openembedded.org wrote:
> From: Changqing Li <changqing.li@windriver.com>
>
> Refer [1], people.redhat.com has certificate issue, so update SRC_URI
> to fix do_fetch warning
>
> [1] https://github.com/stevegrubb/libcap-ng/issues/56
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
> .../libcap-ng/libcap-ng-python_0.8.5.bb | 2 --
> meta/recipes-support/libcap-ng/libcap-ng.inc | 10 +++++++---
> 2 files changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
> index f8a6b2c317..f702056f02 100644
> --- a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
> +++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
> @@ -8,8 +8,6 @@ inherit python3targetconfig
>
> DEPENDS += "libcap-ng python3 swig-native"
>
> -S = "${WORKDIR}/libcap-ng-${PV}"
> -
> EXTRA_OECONF += "--with-python3"
>
> do_install() {
> diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc
> index 85b51c4dc6..4c8ffd41c2 100644
> --- a/meta/recipes-support/libcap-ng/libcap-ng.inc
> +++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
> @@ -7,14 +7,18 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
>
> -SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
> +SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=master \
> file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
> "
> -
> -SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
> +SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
> +S = "${WORKDIR}/git"
>
> inherit lib_package autotools
>
> +do_configure:prepend() {
> + touch ${S}/NEWS
> +}
> +
> EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
> EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
>
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#203149): https://lists.openembedded.org/g/openembedded-core/message/203149
> Mute This Topic: https://lists.openembedded.org/mt/107803611/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-08-09 7:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 8:17 [V2][master][PATCH] libcap-ng: update SRC_URI changqing.li
2024-08-08 13:27 ` [OE-core] " Richard Purdie
2024-08-09 5:45 ` [V3][master][PATCH] " changqing.li
2024-08-09 7:15 ` [OE-core] " Alexandre Belloni
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.