From patchwork Wed Jan 22 13:49:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benedikt Niedermayr X-Patchwork-Id: 237 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 22 Jan 2025 14:49:24 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f60.google.com (mail-wm1-f60.google.com [209.85.128.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 50MDnNJ2001441 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Jan 2025 14:49:24 +0100 Received: by mail-wm1-f60.google.com with SMTP id 5b1f17b1804b1-436248d1240sf34320025e9.0 for ; Wed, 22 Jan 2025 05:49:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1737553758; cv=pass; d=google.com; s=arc-20240605; b=ZcvtMvNDzs+MC1W8TWtlVY1srwx766k5XngFt8c99DFaPcBkcZoM/u2RgDib9jBFa0 JcLMBrsMftyjbFc1k1HNYnSBX60mR9A2RrjrecP9NV/u7o6uWSn20MJCor2nMNW0lHB9 o6MHg2hRf+f/uBsIBN4Ikl+IHzN0n6mxtCseEFUWqzE5j9gEyWZShWzpLXBQajZ1D2Sy tojJIvKeQbK1+ncJeODYVMvFor1rG/pIaaNH4nVGMY7z3c5gmTwNaJgsEFBqlSh0L/VX +EFgEEW1qkKHlT9oss9WosevZjg+ih9akjoS9Fw92ktXGd0/WpKQcBKON5WiVF0NxYPH L+dg== 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=kQVjWWZvlmwKNpJLVVtjeFAyS0itGfPAACiLuo+4Xik=; fh=Yi5nrUOVHFKDRqVRaPpkclIq/5vNejVDAdwJiHOcaSo=; b=gEdQ16KmDjr//EZJijt6t/fnecMYbTFtuendw8ExLIH2BQHyH7BxRl++/fLLc+LWAt pmtM2+17mv0J4nci5DvXj1cpzpISmt5ZdGKD3CqLqo2vgMSlTS3jJI0UdejUB1wh1p4F kzSQqRy/yIWnbkxDIj5ghgWi9TjPx3KZ3/odEEk0g/lu5KR84VkJwpsoUccTHyHsLqSZ KsvDcCsIShobvuijLzndH0CrTWX+yIZ+dofleiO89nlsu3vy7nUTo0FrCAV26UqE9uyi 4HaEPIaZrVIYbpd3thTM614Q5Kcaoa5s4vKHPV0qW0bTil4zg+Id4Su39UHwyZ6GdpxJ IwlQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=W6+JEdAy; spf=pass (google.com: domain of fm-1323861-202501221349141f4dbcf060584896bb-jmmy8t@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1323861-202501221349141f4dbcf060584896bb-jMMy8T@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=1737553758; x=1738158558; 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=kQVjWWZvlmwKNpJLVVtjeFAyS0itGfPAACiLuo+4Xik=; b=reZPvfVtf29pf5YJVbSPkiOkoyB3b2T7Sux9WSFkJIZW0xbbXDkhDUwmJOoO1K9djD SbxmwUBCwzAcJX5TP7U6CLMuLjlMAo6xFov6QFz6MnwhjmoH30p82JMsE6hS1xJg3t48 0PY0b8sBkF6cv9DLSCxUp5a3KY38Hse9dPWK7lfz7hnm3TKeObgWlzjqTd90hj0PZdBe WqPjxmrF4wDULdHFwmi3X0VScCiudiU5R/EcXMNfC/je+sJ3aj49j1qIN1lE1lEce01s zkyzcDG3XxCkdCJs0E8vIZRF39/jlEX004k1oEYC/kpYu4zwHvKPWS8etmWg3l9+zkE2 03fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737553758; x=1738158558; 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=kQVjWWZvlmwKNpJLVVtjeFAyS0itGfPAACiLuo+4Xik=; b=rHZzUtTWEW+TZm1BctI6QkK6DQlYCwyj7rnkpO2cHrFAK9epoTEzmKC9PRaL6/d8v+ xl6WsaqWcGW6FEzxCqZtuJvILfsO3yptV1jAvheWin8T2qsFFNvxBIAbUr2g1J4s7dqW DVpbgCKQt71gP52jGpRSDXNsXkHKD8tnElrQqYX5LiLl9ikkksKOIaCSm0tQM9VkrJwH vCKlkP0rGJVWMypNvtR431q8GmhJfv4euv6v4IFIQKbh7e0Dtr/5I6jBnOE9F8e4qUF9 xd6kLUQT+TklnhzOuqMSzhB1KWdtDLon996zFVTTq1hLvtbvKYri82XydL58+4B5MxZG DmdQ== X-Forwarded-Encrypted: i=2; AJvYcCV/fFjH0AB8XEGWburCgAC1e9XrEOyzkJsGKJjEd0zSY55stb1pMqH7QCeMTqnhJ3U4Cq7f1y0=@isar-build.org X-Gm-Message-State: AOJu0YwYpwZ7MlAEBux4cPTVEIX7r7myxD9EinmUSHMOAeXXI76DePh/ s/ZqiG8FXvg60Zw80Jb7co1kaEY/P9misAPWhIZ/fzfPzKL0aGI7 X-Google-Smtp-Source: AGHT+IFfNcSREAyUc5xXpaTI9HSA0O+BFH1JJNLJXM+OlZu6ie8zJVfEbd7+qqYchcPe50lcZ3hZPA== X-Received: by 2002:a05:600c:4e07:b0:434:a802:e99a with SMTP id 5b1f17b1804b1-438913bec32mr196531175e9.4.1737553757705; Wed, 22 Jan 2025 05:49:17 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:1c27:b0:434:aa6f:2408 with SMTP id 5b1f17b1804b1-4388ab370b4ls13871705e9.0.-pod-prod-03-eu; Wed, 22 Jan 2025 05:49:15 -0800 (PST) X-Received: by 2002:a05:600c:34c5:b0:434:b9c6:68f7 with SMTP id 5b1f17b1804b1-438914376bdmr173671415e9.26.1737553755244; Wed, 22 Jan 2025 05:49:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737553755; cv=none; d=google.com; s=arc-20240605; b=fAvgRZBh7hBL0fKN4Unn0vqa5vNWoH9czHD9IYfy+5dcgCbD+KGy0XSGTzrvs9Z1wq AWM9s0jEOGtssks219Z8TrHHV5vLw1f97XK461G1CPQBexw8dpuJQXqDBNPVCyoa2KKA TK3QOFQBrt1L++i9orlLDBWFYO2TvBgeawcfJE807z631ffQUSpbKOuap6Q1PUNxpn+m lMqX7vMY1O6B7lbuSQQFbCz8xCklFiBK7NEWyOOLf5IFok4Y/bDU8X+kwIKcDJkLGs2w uXaD2wAMC2Q13COefO19Q8JfUFtOI2w4Zj226vRT4v0HT746n7m7k3kXz/GbqHQ2+zb/ z3sA== 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=WvyQB9fLzzP86h6wy0k6Uv7r8WxjYNHBSnxeHAJPJo8=; fh=dLKbFY1nCVs0gw4Ot3U35lUCgkKClbVzBSGiWA5AeLc=; b=a7rKBmWNnjF4s5U+nHURzUjy5+LqXxSjIZJgtMNEDpRMmyrrT+/Z7nX6LakvJRLpvC 7os2scIbTIeWvbfHM+E8JfLfkhI7S7obExLQSzmZxIc7NSGNFqhwOdSsh902aiiAPCBR mTTliFHZQ3vaduZM0q4DLa1QZF0beFmskCMuLaAmiQW8yddaHIPsj3ya3ivVQTPpAVqI tH+/4Y+AV9mpUx1MpnmHThYrlEwRBqtNrkrrCm7oV2GqepNO3G6ignDTVT1HcwqMUDRJ 47Q/3+YmrS/JuOYnwRvUqgEd7xSE6BWuQ29npNM6mqMM/vwBW2zndX6z/mA1x581bmki bg9w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=W6+JEdAy; spf=pass (google.com: domain of fm-1323861-202501221349141f4dbcf060584896bb-jmmy8t@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1323861-202501221349141f4dbcf060584896bb-jMMy8T@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 5b1f17b1804b1-438b1cc92afsi275835e9.1.2025.01.22.05.49.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2025 05:49:15 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1323861-202501221349141f4dbcf060584896bb-jmmy8t@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 202501221349141f4dbcf060584896bb for ; Wed, 22 Jan 2025 14:49:14 +0100 X-Patchwork-Original-From: "'Benedikt Niedermayr' via isar-users" From: Benedikt Niedermayr To: isar-users@googlegroups.com Cc: felix.moessbauer@siemens.com Subject: [PATCH 0/1] deb-dl-dir: fix package source download Date: Wed, 22 Jan 2025 14:49:06 +0100 Message-Id: <20250122134907.2826754-1-benedikt.niedermayr@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1323861:519-21489:flowmailer X-Original-Sender: benedikt.niedermayr@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=W6+JEdAy; spf=pass (google.com: domain of fm-1323861-202501221349141f4dbcf060584896bb-jmmy8t@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1323861-202501221349141f4dbcf060584896bb-jMMy8T@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Benedikt Niedermayr Reply-To: Benedikt Niedermayr 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?= I recently wanted to download all source packages for a specific image and encountered that some of the source packages were missing (e.g. adduser). I tracked the issue down to the deb-dl-dir.bbclass and found that the "is_not_part_of_current_build" function skipped the source package download because the "adduser" package was not listed in the "/var/log/dpkg.log" file. I assume that this package has been installed during early debootstrap and therefore the package is not listed in the dpkg.log file. I'm not sure if I got the comment in the function right: "Since we are parsing all the debs in DEBDIR, we can to some extend try to eliminate some debs that are not part of the current multiconfig build using the below method" AFAIK we could also achieve this by running dpkg-query commands on the target filesystem and also catch the packages that have been installed during bootstrap. I'm not sure if this patch will interfere in any way with multiconfig builds, as mentioned in the comment above, but I think it's worth a try. Benedikt Niedermayr (1): deb-dl-dir: fix package source download meta/classes/deb-dl-dir.bbclass | 39 ++++++++++----------------------- 1 file changed, 11 insertions(+), 28 deletions(-) --- 2.34.1