public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Andreas Naumann <anaumann@emlix.com>
To: isar-users@googlegroups.com
Subject: Re: [PATCH] dpkg-prebuilt: Skip local isar-apt copy
Date: Fri, 18 Jul 2025 16:50:40 +0200	[thread overview]
Message-ID: <4d8a5d37-f33d-4f61-8c61-74310c894265@emlix.com> (raw)
In-Reply-To: <20250716071610.1124069-1-anaumann@emlix.com>

Hi all,
maybe some background on why this is needed is beneficial:
We have a use case where we rely a lot on the usage of
dpkg-prebuilt recipes. If there's interest, I can provide more
details about it.

Anyway, we've seen the build spending a lot of time in the
local_isarapt copy function. I'm not 100% sure if my assumption
that prebuilt recipe packages have no dependency on the
isar-apt repo is true, but if so, I'd be nice to avoid the cost
for the copy altogether.

best regards,
Andreas


Am 16.07.25 um 09:16 schrieb Andreas Naumann:
> Prebuilt packages have no dependency on the isar-apt repo. Skip
> copying it into the workspace.
>
> Signed-off-by: Andreas Naumann <anaumann@emlix.com>
> ---
>   meta/classes/dpkg-prebuilt.bbclass | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/dpkg-prebuilt.bbclass b/meta/classes/dpkg-prebuilt.bbclass
> index ecf0d383e9..78205aa39a 100644
> --- a/meta/classes/dpkg-prebuilt.bbclass
> +++ b/meta/classes/dpkg-prebuilt.bbclass
> @@ -27,3 +27,5 @@ do_dpkg_build() {
>           find ${WORKDIR} -name '*.deb' | xargs -n1 dpkg -I
>       fi
>   }
> +
> +do_local_isarapt[noexec] = "1"

-- 
Andreas Naumann

emlix GmbH
Headquarters: Berliner Str. 12, 37073 Goettingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Goettingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/4d8a5d37-f33d-4f61-8c61-74310c894265%40emlix.com.

  reply	other threads:[~2025-07-22 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16  7:16 Andreas Naumann
2025-07-18 14:50 ` Andreas Naumann [this message]
2025-08-11 12:33 ` 'Jan Kiszka' via isar-users
2025-09-12  8:43 ` Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d8a5d37-f33d-4f61-8c61-74310c894265@emlix.com \
    --to=anaumann@emlix.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox