public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
To: Anton Mikanovich <amikan@ilbers.de>
Cc: isar-users@googlegroups.com
Subject: Re: [PATCH v2 4/4] events: Cleanup lost schroot sessions if any
Date: Wed, 4 Jan 2023 12:19:39 +0100	[thread overview]
Message-ID: <CAJGKYO6=fCEc=ZmJQby+4ySCL0q9BLvgSWUq7GrwogJnLmGcEQ@mail.gmail.com> (raw)
In-Reply-To: <CAJGKYO73F4uaBsQoOngG7kDz1UMG6Qqpwsr+tEfn_fpvdkRwrw@mail.gmail.com>

On Tue, 3 Jan 2023 at 10:55, Roberto A. Foglietta
<roberto.foglietta@gmail.com> wrote:
>
> On Fri, 30 Dec 2022 at 20:08, Anton Mikanovich <amikan@ilbers.de> wrote:
> >
> > In case the user will only open imager schroot session but not close it
> > we need to find and clean it up.
>
> Hi Anton,
>
>  this patchset works for me but it missing a 5th patch to free dpkg
> base class from buildchroot, here in attachment.
>  The patch has been also sent by elastic mail SMTP and it went in
> moderation as usual.

Hi Anton,

I have identified an unexpected behaviour - for me an improvement but
technically speaking a regression - after having applied your patchset
about schroot migration.

Try this:

git clone https://github.com/robang74/isar-nvidia-debian.git
cd isar-nvidia-debian
put c9f4b21 in kas:

These patches are useful/necessary to let my project building:

* c9f4b21 - image tools ext. class defines ISAR_CROSS_COMPILE, if
missing  (HEAD)
* c945877 - dpkg class set default value for ISAR_CROSS_COMPILE, if missing
* adafe11 - dpkg class sbuild allows extra arguments by vars

This is my patch to migrate the dpkg base class to schroot:

* 423c2f3 - dpkg base class: use schroot only not buildchroot anymore

These are your patches for schroot migration:

* e2d2165 - events: Cleanup lost schroot sessions if any, v2
* 3fb634e - imager: Move image types to schroot, v2
* 51b08db - imager: Migrate from buildchroot to schroot, v2
* 0fea6b1 - sbuild: Allow setting custom config paths, v2

Then do:

source .profile
clean all
build basic-os
build

The second build should do nothing. Instead, it builds the wic image
again starting from image deps: 'do_install_imager_deps'. In my
opinion this is a feature because when I use 'wicshell' and I chroot
into the image to modify it, sometimes I break things and I want to be
back to the original. This allows me to avoid cleaning the build and
restart it again which takes a lot of time compared to starting again
from image deps. However, from a technical point of view it is a bug.

I hope this helps, R-

  reply	other threads:[~2023-01-04 11:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-30 19:08 [PATCH v2 0/4] Imager schroot migration Anton Mikanovich
2022-12-30 19:08 ` [PATCH v2 1/4] sbuild: Allow setting custom config paths Anton Mikanovich
2022-12-30 19:08 ` [PATCH v2 2/4] imager: Migrate from buildchroot to schroot Anton Mikanovich
2022-12-30 19:08 ` [PATCH v2 3/4] imager: Move image types " Anton Mikanovich
2022-12-30 19:08 ` [PATCH v2 4/4] events: Cleanup lost schroot sessions if any Anton Mikanovich
2023-01-03  9:55   ` Roberto A. Foglietta
2023-01-04 11:19     ` Roberto A. Foglietta [this message]
2022-12-30 19:13 ` [PATCH v2 0/4] Imager schroot migration Anton Mikanovich

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='CAJGKYO6=fCEc=ZmJQby+4ySCL0q9BLvgSWUq7GrwogJnLmGcEQ@mail.gmail.com' \
    --to=roberto.foglietta@gmail.com \
    --cc=amikan@ilbers.de \
    --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