Skip to contentSkip to conversation

core-image-full-cmdline: add package-management

PATCH In review [email protected] 3 participants 4 messages Feb 29, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 core-image-full-cmdline: add package-management

From: Michael Opdenacker <[email protected]>

Add "package-management" image feature to the core-image-full-cmdline image, to support package upgrade testing.

---
 meta/recipes-extended/images/core-image-full-cmdline.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/images/core-image-full-cmdline.bb +1 -1
index 4e1cf58d55..b034cd0aeb 100644
@@ -1,7 +1,7 @@
 SUMMARY = "A console-only image with more full-featured Linux system \
 functionality installed."
 
-IMAGE_FEATURES += "splash ssh-server-openssh"
+IMAGE_FEATURES += "splash ssh-server-openssh package-management"
 
 IMAGE_INSTALL = "\
     packagegroup-core-boot \
Signature · 1 line
2.34.1
#1 lore raw

There are plenty of systems where we don't want package-management enabled by default. This will just make core-image-full-cmdline less useful there.

In the past, it's always been up to the user to enable full package-management in their configuration, default has been to not have it present. Has this changed?

Quoted 35 lines · Michael Opdenacker via lists.openembedded.org

From: Michael Opdenacker <[email protected]>

Add "package-management" image feature to the core-image-full-cmdline image, to support package upgrade testing.

---
  meta/recipes-extended/images/core-image-full-cmdline.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/images/core-image-full-cmdline.bb +1 -2
index 4e1cf58d55..b034cd0aeb 100644
@@ -1,7 +1,7 @@
  SUMMARY = "A console-only image with more full-featured Linux system \
  functionality installed."
 
-IMAGE_FEATURES += "splash ssh-server-openssh"
+IMAGE_FEATURES += "splash ssh-server-openssh package-management"
 
  IMAGE_INSTALL = "\
      packagegroup-core-boot \
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#196436): https://lists.openembedded.org/g/openembedded-core/message/196436
Mute This Topic: https://lists.openembedded.org/mt/104644618/3616948
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 7 lines · Mark Hatle

There are plenty of systems where we don't want package-management enabled by default.  This will just make core-image-full-cmdline less useful there.

In the past, it's always been up to the user to enable full package- management in their configuration, default has been to not have it present.  Has this changed?

Of our images, many of them already enable package-management including core-image-sato (and derivatives like sdk), core-image-x11, core-image- weston and build-appliance. In that sense, core-image-full-cmdline was an outlier.

Whilst it does add some dependencies and metadata it doesn't add that much overall. This big win for this is that it then lets us test image upgrades with the artefact built as part of the release artefacts.

That testing does make sense with full-cmdline so bringing it slightly more into line with the other images seemed like the best/easiest improvement for a big QA win.

Anyone not needing it can easily remove that feature as they would with the others.

Cheers,

Richard

#3 lore raw
In reply to [email protected]
Quoted 24 lines · On Thu, 2024-02-29 at 16:03 +0100, [email protected] wrote:

From: Michael Opdenacker <[email protected]>

Add "package-management" image feature to the core-image-full-cmdline image,
to support package upgrade testing.

---
 meta/recipes-extended/images/core-image-full-cmdline.bb | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/images/core-image-full-cmdline.bb +0 -0
index 4e1cf58d55..b034cd0aeb 100644
@@ -1,7 +1,7 @@

 SUMMARY = "A console-only image with more full-featured Linux system \
 functionality installed."

meta/recipes-extended/images/core-image-full-cmdline.bb +1 -1
-IMAGE_FEATURES += "splash ssh-server-openssh"
+IMAGE_FEATURES += "splash ssh-server-openssh package-management"
Quoted 3 lines


 IMAGE_INSTALL = "\
     packagegroup-core-boot \

This does break one of the oe-selftests around gplv3 exclusion handling unfortunately:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6471/steps/15/logs/stdio

Cheers,

Richard