Message ID | 20250106135329.188852-1-Michael.Glembotzki@iris-sensing.com |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBDY5JUXLVIEBBZ6A565QMGQEQF2EY2Q@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=rICuPEPp; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=d2EfBwIx; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::53d; helo=mail-ed1-x53d.google.com; envelope-from=swupdate+bncbdy5juxlviebbz6a565qmgqeqf2ey2q@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-ed1-x53d.google.com (mail-ed1-x53d.google.com [IPv6:2a00:1450:4864:20::53d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4YRbJ20yF0z1yPB for <incoming@patchwork.ozlabs.org>; Tue, 7 Jan 2025 00:53:52 +1100 (AEDT) Received: by mail-ed1-x53d.google.com with SMTP id 4fb4d7f45d1cf-5d3f3d6a922sf6516902a12.1 for <incoming@patchwork.ozlabs.org>; Mon, 06 Jan 2025 05:53:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1736171626; cv=pass; d=google.com; s=arc-20240605; b=J7Wj7KAcf4D9cYrg2qM3EPkNquBbgYrwWb3unhsPWBl0T6tstFTFVeoVp+s41pyY6/ Q0gzylefzkXjUktytfYFQtxiE+aJyxXjeGJ9qGLIw8IwWdaW5ev81VeEncfd9j/gjebT 3ZyaSaXYV3po7OmVmjifMK4YtjXC/ZNHWCXyNuYZM747sQDpVlEK/K48vfNq0Ce/iiQH tVR0WG7mgihdePXWpuH/X0qx9ElVwzYLAffi+Qy4PtiCgRuo5oTMNP0ducdrfe4iVBsW DL7r5HLFMcJB9WxTrX21lr19NOHFoe30ySvbkV6xSVSnZzqOmqFUveXdglKuZjUge+HS Ysmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature:dkim-signature; bh=hgeRBnNQzVBzKgUzTlxDuKJGleObay3vqFEgGJoSFmg=; fh=i7VpIz4O77n6s+Y6U4eg6/E2a8cQ3PieAjYKiVVhuM0=; b=Wez9gnZpwJrYpN88SNexmvLUhr8Lzhc/ZwW2A3SbzyNq7x6qL/qrRjrujq9/IPq9+G JDCMZe1SqWob3Gq9IfsUBu58YKedZdN/+7PZ6N746zzhuyC3lYKV3thDp1pok6MOTgJb bCWNEkyIzyY7JaqYnaBLhcTkmTczKikewaq6pTJuwxKsBbzpVGXSIrgVOyT3igQcxRAo CmqoNKABlDqPThUi3OhWNE2oqLNFvCJSzl2isCoHSUsjVyXndEmp5tfLn4UhHs/jXihX 8uPr/8oaGaDdofL6GVDN0T8gFpbYOp00TYckkRqq7Ud7/87liuDn4zslc7y4Jg3MUid7 zfpg==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="F//q3LdO"; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1736171626; x=1736776426; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=hgeRBnNQzVBzKgUzTlxDuKJGleObay3vqFEgGJoSFmg=; b=rICuPEPpKtTehh+rEPOcrQpT+ThADoc3q0P22Sf7NNIHAiP5n/nJLGHbr1O95aF8hJ f0h+p4nEzXLwOHy6mZeoZUmyTyOqF3Nufw83YwRDJW7ho4CWuVUWK/SAb3936i1zuK5+ TSDGzu6pJ3QR11hNc57Gedmc3YuZ7g7TxkNqHdoFLIcZHgfmK08H1x2zbX9UP21M25jf cMx2eIVTSdpPyYe9oDrYhIwxNGFhLhF5S6/WAPgxAQCSpvfMhgZliOmgT1Nl7v3G+gH0 N/8pBE6QKdCBtMGrr4SbXsSfAEhzl4hs6clNDaMb1ms4ohhBeczY+IkaTaRkooTn+ZR5 bbug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736171626; x=1736776426; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=hgeRBnNQzVBzKgUzTlxDuKJGleObay3vqFEgGJoSFmg=; b=d2EfBwIxcwXLCi9Ocf8kFmucW+WSVLU19r4AfT7nxHUlM0Rq54aAChSxYyWNRbFnPG t7qzYhxPxYBQ8sJDPYKEZH2+WS//kFHOc4c9mR9N7sDMxowBK0mronK4oegQJDdM35XA PvqQbZfjBB4Ly4aCUaLc5csvd69IqZxo5N1Eo4Emj+eS2Y+qypQykMEu7wqfAriqC5yy 46ximkxlOoYD7KNdCDVe/zeNcxjRDrMBinBRPqC2kVoKYQQTQ/kCA+DmljQ8ZjbYzXed THjEpflTQtyth431/ztOhrjLiumHklySOBdC0OiypJ1NENG+4Nm9yTuLYEy51RbGYffd vftQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736171626; x=1736776426; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=hgeRBnNQzVBzKgUzTlxDuKJGleObay3vqFEgGJoSFmg=; b=vKfAfZiFE9isZMTvjisFGYzSyz9fTtd91nfKlrzrEeBkko1m5rOAmPhwhPfv4G+XPi WHG6lwZkHEDeRNAXk34kM+kDfOLQmuofpc6ly+lQ6Kv3DmVT82AI4/palzX6O6DO7QN4 /UIqmY7t5r48bhXd8NkXB2Ub5Ej+2nfalizEuFx4WfsRmraIeY4KbhvNi2rDPjvKG8s+ AOE4ezO8WhU9ZcES7CFSN4UJag3p/+4YYMvbFfbVMCbPzGgZ5MwOQlD4sffy11FhUWqw 1j6q4t5KOkuUnPUmMdJ12msjNmA3cjAUHfIwzt1P9yEgAa3DytnQB708g9mMayKXAX36 qkfg== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUgo4q0/CpNWdd9NbhHERm9G6IuG0XuSJ9RcB1U7j5i+lAcFIudXZ1yMHaQeWw1xKICy6B6CC6D3g==@patchwork.ozlabs.org X-Gm-Message-State: AOJu0Yw4dzYGVp+FXaB/Rf2OaY3Hr0yXm5M0NvqDQrvfpXTMOEoO19vJ in9gnqdlYEvNFpt5mQAypNIvsCCx3LYNl8sUjZy1nXq8t7Qc0ibW X-Google-Smtp-Source: AGHT+IHNSq2dZNLYz8T+tkRyboq0YxTukEsoUBWAWyNlnXPAgVEDNpym2NDwwoJ57xLY73GAXmcCmQ== X-Received: by 2002:a05:6402:540a:b0:5d1:f009:9266 with SMTP id 4fb4d7f45d1cf-5d81ddd6d22mr54345361a12.2.1736171624908; Mon, 06 Jan 2025 05:53:44 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a50:ba81:0:b0:5d3:cfc7:9eef with SMTP id 4fb4d7f45d1cf-5d928209f7cls300637a12.1.-pod-prod-08-eu; Mon, 06 Jan 2025 05:53:41 -0800 (PST) X-Received: by 2002:a05:6402:50d4:b0:5d3:ba42:e9f4 with SMTP id 4fb4d7f45d1cf-5d81de488admr55784324a12.23.1736171621343; Mon, 06 Jan 2025 05:53:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736171621; cv=none; d=google.com; s=arc-20240605; b=e1srI3cxUxHWpsuGTge7o54zeXD5MRYU+ymiwBsBa3zY2UzqTTG+7P+BOY7B9SFh19 xRd9JdrIzNL3mjqYYLdTqjqpgkyx12MVFTeSgBtvcKeuuHxaPcabuzxWcZYv35eRbO3L dRgO8EcS1GM/UTsmIWIiGT694jq4mWVMOtvzaOo2G3VYxldH+f+Mbqohdc78KlMATSRH 8d+I0bk59LlhZTXaIoL0ogFsIO/JWWYjMBV+hZI6QhN/Sn3XhNUZZSbayX/H7hTWM/wy O4B9AZs8P1Z5DWbiaeKeFnEJk+QxE7ORsiOAg6fu2Iu5+c9+AZDePocNyjKqA6C/USXb Lscg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=r+pduV4Mzb84C0c2UayWV/MbebzpvQ+aF8w1FKF1I0A=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=PtnRH4bHJc5KyDb9hQ9Qv65ZPbvZd6sZWWgP9PS2sKVpYf5vNW/v+KKEB526JlN+2A GqRnIT+vFmCHfY/cQiOyHjKnRD2UgSaR8fbR+StAPhRtU7twn4tAJ3l0oVH8webMe0SP GD25e5kqPQVrwed5xDoIHunE8Txq8vKZm3dLrW2en2dcfU6z18VKU+dwPdi+zqSXpFHH 46nkFdsP/sS3u2qyEmLyTpx97Ns+ngWI/kmuwiJ90W3OuUXRxJ8jnOlSMua+UZPvMsvZ VRaOg3V17h3UDj6rlWqw+Kna+IEeLkhNZCIpVgwy6xoMdz7+tSpk1otxAqC3y1bH47HE eRYQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="F//q3LdO"; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com. [2a00:1450:4864:20::632]) by gmr-mx.google.com with ESMTPS id 4fb4d7f45d1cf-5d80701fefesi746712a12.5.2025.01.06.05.53.41 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jan 2025 05:53:41 -0800 (PST) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) client-ip=2a00:1450:4864:20::632; Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-aaec111762bso2315110666b.2 for <swupdate@googlegroups.com>; Mon, 06 Jan 2025 05:53:41 -0800 (PST) X-Gm-Gg: ASbGncu9b0tBKkReyuPe23P91+sW2JXXHjChB6MIRr3sZ0PeaZBurisnjkBSgOoE6Pa bqdsFVckZsPF9BzFSy9NYh5YgUFQBeT2UZ05wm7XAmyyUbjjFbMC98My8/GrSPCJATtZui1XTB7 k83fpLIPC9SN8bzeoaV1pFew2taWw0br+C+IyfOb1aVQIpxhZ5cYzzQjJYorosXwApasRnl3JXZ lloryaXy2eyR9U1leUPKT72EyrOjJJP+59RpFCjq1UW/I8Sj2nf+t0MqWMYtbF6Tnv4E6pxXHyA GlyQHX+OEG+Ez8XDSZbn7/dujkvz0d30Vk1hLDvb9OzPA3IIGz8DWKxxcv8lJso+Xg== X-Received: by 2002:a17:906:f5a6:b0:aae:b259:ef6c with SMTP id a640c23a62f3a-aaeb259f285mr4788396166b.0.1736171620318; Mon, 06 Jan 2025 05:53:40 -0800 (PST) Received: from PC-2635.fritz.box (dslb-090-186-058-224.090.186.pools.vodafone-ip.de. [90.186.58.224]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e8954bfsm2285714366b.60.2025.01.06.05.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 05:53:39 -0800 (PST) From: Michael Glembotzki <m.glembo@gmail.com> To: swupdate@googlegroups.com Cc: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> Subject: [swupdate] [meta-swupdate][PATCH] packagegroup-core-standalone-sdk-target: Add missing RDEPENDS to the swupdate SDK Date: Mon, 6 Jan 2025 14:53:29 +0100 Message-ID: <20250106135329.188852-1-Michael.Glembotzki@iris-sensing.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-Original-Sender: m.glembo@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="F//q3LdO"; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[meta-swupdate] packagegroup-core-standalone-sdk-target: Add missing RDEPENDS to the swupdate SDK
|
expand
|
diff --git a/recipes-core/packagegroup/packagegroup-core-standalone-sdk-target.bbappend b/recipes-core/packagegroup/packagegroup-core-standalone-sdk-target.bbappend new file mode 100644 index 0000000..db2dfe9 --- /dev/null +++ b/recipes-core/packagegroup/packagegroup-core-standalone-sdk-target.bbappend @@ -0,0 +1,18 @@ +RDEPENDS:${PN} += "\ + btrfs-tools \ + curl \ + e2fsprogs \ + json-c \ + libarchive \ + libgpiod \ + librsync \ + libubootenv \ + libwebsockets \ + lua-staticdev \ + mtd-utils-staticdev \ + uriparser \ + util-linux \ + zchunk \ + zeromq \ + zstd \ +"
The SDK for a custom image is not able to compile full featured swupdate, because some libs and headers are missing (liblua.a, libcurl.so, ..). The static linked libs are excluded in the sdk and dynamic linked libs are only added (as depends in swupdate.inc), if the associated CONFIG was enabled. corelib/lua_interface.c:20:10: fatal error: lua.h: No such file or directory 20 | #include "lua.h" | ^~~~~~~ corelib/channel_curl.c:20:10: fatal error: curl/curl.h: No such file or directory 20 | #include <curl/curl.h> | ^~~~~~~~~~~~~ Using TOOLCHAIN_TARGET_TASK += "lua-staticdev" in a custom image recipe has the overhead of figuring out, what libs are relevant to build swupdate. For easier development / meta-layer integration let's add the missing dependencies via packagegroup-core-standalone-sdk-target. The libs are now implicit added to TOOLCHAIN_TARGET_TASK via: populate_sdk_base: TOOLCHAIN_TARGET_TASK += "packagegroup-core-standalone-sdk-target" Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> --- ...gegroup-core-standalone-sdk-target.bbappend | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-core/packagegroup/packagegroup-core-standalone-sdk-target.bbappend