From: Zhihang Wei <wzh@ilbers.de>
Cc: "Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: Re: [PATCH v1 07/10] apt: allow package downgrades in sbuild chroots
Date: Fri, 25 Jul 2025 12:54:49 +0200 [thread overview]
Message-ID: <e64fd84e-0654-42a0-b289-03bef6257c58@ilbers.de> (raw)
In-Reply-To: <20250725091337.534842-8-wzh@ilbers.de>
Hi,
these two duplicated patches were sent by mistake. Please ignore them.
The whole series of patches will be sent later. Sorry for the confusion.
Best,
Zhihang
On 25.07.25 11:13, Zhihang Wei wrote:
> From: Felix Moessbauer' via isar-users <isar-users@googlegroups.com>
>
> The sbuild chroots carry many packages needed for the build environment.
> This sometimes requires packages from bootstrapping to be downgraded so
> that the dependencies can be resolved.
>
> An example is the liblzma5 which currently (1st of May 2025) needs to be
> downgraded on Debian bookworm.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
> meta/recipes-devtools/sbuild-chroot/sbuild-chroot.inc | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot.inc b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot.inc
> index c7ad8d51..d0b82991 100644
> --- a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot.inc
> +++ b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot.inc
> @@ -68,6 +68,9 @@ ROOTFS_POSTPROCESS_COMMAND:remove = "rootfs_cleanup_isar_apt"
> # Do not cleanup base-apt
> ROOTFS_POSTPROCESS_COMMAND:remove = "rootfs_cleanup_base_apt"
>
> +# Allow downgrades of packages from bootstrap
> +ROOTFS_APT_ARGS += "--allow-downgrades"
> +
> DEPLOY_SCHROOT = "${@d.getVar('SCHROOT_' + d.getVar('SBUILD_VARIANT').upper() + '_DIR')}${SBUILD_SCHROOT_SUFFIX}"
>
> do_sbuildchroot_deploy[dirs] = "${DEPLOY_DIR}/schroot-${SBUILD_VARIANT}"
--
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/e64fd84e-0654-42a0-b289-03bef6257c58%40ilbers.de.
next prev parent reply other threads:[~2025-07-25 10:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250725091337.534842-1-wzh@ilbers.de>
2025-07-25 9:13 ` Zhihang Wei
2025-07-25 10:54 ` Zhihang Wei [this message]
[not found] <20250725091622.551140-1-wzh@ilbers.de>
2025-07-25 9:16 ` Zhihang Wei
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=e64fd84e-0654-42a0-b289-03bef6257c58@ilbers.de \
--to=wzh@ilbers.de \
--cc=felix.moessbauer@siemens.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