From patchwork Wed Mar 27 21:17:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "G. Salvatella" X-Patchwork-Id: 1917034 X-Patchwork-Delegate: sbabic@denx.de Return-Path: 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=JHqKsWSk; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::1039; helo=mail-pj1-x1039.google.com; envelope-from=swupdate+bncbaabblmzskyamgqe4cvg7jy@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-pj1-x1039.google.com (mail-pj1-x1039.google.com [IPv6:2607:f8b0:4864:20::1039]) (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 4V4fcK4V4bz1yWr for ; Thu, 28 Mar 2024 08:16:32 +1100 (AEDT) Received: by mail-pj1-x1039.google.com with SMTP id 98e67ed59e1d1-29de3646c56sf233929a91.2 for ; Wed, 27 Mar 2024 14:16:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711574190; cv=pass; d=google.com; s=arc-20160816; b=eKjG+J6/joOS1dZR5wGLBspu/G5N2B54bhhHKxctf0zo4LZGlt2GHz/11Reg6nZPzt PAGpbRQMLoKaBZLmmz/VkKEsknhM+UNxiOeLHj1+mbZU2dg5eeCM7835kG17zhAFs7Mp e4WoIMA7DB3296HxDxGbtGIHgcZJKvkaXyyRmzrSDnt/kmjT4sv4pvp9kyjVsNdrhH68 tDHq5SAPCty6xp8kzigI2SO1biaijjHzAfi/dmyxVsZJcB/P0SZj5NOv6V7Jenao1ONn Bw/M1dC4gdNLIP+JLvmMYeK9wAHdb47OFK1nyUX84z+wdi37d2QFWfZhX+DgO/wyeD56 dT0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=89fPn+37PvRTdcq4PpYFG/lhnS1aTqEqOOvlNd0kfrI=; fh=TIxE/B6F0dIKAnSJBb4/jwEzatQ1JRIYMcB07tnP4aA=; b=DKhq+5TY6AekXnHdE1P7k3wxafXaTM84xUNkGkYSh5jpFHu5mmU5cGXgcyeFSlcS9a fW2tzjUJjh292VUTLYdqRjAZUPtIMR0SGJ4qaEoaYtanp2XkrErNDa52TxHlVAbj8hxH Y88YzgCou+wsgfm1Xm4o8eFRl1FIYY8nuxwrhj/7uWN8umB3qmqgqpsWQQudahaeMSh0 KoTqmIdgqqqGa8FW0hnSVM4b2ouNl8UW7/Xer8+xJUa91EUdmh1LaB1MEBImgNY5KEju hGNsdHn4/P4WJFiKCcFykeXJ9JvBkZhe+jA/8vHxPJkTJovxS9MZBQiAiZzYUr+0EZ3B 03vA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=ISZNUWMB; spf=pass (google.com: domain of fm-1321161-20240327211625d704a7eea77e8b7bd0-o1ys8e@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1321161-20240327211625d704a7eea77e8b7bd0-O1yS8e@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1711574190; x=1712178990; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=89fPn+37PvRTdcq4PpYFG/lhnS1aTqEqOOvlNd0kfrI=; b=JHqKsWSkQpJaBSzOSicoQfLWnPIPPvhWknoiqWfmrUkB/u4cDcWLHtPlm8DnS4/KOI 4+maEzYbG+cbTfKRWOv37Tga7U+6RF7E8c0jtQ25Jjs6YfcEpAr6Pq6FXPiPlgDbhokL j5/YB6I+EGmqMg3QF8T1BTea89sFasbZcxeaaTehQp1A0Pfjm7tbuBfZKFTxOMfSsxza t0nyivaVIclJS6dP8GxKHgnj4N0rHTlFY7JnCDqnVR0fKLmCQei1ek1kfoNEoZrAlTvW EFOklSnWoDVi9r0M9CDbIR4AQ+drkHpF20G4rSRnr5w3MyeHPQT/f86lTLwt8Kghx7p+ wy9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711574190; x=1712178990; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=89fPn+37PvRTdcq4PpYFG/lhnS1aTqEqOOvlNd0kfrI=; b=txtOqn8ZL2eK8ev0BFuNBhpTuZw+8wRjiTHTsetS0YVO07xAq6BXSjrTgcuJc5vYCd dIRllOoqmm0lnDC2esiKxHA8Taw+J6/WVGUQihrNXFCjYNWA5bvgPNpCEM/bcL0HtY1o vF2tthppCSvOwDwzAR6b2pmhagVHP9WgoqA81yiN8/1CQwEpiQO4IX8iYoMIacjP8WEy gnHl1jvI9OHzAweOyVwetFoK2yTVqPCjU9i05m+7DX3GKYLhS3A40oVp84W5QfmVDgOO f3oRhjkZYLcyXlIvlRmtVFeRtFUBbqDH+QZsQTWgzCAR9j+2RphcpSfIsJv95q9fJAVt Bs+Q== X-Forwarded-Encrypted: i=2; AJvYcCWYkcZ63LEYDEixC6gKA4mGQpiBALbQQgz/nTMOdAk0tE13n9SaX++NhaxvReCZBb09asjVkfbh5R5uKNxVl1H4WwVjOjx/BuwJ21y4kQ== X-Gm-Message-State: AOJu0Yw7wL3NXN0d8D0raeZAVjlmoPMRz+YNvI9So/5dSXmFctM1EUuU o2CTn+6OzTmqz9AM0JiaUs0/n50btPfDdQmSF//a9DL3doKKUpG6 X-Google-Smtp-Source: AGHT+IEH/dt6tplDp3c5NZNJuKgj25mBe3D9WYhjAmpRTuch+LF9OpP5yKff6iqtZwJqGS8wzv1dxA== X-Received: by 2002:a17:90a:9cb:b0:29f:e443:204f with SMTP id 69-20020a17090a09cb00b0029fe443204fmr924966pjo.18.1711574189838; Wed, 27 Mar 2024 14:16:29 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a17:90b:8a:b0:2a0:976b:63c8 with SMTP id bb10-20020a17090b008a00b002a0976b63c8ls153934pjb.1.-pod-prod-07-us; Wed, 27 Mar 2024 14:16:28 -0700 (PDT) X-Received: by 2002:a17:90a:ad81:b0:2a0:409e:368 with SMTP id s1-20020a17090aad8100b002a0409e0368mr822251pjq.3.1711574188362; Wed, 27 Mar 2024 14:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711574188; cv=none; d=google.com; s=arc-20160816; b=tdbwG0g0jreL29Io5u60Xcpp+g8OWVfnI9JmIFzcjhvQU44W6FAY9yuwph3w35W7xW rfHvGPzqZ3vtD/HfWrCwjv+LyGYjaLyzp7khPpP9k4Pkv6t4xrs6Vt5hGeStG2oiZ7KH BEjLooFt9OxvUpU6sCbxvKbEcIv38o8P9Fu3nrDeygF5JU9KGhW5k/6YRPX00LBD3Ecd Q4O54ZpviojngoeJdEJwVXSFQSj8O6yrA4hKiDgr9yKWIydBEQOgF5l3BfJUyLCUA+XE diwV/PCa+Q5I2RlkCeFoGOtnF/uVi1V/n4PoiPtoMbHQBm45Xliux3rJJV97rQKpTXs0 fV3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=bDGxAfyuYpRJAB8FQz7qtrxXGsHdOdOQ50n/7oGQ4Ls=; fh=tE0vTJjea7X0hNiN3l0BZyti+C7nK0U+2PpCBD9RYIc=; b=XBB46msyHBrGIB3gQucGjAamDQOYIeL4tSOMma7L7waxrrn9QpQn+CzGVYPDcxddsu 9L+TpPy7znwUTvQ0O+z8/fbzjKbQLXmM2ObAzT68pg8681pX3jNb+eQP3iNBmmXeClQ/ xxqKiU9dzEQxhM4UBw4Vz2n7UidT7s+PspTJM+gl2A4ITYYGQmVfpanRfK1YvGzQXXmk Jh5qkPDWhaCocc/q3qmC80jWDVYmPHE4emkDl0pvnKo2YqX4Opl11+NCzBnp+8RNVBQP WYE2EFuXSCS0OcS+6Hn9yk1pHpEAgpZKKAglE2ihJ/hHguBmc72V7erQZNRg7r6DY2UK 17tw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=ISZNUWMB; spf=pass (google.com: domain of fm-1321161-20240327211625d704a7eea77e8b7bd0-o1ys8e@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1321161-20240327211625d704a7eea77e8b7bd0-O1yS8e@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id ot9-20020a17090b3b4900b002a1f2f67ea4si199197pjb.1.2024.03.27.14.16.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2024 14:16:27 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1321161-20240327211625d704a7eea77e8b7bd0-o1ys8e@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20240327211625d704a7eea77e8b7bd0 for ; Wed, 27 Mar 2024 22:16:25 +0100 X-Patchwork-Original-From: "'G. Salvatella' via swupdate" From: "G. Salvatella" To: swupdate@googlegroups.com Cc: Gerard Salvatella , Gerard Salvatella Subject: [swupdate] [meta-swupdate][PATCH v2] initscripts-swupdate: remove `virtual/` build warnings Date: Wed, 27 Mar 2024 22:17:19 +0100 Message-ID: <20240327211725.1642671-1-gerard.salvatella@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1321161:519-21489:flowmailer X-Original-Sender: gerard.salvatella@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=ISZNUWMB; spf=pass (google.com: domain of fm-1321161-20240327211625d704a7eea77e8b7bd0-o1ys8e@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1321161-20240327211625d704a7eea77e8b7bd0-O1yS8e@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: "G. Salvatella" Reply-To: "G. Salvatella" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , From: Gerard Salvatella Replace the `virtual/` syntax with the recommended `VIRTUAL-RUNTIME_` variables to prevent build warnings since scarthgap. (See Poky rev: 9b5b62879979de3488c920f21ea358e72ff1e443) Signed-off-by: Gerard Salvatella --- v2: Fix typo VIRUTAL ==> VIRTUAL (Stefano Babic) recipes-core/initscripts-swupdate/initscripts-swupdate-usb.bb | 2 -- recipes-extended/images/swupdate-image.inc | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-core/initscripts-swupdate/initscripts-swupdate-usb.bb b/recipes-core/initscripts-swupdate/initscripts-swupdate-usb.bb index c57c340..7918dfa 100644 --- a/recipes-core/initscripts-swupdate/initscripts-swupdate-usb.bb +++ b/recipes-core/initscripts-swupdate/initscripts-swupdate-usb.bb @@ -7,8 +7,6 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda SRC_URI = "file://rcS.swupdate \ " -RPROVIDES:${PN} += "virtual/initscripts-swupdate" - S = "${WORKDIR}" inherit allarch update-alternatives diff --git a/recipes-extended/images/swupdate-image.inc b/recipes-extended/images/swupdate-image.inc index 795b4a2..9138656 100644 --- a/recipes-extended/images/swupdate-image.inc +++ b/recipes-extended/images/swupdate-image.inc @@ -4,6 +4,8 @@ USE_DEVFS = "1" # This variable is triggered to check if sysvinit must be overwritten by a single rcS export SYSVINIT = "no" +VIRTUAL-RUNTIME_initscripts-swupdate = 'initscripts-swupdate' + IMAGE_INSTALL = "base-files \ base-passwd \ busybox \ @@ -12,7 +14,7 @@ IMAGE_INSTALL = "base-files \ libconfig \ swupdate \ swupdate-www \ - ${@bb.utils.contains('SWUPDATE_INIT', 'tiny', 'virtual/initscripts-swupdate', 'initscripts sysvinit', d)} \ + ${@bb.utils.contains('SWUPDATE_INIT', 'tiny', '${VIRTUAL-RUNTIME_initscripts-swupdate}', 'initscripts sysvinit', d)} \ util-linux-sfdisk \ "