From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6989662799834120192 X-Received: by 2002:a2e:a5c9:: with SMTP id n9mr16271054ljp.195.1627407688272; Tue, 27 Jul 2021 10:41:28 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3b1e:: with SMTP id f30ls898187lfv.0.gmail; Tue, 27 Jul 2021 10:41:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfShLfyf6HRxLM5JcjHehl5reYuFFr+G+BKmqfKnvpZT8GTq25z6m4GDLV3fB2rLez2kTk X-Received: by 2002:ac2:5e66:: with SMTP id a6mr17158903lfr.304.1627407687161; Tue, 27 Jul 2021 10:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627407687; cv=none; d=google.com; s=arc-20160816; b=NJx8LyERRjkYHYmwr3okWr5pjT5q67hhHG3/A9lRe9y1s1LWcjKnRJpShUf2clMu6J bDz3JeXLAPtHw7LLTX5z+Yw54echj7Yx9ctcKn5Uu4ZsDU4i9oNh7UVpQhZrWa7Wdsnj 8f8FpOvOQiqdM88HNXesGpU40M5yIarhbmng68CTM2NuUKx/HczWkbsI3js1oKugjC4j 0kS4PHciPZ0KAGCkpQH0DVT/MT+5ju9A++JdWFBfXnK576QolDcRhyhbkeF37j1e5CuL 8PzhEaomcJE9VONjlfkpvMTKa+PXXvKQsvx2PIOCRwUlFXPGBkdhEmpdDk9rgOfwPCE6 koGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=GGIJ1VymQFjlJLA6IdQbYnYMMm4xnNUPJJykj9yRH3E=; b=ccSrHuqIKsXUgbF2bHKJZN7HaZjrrDJwjiHDXFr6wY/XTWVwb4MMhesSLavO8+kIBw 0bhoh+s0DQa9P0Ofc34LR0Q9gAcZ2Da6JT9DWa0hnC9jZyyn6uTj6D4AfS8EbeaBn4mR p8zI9X2Oj6WqFfOlVZn6A2A94+qK3ZeWE3oeWi8LINjuw9hvjsZMfAtlMTjAua97/BvL 04psFMqUfy/ZmNcZFV4EQl1zZgPyio7uZmlM+gJ8upm+vZEVy/bBYNrxQaYInVWxZr2i GisKpk7cOunH2pTSxIdcd7Q4KE2qpPp68JPzD86RTTOJRBrGvoXcVON4DraUQp9sKcI4 R+Ng== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id q8si202771ljg.4.2021.07.27.10.41.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jul 2021 10:41:26 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 16RHfQmv025323 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 27 Jul 2021 19:41:26 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.2.134]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 16RHfPHf031217; Tue, 27 Jul 2021 19:41:25 +0200 Date: Tue, 27 Jul 2021 19:41:24 +0200 From: Henning Schild To: "Schilling, Benjamin (SMO RI R&D SYS SEC)" Cc: "isar-users@googlegroups.com" Subject: Re: [PATCH] meta: Add Debian package conflicts in debianize class Message-ID: <20210727194124.1dcdd04c@md1za8fc.ad001.siemens.net> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-TUID: H6b7uAJlhGK9 Am Tue, 27 Jul 2021 15:54:12 +0200 schrieb "Schilling, Benjamin (SMO RI R&D SYS SEC)" : > Before it was not possible to specify conflicting packages in recipes >=20 > using the debianize class. >=20 > Now the conflicting packages can be defined using the DEBIAN_CONFLICTS >=20 > variable in the recipe. This is especially useful in dpkg-raw recipes >=20 > that should conflict with each other. Having an all-mighty debianize class will be impossible. But others have extended what we have and your use-case seems valid. So i would say this is a questionable but overall good idea. But this mail seems too "html" to actually apply that patch. A patch that otherwise looks fine. Henning > =C2=A0 >=20 > Signed-off-by: Benjamin Schilling >=20 > --- >=20 > meta/classes/debianize.bbclass | 3 +++ >=20 > 1 file changed, 3 insertions(+) >=20 > =C2=A0 >=20 > diff --git a/meta/classes/debianize.bbclass > b/meta/classes/debianize.bbclass >=20 > index dad1cb4..4486778 100644 >=20 > --- a/meta/classes/debianize.bbclass >=20 > +++ b/meta/classes/debianize.bbclass >=20 > @@ -1,5 +1,6 @@ >=20 > # This software is a part of ISAR. >=20 > # Copyright (C) 2017-2019 Siemens AG >=20 > +# Copyright (C) 2021 Siemens Mobility GmbH >=20 > # >=20 > # SPDX-License-Identifier: MIT >=20 > @@ -7,6 +8,7 @@ CHANGELOG_V ??=3D "${PV}" >=20 > DPKG_ARCH ??=3D "any" >=20 > DEBIAN_BUILD_DEPENDS ??=3D "" >=20 > DEBIAN_DEPENDS ??=3D "" >=20 > +DEBIAN_CONFLICTS ??=3D "" >=20 > DESCRIPTION ??=3D "must not be empty" >=20 > MAINTAINER ??=3D "Unknown maintainer unknown@example.com" >=20 > @@ -63,6 +65,7 @@ Build-Depends: debhelper (>=3D ${compat}), > ${DEBIAN_BUILD_DEPENDS} >=20 > Package: ${PN} >=20 > Architecture: ${DPKG_ARCH} >=20 > Depends: ${DEBIAN_DEPENDS} >=20 > +Conflicts: ${DEBIAN_CONFLICTS} >=20 > Description: ${DESCRIPTION} >=20 > EOF >=20 > } >=20 > -- >=20 > 2.20.1 >=20 > =C2=A0 >=20