diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-05-08 18:26:25 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-05-09 00:10:51 -0700 |
commit | 6b720074c46709b84436c813fa87387bb5584882 (patch) | |
tree | 8392ec7bdabaf73120fc019bf3b110d402e1c288 | |
parent | 273c29232e0d2d1bdb65bb8abd053b1fa4b7733c (diff) | |
download | meta-openembedded-6b720074c46709b84436c813fa87387bb5584882.tar.gz |
cockpit: Upgrade to 337
Get rid of remoeved configure options
ERROR: QA Issue: cockpit: configure was passed unrecognised options: --disable-pcp --enable-old-bridge --with-cockpit-ws-instance-user --disable-ssh --disable-polkit --with-cockpit-ws-instance-group --with-cockpit-group --with-cockpit-user [unknown-configure-option]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-webserver/recipes-webadmin/cockpit/cockpit_337.bb (renamed from meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb) | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_337.bb index edd51bc671..b456fe1951 100644 --- a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb +++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_337.bb | |||
@@ -9,7 +9,7 @@ SRC_URI += " \ | |||
9 | file://0001-Warn-not-error-if-xsltproc-is-not-found.patch \ | 9 | file://0001-Warn-not-error-if-xsltproc-is-not-found.patch \ |
10 | file://cockpit.pam \ | 10 | file://cockpit.pam \ |
11 | " | 11 | " |
12 | SRC_URI[sha256sum] = "a87d090c930e2058bb3e970ca7f2bafe678687966b5c0b8b42a802977e391ce9" | 12 | SRC_URI[sha256sum] = "df51ef5920fae69e1b435f657376aa93772c0c1720b954a3bac10ebba26bfedf" |
13 | 13 | ||
14 | inherit gettext pkgconfig autotools systemd features_check | 14 | inherit gettext pkgconfig autotools systemd features_check |
15 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'old-bridge', '', 'python3targetconfig', d)} | 15 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'old-bridge', '', 'python3targetconfig', d)} |
@@ -24,15 +24,10 @@ RDEPENDS:${PN} += "glib-networking" | |||
24 | REQUIRED_DISTRO_FEATURES = "systemd pam" | 24 | REQUIRED_DISTRO_FEATURES = "systemd pam" |
25 | 25 | ||
26 | COCKPIT_USER_GROUP ?= "root" | 26 | COCKPIT_USER_GROUP ?= "root" |
27 | COCKPIT_WS_USER_GROUP ?= "${COCKPIT_USER_GROUP}" | ||
28 | 27 | ||
29 | EXTRA_AUTORECONF = "-I tools" | 28 | EXTRA_AUTORECONF = "-I tools" |
30 | EXTRA_OECONF = " \ | 29 | EXTRA_OECONF = " \ |
31 | --with-cockpit-user=${COCKPIT_USER_GROUP} \ | ||
32 | --with-cockpit-group=${COCKPIT_USER_GROUP} \ | ||
33 | --with-admin-group=${COCKPIT_USER_GROUP} \ | 30 | --with-admin-group=${COCKPIT_USER_GROUP} \ |
34 | --with-cockpit-ws-instance-user=${COCKPIT_WS_USER_GROUP} \ | ||
35 | --with-cockpit-ws-instance-group=${COCKPIT_WS_USER_GROUP} \ | ||
36 | --disable-doc \ | 31 | --disable-doc \ |
37 | --with-systemdunitdir=${systemd_system_unitdir} \ | 32 | --with-systemdunitdir=${systemd_system_unitdir} \ |
38 | --with-pamdir=${base_libdir}/security \ | 33 | --with-pamdir=${base_libdir}/security \ |
@@ -40,14 +35,12 @@ EXTRA_OECONF = " \ | |||
40 | 35 | ||
41 | PACKAGECONFIG ??= " \ | 36 | PACKAGECONFIG ??= " \ |
42 | ${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ | 37 | ${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ |
43 | old-bridge \ | ||
44 | " | 38 | " |
45 | 39 | ||
46 | PACKAGECONFIG[pcp] = "--enable-pcp,--disable-pcp,pcp" | 40 | PACKAGECONFIG[pcp] = ",,pcp" |
47 | PACKAGECONFIG[dashboard] = "--enable-ssh,--disable-ssh,libssh" | 41 | PACKAGECONFIG[dashboard] = ",,libssh" |
48 | PACKAGECONFIG[storaged] = ",,,udisks2" | 42 | PACKAGECONFIG[storaged] = ",,udisks2" |
49 | PACKAGECONFIG[polkit] = "--enable-polkit,--disable-polkit,polkit" | 43 | PACKAGECONFIG[polkit] = ",,polkit" |
50 | PACKAGECONFIG[old-bridge] = "--enable-old-bridge" | ||
51 | 44 | ||
52 | PACKAGES =+ " \ | 45 | PACKAGES =+ " \ |
53 | ${PN}-pcp \ | 46 | ${PN}-pcp \ |
@@ -83,27 +76,28 @@ FILES:${PN}-systemd = "${datadir}/cockpit/systemd" | |||
83 | FILES:${PN}-users = "${datadir}/cockpit/users" | 76 | FILES:${PN}-users = "${datadir}/cockpit/users" |
84 | FILES:${PN}-kdump = " \ | 77 | FILES:${PN}-kdump = " \ |
85 | ${datadir}/cockpit/kdump \ | 78 | ${datadir}/cockpit/kdump \ |
86 | ${datadir}/metainfo/org.cockpit-project.cockpit-kdump.metainfo.xml \ | 79 | ${datadir}/metainfo/org.cockpit_project.cockpit_kdump.metainfo.xml \ |
87 | " | 80 | " |
88 | FILES:${PN}-sosreport = " \ | 81 | FILES:${PN}-sosreport = " \ |
89 | ${datadir}/cockpit/sosreport \ | 82 | ${datadir}/cockpit/sosreport \ |
90 | ${datadir}/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml \ | 83 | ${datadir}/metainfo/org.cockpit_project.cockpit_sosreport.metainfo.xml \ |
91 | ${datadir}/pixmaps/cockpit-sosreport.png \ | 84 | ${datadir}/pixmaps/cockpit-sosreport.png \ |
85 | ${datadir}/icons/hicolor/64x64/apps/cockpit-sosreport.png \ | ||
92 | " | 86 | " |
93 | FILES:${PN}-storaged = " \ | 87 | FILES:${PN}-storaged = " \ |
94 | ${datadir}/cockpit/storaged \ | 88 | ${datadir}/cockpit/storaged \ |
95 | ${datadir}/metainfo/org.cockpit-project.cockpit-storaged.metainfo.xml \ | 89 | ${datadir}/metainfo/org.cockpit_project.cockpit_storaged.metainfo.xml \ |
96 | " | 90 | " |
97 | 91 | ||
98 | FILES:${PN}-networkmanager = " \ | 92 | FILES:${PN}-networkmanager = " \ |
99 | ${datadir}/cockpit/networkmanager \ | 93 | ${datadir}/cockpit/networkmanager \ |
100 | ${datadir}/metainfo/org.cockpit-project.cockpit-networkmanager.metainfo.xml \ | 94 | ${datadir}/metainfo/org.cockpit_project.cockpit_networkmanager.metainfo.xml \ |
101 | " | 95 | " |
102 | RDEPENDS:${PN}-networkmanager = "networkmanager" | 96 | RDEPENDS:${PN}-networkmanager = "networkmanager" |
103 | 97 | ||
104 | FILES:${PN}-selinux = " \ | 98 | FILES:${PN}-selinux = " \ |
105 | ${datadir}/cockpit/selinux \ | 99 | ${datadir}/cockpit/selinux \ |
106 | ${datadir}/metainfo/org.cockpit-project.cockpit-selinux.metainfo.xml \ | 100 | ${datadir}/metainfo/org.cockpit_project.cockpit_selinux.metainfo.xml \ |
107 | " | 101 | " |
108 | FILES:${PN}-playground = "${datadir}/cockpit/playground" | 102 | FILES:${PN}-playground = "${datadir}/cockpit/playground" |
109 | FILES:${PN}-dashboard = "${datadir}/cockpit/dashboard" | 103 | FILES:${PN}-dashboard = "${datadir}/cockpit/dashboard" |
@@ -143,6 +137,9 @@ FILES:${PN}-ws = " \ | |||
143 | ${systemd_system_unitdir}/cockpit-wsinstance-https@.socket \ | 137 | ${systemd_system_unitdir}/cockpit-wsinstance-https@.socket \ |
144 | ${systemd_system_unitdir}/cockpit-wsinstance-https@.service \ | 138 | ${systemd_system_unitdir}/cockpit-wsinstance-https@.service \ |
145 | ${systemd_system_unitdir}/system-cockpithttps.slice \ | 139 | ${systemd_system_unitdir}/system-cockpithttps.slice \ |
140 | ${systemd_system_unitdir}/cockpit-session-socket-user.service \ | ||
141 | ${systemd_system_unitdir}/cockpit-wsinstance-socket-user.service \ | ||
142 | ${systemd_system_unitdir}/cockpit-issue.service \ | ||
146 | ${libdir}/tmpfiles.d/cockpit-tempfiles.conf \ | 143 | ${libdir}/tmpfiles.d/cockpit-tempfiles.conf \ |
147 | ${sbindir}/remotectl \ | 144 | ${sbindir}/remotectl \ |
148 | ${base_libdir}/security/pam_ssh_add.so \ | 145 | ${base_libdir}/security/pam_ssh_add.so \ |
@@ -169,7 +166,8 @@ FILES:${PN} += " \ | |||
169 | ${datadir}/cockpit/ssh \ | 166 | ${datadir}/cockpit/ssh \ |
170 | ${libexecdir}/cockpit-ssh \ | 167 | ${libexecdir}/cockpit-ssh \ |
171 | ${datadir}/cockpit \ | 168 | ${datadir}/cockpit \ |
172 | ${datadir}/metainfo/cockpit.appdata.xml \ | 169 | ${datadir}/icons/hicolor/128x128/apps/cockpit.png \ |
170 | ${datadir}/metainfo/org.cockpit_project.cockpit.appdata.xml \ | ||
173 | ${datadir}/pixmaps/cockpit.png \ | 171 | ${datadir}/pixmaps/cockpit.png \ |
174 | ${nonarch_libdir}/tmpfiles.d \ | 172 | ${nonarch_libdir}/tmpfiles.d \ |
175 | ${nonarch_libdir}/firewalld \ | 173 | ${nonarch_libdir}/firewalld \ |
@@ -187,7 +185,12 @@ do_install:append() { | |||
187 | install -p -m 0644 ${UNPACKDIR}/cockpit.pam ${D}${sysconfdir}/pam.d/cockpit | 185 | install -p -m 0644 ${UNPACKDIR}/cockpit.pam ${D}${sysconfdir}/pam.d/cockpit |
188 | 186 | ||
189 | # provided by firewalld | 187 | # provided by firewalld |
190 | rm -rf ${D}${libdir}/firewalld | 188 | rm -rf ${D}${libdir}/firewalld \ |
189 | ${D}${PYTHON_SITEPACKAGES_DIR}/*/__pycache__ \ | ||
190 | ${D}${PYTHON_SITEPACKAGES_DIR}/*/*/__pycache__ \ | ||
191 | ${D}${PYTHON_SITEPACKAGES_DIR}/*/*/*/__pycache__ \ | ||
192 | ${D}${PYTHON_SITEPACKAGES_DIR}/*/*/*/*/__pycache__ \ | ||
193 | ${D}${PYTHON_SITEPACKAGES_DIR}/${BP}.dist-info/direct_url.json | ||
191 | 194 | ||
192 | if ! ${@bb.utils.contains('PACKAGECONFIG', 'storaged', 'true', 'false', d)}; then | 195 | if ! ${@bb.utils.contains('PACKAGECONFIG', 'storaged', 'true', 'false', d)}; then |
193 | for filename in ${FILES:${PN}-storaged} | 196 | for filename in ${FILES:${PN}-storaged} |