From c1da18b58c2b4dd5727f17fb83b70e394b02fe83 Mon Sep 17 00:00:00 2001 From: Samuel Dolt Date: Mon, 6 Feb 2023 15:24:32 +0100 Subject: [PATCH] fix(cockpit-podman): don't call make clean in do_configure --- .../cockpit-podman/cockpit-podman_57.bb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/layers/meta-belden-coreos/recipes-webadmin/cockpit-podman/cockpit-podman_57.bb b/layers/meta-belden-coreos/recipes-webadmin/cockpit-podman/cockpit-podman_57.bb index 6a3e66c..0b26ea1 100644 --- a/layers/meta-belden-coreos/recipes-webadmin/cockpit-podman/cockpit-podman_57.bb +++ b/layers/meta-belden-coreos/recipes-webadmin/cockpit-podman/cockpit-podman_57.bb @@ -9,7 +9,7 @@ SRC_URI += "https://github.com/cockpit-project/cockpit-podman/releases/download/ SRC_URI[sha256sum] = "a42d7dfabdd1a058c5b0f502bfd9380542d9666f047316ea1ff114e7b1db0877" -PR = "r2" +PR = "r3" RDEPENDS:${PN} += "cockpit-bridge podman" @@ -25,15 +25,19 @@ FILES:${PN} += " \ ${datadir}/metainfo/org.cockpit-project.podman.metainfo.xml \ " -# By default make is called inside of do_compile, but we don't have to compile -# anythings +# Do configure call `make clean` by default, and cockpit-podman doesn't expect +# `make clean`to be called from the tarball release +do_configure() { + : +} + +# Do compile call `make` by default, and cockpit-podman doesn't expect +# `make`to be called from the tarball release do_compile() { : } do_install() { - # Call make from the build directory, so that we don't modify the source - # directory cd ${B} oe_runmake -C ${S} install DESTDIR=${D} }