Skip to contentSkip to conversation

cockpit: Separate packagekit and apps packages

PATCH In review Daniel Semkowicz 2 participants 7 messages Sep 18, 2023 – Sep 26, 2023

lore
Share & tools
lore
#0 lore raw

cover cockpit: Separate packagekit and apps packages

"Packagekit" and "apps" Cockpit modules were included in the main ${PN} package. Move them to a separate packages like all other existing Cockpit modules. This allows to choose which modules are installed in the system.

Daniel Semkowicz (2):
cockpit: Move packagekit to a separate package
cockpit: Move apps to a separate package

 meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb | 5 +++++
 1 file changed, 5 insertions(+)
Signature · 1 line
2.41.0
#1 lore raw

PATCH 1/2 cockpit: Move packagekit to a separate package

Packagekit (Software Updates tab) is an optional Cockpit Project package. Make it also an optional package in recipe.

---
 meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb +3 -0
index 17f096f4c..260aaa84e 100644
@@ -60,6 +60,7 @@ PACKAGES =+ " \
     ${PN}-playground \
     ${PN}-docker \
     ${PN}-dashboard \
+    ${PN}-packagekit \
     ${PN}-bridge \
     ${PN}-ws \
     ${PN}-desktop \
@@ -112,6 +113,8 @@ FILES:${PN}-docker = " \
 FILES:${PN}-dashboard = "${datadir}/cockpit/dashboard"
 ALLOW_EMPTY:${PN}-dashboard = "1"
 
+FILES:${PN}-packagekit = "${datadir}/cockpit/packagekit"
+
 FILES:${PN}-bridge = " \
     ${bindir}/cockpit-bridge \
     ${libexec}/cockpit-askpass \
Signature · 1 line
2.41.0
#2 lore raw

PATCH 2/2 cockpit: Move apps to a separate package

In reply to Daniel Semkowicz

Apps (Applications tab) is an optional Cockpit Project package. Make it also an optional package in recipe.

---
 meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb +2 -0
index 260aaa84e..262302424 100644
@@ -61,6 +61,7 @@ PACKAGES =+ " \
     ${PN}-docker \
     ${PN}-dashboard \
     ${PN}-packagekit \
+    ${PN}-apps \
     ${PN}-bridge \
     ${PN}-ws \
     ${PN}-desktop \
@@ -114,6 +115,7 @@ FILES:${PN}-dashboard = "${datadir}/cockpit/dashboard"
 ALLOW_EMPTY:${PN}-dashboard = "1"
 
 FILES:${PN}-packagekit = "${datadir}/cockpit/packagekit"
+FILES:${PN}-apps = "${datadir}/cockpit/apps"
 
 FILES:${PN}-bridge = " \
     ${bindir}/cockpit-bridge \
Signature · 1 line
2.41.0
#3 lore raw
In reply to Daniel Semkowicz

I usually see this error with this package

https://errors.yoctoproject.org/Errors/Details/737847/

Can you see if anything pops up to fix it while you are here ?

Quoted 24 lines · Daniel Semkowicz

"Packagekit" and "apps" Cockpit modules were included in the main ${PN} package. Move them to a separate packages like all other existing Cockpit modules. This allows to choose which modules are installed in the system.

Daniel Semkowicz (2):
cockpit: Move packagekit to a separate package
cockpit: Move apps to a separate package

 meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb | 5 +++++
 1 file changed, 5 insertions(+)

--
2.41.0

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

#4 lore raw

Hello,

Could you please provide some details about test setup? I tried to build cockpit using meta-yoe with yoe distro and qemux86, but it was built without any error. Building using clean poky also does not show any error. It seems to be related to environment.

Best regards
Daniel

Quoted 32 lines · Khem Raj

I usually see this error with this package

https://errors.yoctoproject.org/Errors/Details/737847/

Can you see if anything pops up to fix it while you are here ?

Quoted 24 lines · Daniel Semkowicz

"Packagekit" and "apps" Cockpit modules were included in the main ${PN} package. Move them to a separate packages like all other existing Cockpit modules. This allows to choose which modules are installed in the system.

Daniel Semkowicz (2):
cockpit: Move packagekit to a separate package
cockpit: Move apps to a separate package

 meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb | 5 +++++
 1 file changed, 5 insertions(+)

--
2.41.0

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

#5 lore raw

I usually use - https://github.com/yoedistro/yoe-distro but I think it can be reproduced with poky + meta-openembedded as well.

Quoted 44 lines · Daniel Semkowicz

Hello,

Could you please provide some details about test setup? I tried to build cockpit using meta-yoe with yoe distro and qemux86, but it was built without any error. Building using clean poky also does not show any error. It seems to be related to environment.

Best regards
Daniel

Quoted 32 lines · Khem Raj

I usually see this error with this package

https://errors.yoctoproject.org/Errors/Details/737847/

Can you see if anything pops up to fix it while you are here ?

Quoted 24 lines · Daniel Semkowicz

"Packagekit" and "apps" Cockpit modules were included in the main ${PN} package. Move them to a separate packages like all other existing Cockpit modules. This allows to choose which modules are installed in the system.

Daniel Semkowicz (2):
cockpit: Move packagekit to a separate package
cockpit: Move apps to a separate package

 meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb | 5 +++++
 1 file changed, 5 insertions(+)

--
2.41.0

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

#6 lore raw

I tried yoe-distro on two different hosts and I was not able to reproduce the error. I have built cockpit using following commands:

```
. ./envsetup.sh qemux86
yoe_setup
bitbake cockpit
```

with version:

meta-yoe = "master:3e8908b3b2af1fa9bf45b8abb52753b972341c8a"

I am using podman with container yoedistro/yoe-build:bookworm-x86_64.

Quoted 49 lines · Khem Raj

I usually use - https://github.com/yoedistro/yoe-distro but I think it can be reproduced with poky + meta-openembedded as well.

Quoted 44 lines · Daniel Semkowicz

Hello,

Could you please provide some details about test setup? I tried to build cockpit using meta-yoe with yoe distro and qemux86, but it was built without any error. Building using clean poky also does not show any error. It seems to be related to environment.

Best regards
Daniel

Quoted 32 lines · Khem Raj

I usually see this error with this package

https://errors.yoctoproject.org/Errors/Details/737847/

Can you see if anything pops up to fix it while you are here ?

Quoted 24 lines · Daniel Semkowicz

"Packagekit" and "apps" Cockpit modules were included in the main ${PN} package. Move them to a separate packages like all other existing Cockpit modules. This allows to choose which modules are installed in the system.

Daniel Semkowicz (2):
cockpit: Move packagekit to a separate package
cockpit: Move apps to a separate package

 meta-webserver/recipes-webadmin/cockpit/cockpit_298.bb | 5 +++++
 1 file changed, 5 insertions(+)

--
2.41.0

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