public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/1] sbuild: explain dependency issues with apt
@ 2023-05-25 10:10 Felix Moessbauer
  2023-05-25 16:22 ` Jan Kiszka
  2023-05-31  8:10 ` Uladzimir Bely
  0 siblings, 2 replies; 3+ messages in thread
From: Felix Moessbauer @ 2023-05-25 10:10 UTC (permalink / raw)
  To: isar-users; +Cc: Felix Moessbauer

This patch switches the sbuild uninstallable explainer tool from dose3
to apt. Dose3 creates way too much output which often overflows the
calling shells buffer. Also, the explanation sometimes is different,
as we use apt as dependency resolver. To fix this, we simply switch to
apt as explainer.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/classes/dpkg.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index 5c8996d6..c596adbf 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass
@@ -104,6 +104,7 @@ dpkg_runbuild() {
     sbuild -A -n -c ${SBUILD_CHROOT} --extra-repository="${ISAR_APT_REPO}" \
         --host=${PACKAGE_ARCH} --build=${BUILD_HOST_ARCH} ${profiles} \
         --no-run-lintian --no-run-piuparts --no-run-autopkgtest --resolve-alternatives \
+        --bd-uninstallable-explainer=apt \
         --no-apt-update \
         --chroot-setup-commands="echo \"Package: *\nPin: release n=${DEBDISTRONAME}\nPin-Priority: 1000\" > /etc/apt/preferences.d/isar-apt" \
         --chroot-setup-commands="echo \"APT::Get::allow-downgrades 1;\" > /etc/apt/apt.conf.d/50isar-apt" \
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] sbuild: explain dependency issues with apt
  2023-05-25 10:10 [PATCH 1/1] sbuild: explain dependency issues with apt Felix Moessbauer
@ 2023-05-25 16:22 ` Jan Kiszka
  2023-05-31  8:10 ` Uladzimir Bely
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2023-05-25 16:22 UTC (permalink / raw)
  To: Felix Moessbauer, isar-users

On 25.05.23 12:10, 'Felix Moessbauer' via isar-users wrote:
> This patch switches the sbuild uninstallable explainer tool from dose3
> to apt. Dose3 creates way too much output which often overflows the
> calling shells buffer. Also, the explanation sometimes is different,
> as we use apt as dependency resolver. To fix this, we simply switch to
> apt as explainer.

Great stuff!

Jan

> 
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
>  meta/classes/dpkg.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
> index 5c8996d6..c596adbf 100644
> --- a/meta/classes/dpkg.bbclass
> +++ b/meta/classes/dpkg.bbclass
> @@ -104,6 +104,7 @@ dpkg_runbuild() {
>      sbuild -A -n -c ${SBUILD_CHROOT} --extra-repository="${ISAR_APT_REPO}" \
>          --host=${PACKAGE_ARCH} --build=${BUILD_HOST_ARCH} ${profiles} \
>          --no-run-lintian --no-run-piuparts --no-run-autopkgtest --resolve-alternatives \
> +        --bd-uninstallable-explainer=apt \
>          --no-apt-update \
>          --chroot-setup-commands="echo \"Package: *\nPin: release n=${DEBDISTRONAME}\nPin-Priority: 1000\" > /etc/apt/preferences.d/isar-apt" \
>          --chroot-setup-commands="echo \"APT::Get::allow-downgrades 1;\" > /etc/apt/apt.conf.d/50isar-apt" \

-- 
Siemens AG, Technology
Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] sbuild: explain dependency issues with apt
  2023-05-25 10:10 [PATCH 1/1] sbuild: explain dependency issues with apt Felix Moessbauer
  2023-05-25 16:22 ` Jan Kiszka
@ 2023-05-31  8:10 ` Uladzimir Bely
  1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2023-05-31  8:10 UTC (permalink / raw)
  To: Felix Moessbauer, isar-users

On Thu, 2023-05-25 at 10:10 +0000, 'Felix Moessbauer' via isar-users
wrote:
> This patch switches the sbuild uninstallable explainer tool from
> dose3
> to apt. Dose3 creates way too much output which often overflows the
> calling shells buffer. Also, the explanation sometimes is different,
> as we use apt as dependency resolver. To fix this, we simply switch
> to
> apt as explainer.
> 
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
>  meta/classes/dpkg.bbclass | 1 +
>  1 file changed, 1 insertion(+)

Applied to next, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-31  8:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 10:10 [PATCH 1/1] sbuild: explain dependency issues with apt Felix Moessbauer
2023-05-25 16:22 ` Jan Kiszka
2023-05-31  8:10 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox