Skip to contentSkip to conversation

config.json: add "package-management" to images

PATCH Superseded [email protected] 2 participants 4 messages Dec 22, 2023 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config.json: add "package-management" to images

From: Michael Opdenacker <[email protected]>

---
Note: could not test this change!

---
 config.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
config.json +2 -1
index d504d07..bd0135e 100644
@@ -74,7 +74,8 @@
             "BB_LOG_HOST_STAT_ON_FAILURE = '1'",
             "BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'",
             "SDK_TOOLCHAIN_LANGS += 'rust'",
-            "BB_SERVER_TIMEOUT = '60'"
+            "BB_SERVER_TIMEOUT = '60'",
+            "EXTRA_IMAGE_FEATURES += 'package-management'",
         ]
     },
     "templates" : {
Signature · 1 line
2.34.1
#1 lore raw

Wait, why?

Alex

Quoted 37 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

---
Note: could not test this change!

---
 config.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
config.json +2 -2
index d504d07..bd0135e 100644
@@ -74,7 +74,8 @@
             "BB_LOG_HOST_STAT_ON_FAILURE = '1'",
             "BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'",
             "SDK_TOOLCHAIN_LANGS += 'rust'",
-            "BB_SERVER_TIMEOUT = '60'"
+            "BB_SERVER_TIMEOUT = '60'",
+            "EXTRA_IMAGE_FEATURES += 'package-management'",
         ]
     },
     "templates" : {
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62020): https://lists.yoctoproject.org/g/yocto/message/62020
Mute This Topic: https://lists.yoctoproject.org/mt/103317023/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

And also, why here, and not in oe-core? Any such custom tweaks add to the friction and mismatches between local builds and autobuilder builds, especially when one fails but not the other.

Alex

Quoted 48 lines · Alexander Kanavin via lists.yoctoproject.org

Wait, why?

Alex

Quoted 26 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

---
Note: could not test this change!

---
 config.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
config.json +2 -2
index d504d07..bd0135e 100644
@@ -74,7 +74,8 @@
             "BB_LOG_HOST_STAT_ON_FAILURE = '1'",
             "BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'",
             "SDK_TOOLCHAIN_LANGS += 'rust'",
-            "BB_SERVER_TIMEOUT = '60'"
+            "BB_SERVER_TIMEOUT = '60'",
+            "EXTRA_IMAGE_FEATURES += 'package-management'",
         ]
     },
     "templates" : {
--
Quoted 5 lines

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62021): https://lists.yoctoproject.org/g/yocto/message/62021
Mute This Topic: https://lists.yoctoproject.org/mt/103317023/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

Hi Alex,

Thanks for reviewing this patch.

Quoted 26 lines · Alexander Kanavin

And also, why here, and not in oe-core? Any such custom tweaks add to the friction and mismatches between local builds and autobuilder builds, especially when one fails but not the other.

Alex

Quoted 17 lines · Alexander Kanavin via lists.yoctoproject.org

Wait, why?

Alex

Quoted 10 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

---
Note: could not test this change!

---
  config.json | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 11 lines
Quoted 11 lines

config.json line 78

Quoted 11 lines
config.json +2 -1
index d504d07..bd0135e 100644
@@ -74,7 +74,8 @@
              "BB_LOG_HOST_STAT_ON_FAILURE = '1'",
              "BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'",
              "SDK_TOOLCHAIN_LANGS += 'rust'",
-            "BB_SERVER_TIMEOUT = '60'"
+            "BB_SERVER_TIMEOUT = '60'",
+            "EXTRA_IMAGE_FEATURES += 'package-management'",

Oops, it's true I should have given some context here. Not following my own advice, that's embarrassing :}

Actually my patch is for the binary distro effort. We want to implement a test that generates a feed of packages, typically from the tip of a release branch (or master), and then try to use this feed to update an image generated for the latest tag (release or milestone) on this branch.

An idea was to use the images we produce for releases at https://downloads.yoctoproject.org/releases/yocto/, but unfortunately such images don't have package management enabled, which prevents us from using them. That's why I was proposing this.

By the way, do you mean such a config.json file exists for oe-core too. If so, where? Thanks again
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com