On Friday, December 15, 2023 at 4:04:49 PM UTC+5:30 Jan Kiszka wrote: On 15.12.23 10:56, Srinuvasan Arjunan wrote: > From: srinuvasan > > In some use-cases we need to install custom packages in sbuildchroot and > this can be referred later time during image generation part, hence we > need the persistent sbuildchroot rather than the temporary sessions. We already have a persistent sbuild flavor, but we may lack some extension to make it usable not only from a package recipe but also an image recipe. Please work towards that direction. yes my comment may be wrong, but the intention of the work towards right directions, this will extend to install the custom packages in persistent sbuildchroot. > > Introduced persistent-sbuildchroot class to handle the above scenarios. > > Introduced SBUILD_CHROOT_INSTALL_EXTRA variable, here you can define the > additional custom packages that you need to install in sbuild flavor. I don't get the semantic of this variable. We so far have SBUILD_CHROOT_PREINSTALL, why don't you introduce SBUILD_CHROOT_INSTALL (SBUILD_CHROOT_PREINSTALL + DEPENDS), analogously to IMAGE_[PRE]INSTALL? This will address. Jan -- Siemens AG, Technology Linux Expert Center