All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26
@ 2023-03-01 22:01 Julien Olivain
  2023-03-01 22:01 ` [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR Julien Olivain
  2023-03-12 12:34 ` [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26 Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 8+ messages in thread
From: Julien Olivain @ 2023-03-01 22:01 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

See release announce:
https://lists.infradead.org/pipermail/kexec/2022-December/026399.html

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested on branch next at commit b793f3a with commands:

    make check-package
    ...
    0 warnings generated

    utils/test-pkg -a -p kexec
    ...
    45 builds, 14 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
---
 package/kexec/kexec.hash | 2 +-
 package/kexec/kexec.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kexec/kexec.hash b/package/kexec/kexec.hash
index 34e17339b9..4e16a53a35 100644
--- a/package/kexec/kexec.hash
+++ b/package/kexec/kexec.hash
@@ -1,4 +1,4 @@
 # From https://www.kernel.org/pub/linux/utils/kernel/kexec/sha256sums.asc
-sha256  7ce2e5def38ec04f79feb107d02243dd586fbc68569eccf02f44bad3a13ec07d  kexec-tools-2.0.25.tar.xz
+sha256  7fe36a064101cd5c515e41b2be393dce3ca88adce59d6ee668e0af7c0c4570cd  kexec-tools-2.0.26.tar.xz
 # locally calculated
 sha256  fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7  COPYING
diff --git a/package/kexec/kexec.mk b/package/kexec/kexec.mk
index ced7009ed3..c1411f6ab7 100644
--- a/package/kexec/kexec.mk
+++ b/package/kexec/kexec.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-KEXEC_VERSION = 2.0.25
+KEXEC_VERSION = 2.0.26
 KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
 KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
 KEXEC_LICENSE = GPL-2.0
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR
  2023-03-01 22:01 [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26 Julien Olivain
@ 2023-03-01 22:01 ` Julien Olivain
  2023-03-12 12:34   ` Thomas Petazzoni via buildroot
  2023-03-12 21:59   ` [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR} Julien Olivain
  2023-03-12 12:34 ` [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26 Thomas Petazzoni via buildroot
  1 sibling, 2 replies; 8+ messages in thread
From: Julien Olivain @ 2023-03-01 22:01 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

cpe:2.3:a:kexec-tools_project:kexec-tools is a valid CPE identifier
for this package:
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Akexec-tools_project%3Akexec-tools

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 package/kexec/kexec.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kexec/kexec.mk b/package/kexec/kexec.mk
index c1411f6ab7..a725a1bfba 100644
--- a/package/kexec/kexec.mk
+++ b/package/kexec/kexec.mk
@@ -9,6 +9,7 @@ KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
 KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
 KEXEC_LICENSE = GPL-2.0
 KEXEC_LICENSE_FILES = COPYING
+KEXEC_CPE_ID_VENDOR = kexec-tools_project
 KEXEC_SELINUX_MODULES = kdump
 
 # Makefile expects $STRIP -o to work, so needed for !BR2_STRIP_strip
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR
  2023-03-01 22:01 ` [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR Julien Olivain
@ 2023-03-12 12:34   ` Thomas Petazzoni via buildroot
  2023-03-12 21:54     ` Julien Olivain
  2023-03-12 21:59   ` [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR} Julien Olivain
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-03-12 12:34 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Wed,  1 Mar 2023 23:01:59 +0100
Julien Olivain <ju.o@free.fr> wrote:

> cpe:2.3:a:kexec-tools_project:kexec-tools is a valid CPE identifier

But then you also need:

KEXEC_CPE_ID_PRODUCT = kexec-tools

indeed, by default, the value of KEXEC_CPE_ID_PRODUCT is the name of
the Buildroot package, lower-case, so currently the value of
KEXEC_CPE_ID_PRODUCT is "kexec", not "kexec-tools".

Am I missing something here?

You can double check this by running "make pkg-stats" on a
configuration that has kexec enabled. In the last column of the table,
it will tell you if the CPE ID is found in the database.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26
  2023-03-01 22:01 [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26 Julien Olivain
  2023-03-01 22:01 ` [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR Julien Olivain
@ 2023-03-12 12:34 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-03-12 12:34 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Wed,  1 Mar 2023 23:01:58 +0100
Julien Olivain <ju.o@free.fr> wrote:

> See release announce:
> https://lists.infradead.org/pipermail/kexec/2022-December/026399.html
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested on branch next at commit b793f3a with commands:

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR
  2023-03-12 12:34   ` Thomas Petazzoni via buildroot
@ 2023-03-12 21:54     ` Julien Olivain
  0 siblings, 0 replies; 8+ messages in thread
From: Julien Olivain @ 2023-03-12 21:54 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot

Hi Thomas,

On 12/03/2023 13:34, Thomas Petazzoni wrote:
> On Wed,  1 Mar 2023 23:01:59 +0100
> Julien Olivain <ju.o@free.fr> wrote:
> 
>> cpe:2.3:a:kexec-tools_project:kexec-tools is a valid CPE identifier
> 
> But then you also need:
> 
> KEXEC_CPE_ID_PRODUCT = kexec-tools
> 
> indeed, by default, the value of KEXEC_CPE_ID_PRODUCT is the name of
> the Buildroot package, lower-case, so currently the value of
> KEXEC_CPE_ID_PRODUCT is "kexec", not "kexec-tools".
> 
> Am I missing something here?

You are right!  I indeed missed the _PRODUCT.
I'll add it and send a v2.

> You can double check this by running "make pkg-stats" on a
> configuration that has kexec enabled. In the last column of the table,
> it will tell you if the CPE ID is found in the database.
> 
> Best regards,
> 
> Thomas

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR}
  2023-03-01 22:01 ` [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR Julien Olivain
  2023-03-12 12:34   ` Thomas Petazzoni via buildroot
@ 2023-03-12 21:59   ` Julien Olivain
  2023-03-12 22:14     ` Thomas Petazzoni via buildroot
  2023-03-19 16:36     ` Peter Korsgaard
  1 sibling, 2 replies; 8+ messages in thread
From: Julien Olivain @ 2023-03-12 21:59 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

cpe:2.3:a:kexec-tools_project:kexec-tools is a valid CPE identifier
for this package:
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Akexec-tools_project%3Akexec-tools

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Changes v1 -> v2:
- Add the missing "KEXEC_CPE_ID_PRODUCT = kexec-tools"
  as reported by Thomas.
---
 package/kexec/kexec.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/kexec/kexec.mk b/package/kexec/kexec.mk
index c1411f6ab7..562b09012b 100644
--- a/package/kexec/kexec.mk
+++ b/package/kexec/kexec.mk
@@ -9,6 +9,8 @@ KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
 KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
 KEXEC_LICENSE = GPL-2.0
 KEXEC_LICENSE_FILES = COPYING
+KEXEC_CPE_ID_PRODUCT = kexec-tools
+KEXEC_CPE_ID_VENDOR = kexec-tools_project
 KEXEC_SELINUX_MODULES = kdump
 
 # Makefile expects $STRIP -o to work, so needed for !BR2_STRIP_strip
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR}
  2023-03-12 21:59   ` [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR} Julien Olivain
@ 2023-03-12 22:14     ` Thomas Petazzoni via buildroot
  2023-03-19 16:36     ` Peter Korsgaard
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-03-12 22:14 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Sun, 12 Mar 2023 22:59:45 +0100
Julien Olivain <ju.o@free.fr> wrote:

> cpe:2.3:a:kexec-tools_project:kexec-tools is a valid CPE identifier
> for this package:
> https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Akexec-tools_project%3Akexec-tools
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Changes v1 -> v2:
> - Add the missing "KEXEC_CPE_ID_PRODUCT = kexec-tools"
>   as reported by Thomas.
> ---
>  package/kexec/kexec.mk | 2 ++
>  1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR}
  2023-03-12 21:59   ` [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR} Julien Olivain
  2023-03-12 22:14     ` Thomas Petazzoni via buildroot
@ 2023-03-19 16:36     ` Peter Korsgaard
  1 sibling, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2023-03-19 16:36 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes:

 > cpe:2.3:a:kexec-tools_project:kexec-tools is a valid CPE identifier
 > for this package:
 > https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Akexec-tools_project%3Akexec-tools

 > Signed-off-by: Julien Olivain <ju.o@free.fr>
 > ---
 > Changes v1 -> v2:
 > - Add the missing "KEXEC_CPE_ID_PRODUCT = kexec-tools"
 >   as reported by Thomas.

Committed to 2023.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-03-19 16:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-01 22:01 [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26 Julien Olivain
2023-03-01 22:01 ` [Buildroot] [PATCH next 2/2] package/kexec: add KEXEC_CPE_ID_VENDOR Julien Olivain
2023-03-12 12:34   ` Thomas Petazzoni via buildroot
2023-03-12 21:54     ` Julien Olivain
2023-03-12 21:59   ` [Buildroot] [PATCH v2 1/1] package/kexec: add KEXEC_CPE_ID_{PRODUCT, VENDOR} Julien Olivain
2023-03-12 22:14     ` Thomas Petazzoni via buildroot
2023-03-19 16:36     ` Peter Korsgaard
2023-03-12 12:34 ` [Buildroot] [PATCH next 1/2] package/kexec: bump to version 2.0.26 Thomas Petazzoni via buildroot

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.