summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Semkowicz <dse@thaumatec.com>2025-10-16 09:37:45 +0200
committerKhem Raj <raj.khem@gmail.com>2025-10-16 08:48:35 -0700
commit6a5ffc346658afb41234534951a475b66c102828 (patch)
treea70cebfa3413c4de36b22bd6d1b171eba1a31874
parentd8d4b7ab8829ff620b04f66435e415efe9412f86 (diff)
downloadmeta-openembedded-6a5ffc346658afb41234534951a475b66c102828.tar.gz
cockpit: Upgrade to 349
Remove the patch with the fix that is already present in the new version. Signed-off-by: Daniel Semkowicz <dse@thaumatec.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-webserver/recipes-webadmin/cockpit/cockpit_349.bb (renamed from meta-webserver/recipes-webadmin/cockpit/cockpit_337.bb)3
-rw-r--r--meta-webserver/recipes-webadmin/cockpit/files/0001-Makefile-common.am-Create-src-common-directory-befor.patch34
2 files changed, 1 insertions, 36 deletions
diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_337.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_349.bb
index 522d129502..4726386f6c 100644
--- a/meta-webserver/recipes-webadmin/cockpit/cockpit_337.bb
+++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_349.bb
@@ -7,10 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
7SRC_URI += " \ 7SRC_URI += " \
8 https://github.com/cockpit-project/cockpit/releases/download/${PV}/cockpit-${PV}.tar.xz \ 8 https://github.com/cockpit-project/cockpit/releases/download/${PV}/cockpit-${PV}.tar.xz \
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://0001-Makefile-common.am-Create-src-common-directory-befor.patch \
11 file://cockpit.pam \ 10 file://cockpit.pam \
12 " 11 "
13SRC_URI[sha256sum] = "df51ef5920fae69e1b435f657376aa93772c0c1720b954a3bac10ebba26bfedf" 12SRC_URI[sha256sum] = "2fa8eef40968135fb6df866a415eba8d4d5adbf4d44f293f28d4f3c841b301bb"
14 13
15inherit gettext pkgconfig autotools systemd features_check python3targetconfig 14inherit gettext pkgconfig autotools systemd features_check python3targetconfig
16 15
diff --git a/meta-webserver/recipes-webadmin/cockpit/files/0001-Makefile-common.am-Create-src-common-directory-befor.patch b/meta-webserver/recipes-webadmin/cockpit/files/0001-Makefile-common.am-Create-src-common-directory-befor.patch
deleted file mode 100644
index 36cb6c09c7..0000000000
--- a/meta-webserver/recipes-webadmin/cockpit/files/0001-Makefile-common.am-Create-src-common-directory-befor.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From fb3b427bcbc17257ac8c38438a82435b2bd36e38 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 9 May 2025 16:17:05 -0700
4Subject: [PATCH] Makefile-common.am: Create src/common directory before
5 generating fail-html.c
6
7During parallel builds, its possible that <build>/src/common directory is
8not yet created and this codepath to generate fail-html.c is executed and
9it will end in build failures
10
11Fixes
12 make[1]: Entering directory 'build/tmp/work/riscv64-yoe-linux/cockpit/337/build'
13 ../cockpit-337/tools/escape-to-c cockpit_webresponse_fail_html_text < ../cockpit-337/src/common/fail.html > src/common/fail-html.c.tmp && mv src/common/fail-html.c.tmp src/common/fail-html.c
14 /bin/bash: src/common/fail-html.c.tmp: No such file or directory
15 make[1]: *** [Makefile:6044: src/common/fail-html.c] Error 1
16
17Upstream-Status: Pending
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 src/common/Makefile-common.am | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/src/common/Makefile-common.am b/src/common/Makefile-common.am
24index ec4b30d..1d55576 100644
25--- a/src/common/Makefile-common.am
26+++ b/src/common/Makefile-common.am
27@@ -94,6 +94,7 @@ libcockpit_common_a_SOURCES = \
28 # libcockpit-common.a static-links an HTML template to use on failures
29 nodist_libcockpit_common_a_SOURCES = src/common/fail-html.c
30 src/common/fail-html.c: src/common/fail.html
31+ $(MKDIR_P) $(dir $@)
32 $(AM_V_GEN) $(top_srcdir)/tools/escape-to-c cockpit_webresponse_fail_html_text < $< > $@.tmp && mv $@.tmp $@
33 CLEANFILES += src/common/fail-html.c
34 EXTRA_DIST += src/common/fail.html