* [PATCH] dpkg-prebuilt: Skip local isar-apt copy
@ 2025-07-16 7:16 Andreas Naumann
2025-07-18 14:50 ` Andreas Naumann
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Andreas Naumann @ 2025-07-16 7:16 UTC (permalink / raw)
To: isar-users; +Cc: 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"
--
2.43.0
--
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/20250716071610.1124069-1-anaumann%40emlix.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dpkg-prebuilt: Skip local isar-apt copy
2025-07-16 7:16 [PATCH] dpkg-prebuilt: Skip local isar-apt copy Andreas Naumann
@ 2025-07-18 14:50 ` Andreas Naumann
2025-08-11 12:33 ` 'Jan Kiszka' via isar-users
2025-09-12 8:43 ` Anton Mikanovich
2 siblings, 0 replies; 4+ messages in thread
From: Andreas Naumann @ 2025-07-18 14:50 UTC (permalink / raw)
To: isar-users
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dpkg-prebuilt: Skip local isar-apt copy
2025-07-16 7:16 [PATCH] dpkg-prebuilt: Skip local isar-apt copy Andreas Naumann
2025-07-18 14:50 ` Andreas Naumann
@ 2025-08-11 12:33 ` 'Jan Kiszka' via isar-users
2025-09-12 8:43 ` Anton Mikanovich
2 siblings, 0 replies; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-08-11 12:33 UTC (permalink / raw)
To: Andreas Naumann, isar-users
On 16.07.25 09:16, Andreas Naumann wrote:
> 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"
Looks good to me.
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
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/6ebd66c1-435b-411c-af90-64a884461a37%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dpkg-prebuilt: Skip local isar-apt copy
2025-07-16 7:16 [PATCH] dpkg-prebuilt: Skip local isar-apt copy Andreas Naumann
2025-07-18 14:50 ` Andreas Naumann
2025-08-11 12:33 ` 'Jan Kiszka' via isar-users
@ 2025-09-12 8:43 ` Anton Mikanovich
2 siblings, 0 replies; 4+ messages in thread
From: Anton Mikanovich @ 2025-09-12 8:43 UTC (permalink / raw)
To: Andreas Naumann, isar-users
16/07/2025 10:16, Andreas Naumann wrote:
> Prebuilt packages have no dependency on the isar-apt repo. Skip
> copying it into the workspace.
>
> Signed-off-by: Andreas Naumann <anaumann@emlix.com>
Applied to next, thanks.
--
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/d140f06d-b3be-430b-90ce-e139a9520446%40ilbers.de.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-12 8:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-16 7:16 [PATCH] dpkg-prebuilt: Skip local isar-apt copy Andreas Naumann
2025-07-18 14:50 ` Andreas Naumann
2025-08-11 12:33 ` 'Jan Kiszka' via isar-users
2025-09-12 8:43 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox