public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Srinuvasan Arjunan <srinuvasanasv@gmail.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: [RFC][PATCH] Add sbuildchroot class
Date: Tue, 12 Dec 2023 06:08:03 +0100	[thread overview]
Message-ID: <ba605a3e-b029-4d4e-80fc-591a9e39898e@siemens.com> (raw)
In-Reply-To: <fa67bc43-df04-4b26-ad82-ccf8b6f5e12bn@googlegroups.com>

On 12.12.23 05:55, Srinuvasan Arjunan wrote:
> 
> 
> On Friday, December 8, 2023 at 7:45:06 PM UTC+5:30 Jan Kiszka wrote:
> 
>     On 28.11.23 08:14, Srinuvasan Arjunan wrote:
>     > From: Srinuvasan A <srinuv...@siemens.com>
>     >
>     > In present implementation we are using sbuild/schroot to build the
>     > packages, this schroot created via sessions during package build, and
>     > immediatley vanish once build the packages.
>     >
>     > Some of the downstream projects uses this chroot at many
>     > places for doing some postprocessing the meta data based on the
>     chroot
>     > path, but unfortunately we cannot refer this path due to creating the
>     > chroot via session.
> 
>     Can you be more specific in the use cases?
> 
> 
>    In our case we need to install the custom packages in buildchroot,
>    once we installed the isar-apt packages, later we refer those and do some
>    postprocessing before image creation.
> 
> 
>    ISAR provides the provision to pre-install the  upstream packages
>    not custom packages and this chroot will be used as a base chroot to
>     build the packages or imager_run, hence SBUILD_FLAVOR would not be
>    helpful atleast for my scenario.
> 
> 
>    SBUILD_CHROOT_PREINSTALL_EXTRA variable directly install the upstream 
>    packages in rootfs not custom packages.
> 

Understood the use case now - but then why not fixing/enhancing the
existing mechanism? We likely need some SBUILD_CHROOT_INSTALL_EXTRA that
establishes the recipe dependency, and then a custom sbuild should also
be able to pull packages from isar-apt. Did you consider this already?

Jan

-- 
Siemens AG, Technology
Linux Expert Center


  reply	other threads:[~2023-12-12  5:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-28  7:14 Srinuvasan Arjunan
2023-12-08 14:13 ` Srinuvasan Arjunan
2023-12-08 14:15 ` Jan Kiszka
2023-12-12  4:55   ` Srinuvasan Arjunan
2023-12-12  5:08     ` Jan Kiszka [this message]
2023-12-12  5:18       ` Srinuvasan Arjunan

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=ba605a3e-b029-4d4e-80fc-591a9e39898e@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=srinuvasanasv@gmail.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