From patchwork Wed Jan 8 15:06:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "srinuvasan.a" X-Patchwork-Id: 3996 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 08 Jan 2025 16:07:32 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f64.google.com (mail-wr1-f64.google.com [209.85.221.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 508F7WKC020675 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 8 Jan 2025 16:07:32 +0100 Received: by mail-wr1-f64.google.com with SMTP id ffacd0b85a97d-385e1339790sf10152544f8f.2 for ; Wed, 08 Jan 2025 07:07:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1736348847; cv=pass; d=google.com; s=arc-20240605; b=BL273vqteVkH2BD/xA2OOUKLWftWgLH3bRdN4IMXlaAhaZDn5zjo+OYVrbhvEY4xBO wZMVigNyzmhv1BAEyULQbcNOeNL9BY2x49LIoiSPCTjQqCy7B5wNdBo1Ya6yJz6moV79 ixTwyfyfZPtS0ipZjE18S0tWn+yMoJip9xi85W7rHcd0iktye1akkX0X/ox5HFZ6O1x7 ymGSvckbkJH1tEltEwSYp2H9pW40VwKfNAA96C/5R1hbOwufqsHVqls4tHd0bZarlNCa Mbxb146R7KoXp9DSNHmvhaBVwBeLWje3eZV62p7q3em+/8BzSaeIQNKx7wLxxHWEF7CF Q27A== 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:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=LHoBZYvkfgj8tlPEKXnXs4zZNgOe7zUhkKRb+hX0Pak=; fh=iDpkdJo9tsk6+nTiiBSBzSAD0VQCgAESDVrUh5Xq3fU=; b=JP0UMxXYS+NYijVc3C4jtQOyqygZ1FpocRlm96bKTJ3oFh2/TP0cwiIoiKZngTp2fH 9F29MeT7KaZ8vqHT9EMyWQohn9Ivqha5TGTX3AHDxxJrPt9pW0N33Z1ybshPTxbDGtZl /Mp1+YEVZVujUYXj8PcK95txgD4oA/rE7O9gNFW6DcJYptYUCA6apx1biT1ZHk0YFQjM WW0xu9l6+RyYtMtwYsS687PLy4MNiJdclKPlPOLes2KpkHEJi+p5mX9fEqBFUslEi+++ FPENNWfUxzSAbfAU4ypxQOkI/uc5eT2iiAI8hovmNrB+l5byEa6Api4A4BObN62ojN9o LqEg==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=vOchH58U; spf=pass (google.com: domain of fm-1324425-20250108150722f3f4525122d78a67a8-z57jwz@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1324425-20250108150722f3f4525122d78a67a8-z57jWz@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=1736348847; x=1736953647; darn=isar-build.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=LHoBZYvkfgj8tlPEKXnXs4zZNgOe7zUhkKRb+hX0Pak=; b=NtWa+lF+Saz6aMI8wppTa3zyTSH0Eq9xWcLjInvDPA8OVUkleVtvf0eHbKRuLBMiu8 fhKPh5NTMSGlr9LKpkgvlqy9cGwzLdlARVA1h8DXWI98nOwr3jO0hwIaf4auoKXdtF7w 5J161Sga7kJLBfvbAWPMtjKgSSyjxGU5SEbbLNqKHLYMBBtqmKVWUQPrP6kUXKTf/2mz 74TgL8R+CS7xdFce5UDMPtllDi/QUBQtqzjHyUhlYl1HtG/n/cogU1F7MTFc9wNa+FO5 QJ/9ZEppcw1kElPsscutdy8kiSVedsX+2orTaGOrToOZIfcC2mX8/UcTJwTOjZWll8S3 GfyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736348847; x=1736953647; 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=LHoBZYvkfgj8tlPEKXnXs4zZNgOe7zUhkKRb+hX0Pak=; b=MqiEsmPgagqnVQU+pCY6R0lAyuGH4UhWNIzq2/01L6jiNAI4JfO4P4/8S4+DtWt8h3 PySG5TGjKkFlusaNoT4I4+rk9Bp2QoiTYMRHDrGlUU6Adxqfj/GxEbd5xKy0ywg0oMXv te4EdnzNuUH1mTOl/i3wDoyFRigtv93jYh+kfL2BbdYaaXiqBmsYkf5DkdaETgmF76Lf KNdQG+J+1BBY3R7ktKpGfJR2VZVPoA8qfOZMQOAP/XFpvGfNuAYXCec8wWIzl8xIoGRC UXbQ2RAwYWqPYWzDBe8nmnEax7LSlWM/pcAxmpUnIxi5AKAzdo3FXYuCD7YMD5cQJaJd DdsA== X-Forwarded-Encrypted: i=2; AJvYcCW+X1UtEIuH+ndZzjJxnom2sBeuhT4wGMlERBQ1c8nJd8DoRV3MZQ2S+fsLWyDi0n69LWvBNJk=@isar-build.org X-Gm-Message-State: AOJu0Yx9geUul7jPqn+VwW8IDnDEwKdXy55Lvy70fRhCFGSaEmv+MeBX 9fQ0MpsP2VtfDVqKQk5qvdAK3Z+TfqERPNM76yzZLbiMXgvVADpR X-Google-Smtp-Source: AGHT+IHVczCpnrMSSVGOoRzMBE/kKw6yEISM39WFoFQ2CrOP0EMjdyVxPat/TMMjBueNAAY6nhdkCQ== X-Received: by 2002:a05:6000:1ac9:b0:385:df73:2f42 with SMTP id ffacd0b85a97d-38a873213dfmr2822825f8f.32.1736348846055; Wed, 08 Jan 2025 07:07:26 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:cd1:b0:385:e0f9:2c61 with SMTP id ffacd0b85a97d-38a19fc2616ls1351714f8f.2.-pod-prod-05-eu; Wed, 08 Jan 2025 07:07:23 -0800 (PST) X-Received: by 2002:a5d:6c63:0:b0:38a:418e:1179 with SMTP id ffacd0b85a97d-38a872fc20bmr2845291f8f.2.1736348843469; Wed, 08 Jan 2025 07:07:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736348843; cv=none; d=google.com; s=arc-20240605; b=LGzhnEFx4VdWbrZa6GfhqUJ/9rkUfQTby7IM8lPQako+p19SqKqQ01WZgbl3e54RPl CVYbRPRh+0V2191p3N41Yk/VVsOHQyIizeTrKYLBCaG+veCuZ8jFIQo3N+hI6cUtgcTe bFVJ8FgRz+5TWdaoVf9+VaLW8ySUU9sY3amXOgWvMi4i8S/8TOA37nJG9IuSMJGotkf9 E2QqE9hlArHswLkNRCRqgC5EgGbtrv/jA3HTJS7L8U5RQepBZAvTb8lp4J5e+yPSssHh crAUa4fPWZC7Xj25ezk/scYau3sH9n1KByJSqpTA8OUan82ekfJB2X3Z0VbTeM3bWt8z D2Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=EsqVrDIIIkULf35824No5pl3BegpsU/spMqndagZh3A=; fh=zvDSaq3n9bhvnk9di617OpqbhNMxVJvCy3wALOXq8i4=; b=VSXZQsv9e9PX9HIWmMrgt1BZbrhOko8mIzlV954M/8lEUIsXaGUi8btp6BT+vLn5tY 6xxMibZLseEkO6FfVUFC96rPaAuYP0gIxyn/f29IJIQJR2e9YLLT1L9wuQi72NoeO4I5 adCeiB+MY5VhE8TQA7TP3m8fhEfz2Z+g0z7TGJbqFbN0cSVW3Uq5cIqqPUY7eX5gfYAX SPluAr8qcShEvzFkRqS/2tyzuSZYn9rpX4JZnv0YgxAErP31iwKxqt3YVRDMaNgUPOKI MxHRwyznbiSvU7Eh6m8WqnPgjs11CFwzr8FQckBEsM0fWRkkJfZry2OLOSpBEYnDM5uH RJkA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=vOchH58U; spf=pass (google.com: domain of fm-1324425-20250108150722f3f4525122d78a67a8-z57jwz@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1324425-20250108150722f3f4525122d78a67a8-z57jWz@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net. [185.136.64.225]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-38a1c872e00si397280f8f.4.2025.01.08.07.07.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2025 07:07:23 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1324425-20250108150722f3f4525122d78a67a8-z57jwz@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) client-ip=185.136.64.225; Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20250108150722f3f4525122d78a67a8 for ; Wed, 08 Jan 2025 16:07:22 +0100 X-Patchwork-Original-From: "srinuvasan.a via isar-users" From: "srinuvasan.a" To: isar-users@googlegroups.com Cc: cedric.hombourger@siemens.com, Srinuvasan Arjunan Subject: [PATCH] debianize: introduce DEBIAN_BREAKS Date: Wed, 8 Jan 2025 20:36:42 +0530 Message-Id: <20250108150642.57626-1-srinuvasan.a@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1324425:519-21489:flowmailer X-Original-Sender: srinuvasan.a@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=vOchH58U; spf=pass (google.com: domain of fm-1324425-20250108150722f3f4525122d78a67a8-z57jwz@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1324425-20250108150722f3f4525122d78a67a8-z57jWz@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: srinuvasan.a@siemens.com Reply-To: srinuvasan.a@siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Srinuvasan Arjunan Allow setting the Breaks field for auto generated control files, with this changes now user can configure the Breaks in the debian/control file. Recipes can simply set the Breaks field now by defining the DEBIAN_BREAKS variable. Signed-off-by: Srinuvasan Arjunan --- doc/user_manual.md | 1 + meta/classes/debianize.bbclass | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/user_manual.md b/doc/user_manual.md index 706c74bf..7a35d8a4 100644 --- a/doc/user_manual.md +++ b/doc/user_manual.md @@ -958,6 +958,7 @@ Note that the package will be build using the whole debian package workflow, so Other (optional) customization variables include: - `DEBIAN_PROVIDES` - declare a virtual package to satisfy dependencies - `DEBIAN_REPLACES` - to replace a package with another + - `DEBIAN_BREAKS` - Packages which break other packages ### Prebuilt .deb packages from somewhere diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass index 1d5fd83c..cf808eec 100644 --- a/meta/classes/debianize.bbclass +++ b/meta/classes/debianize.bbclass @@ -11,6 +11,7 @@ DEBIAN_DEPENDS ??= "" DEBIAN_PROVIDES ??= "" DEBIAN_REPLACES ??= "" DEBIAN_CONFLICTS ??= "" +DEBIAN_BREAKS ??= "" DEBIAN_MULTI_ARCH ??= "no" DEBIAN_COMPAT ??= "10" DESCRIPTION ??= "must not be empty" @@ -78,6 +79,7 @@ Architecture: ${DPKG_ARCH} Depends: ${DEBIAN_DEPENDS} Provides: ${DEBIAN_PROVIDES} Replaces: ${DEBIAN_REPLACES} +Breaks: ${DEBIAN_BREAKS} Conflicts: ${DEBIAN_CONFLICTS} Multi-Arch: ${DEBIAN_MULTI_ARCH} Description: ${DESCRIPTION}