public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: Anton Mikanovich <amikan@ilbers.de>,
	Florian Bezdeka <florian.bezdeka@siemens.com>,
	isar-users@googlegroups.com
Subject: Re: [PATCH 2/2] Revert "events: Do not warn on left mounts by default"
Date: Thu, 10 Oct 2024 06:33:43 +0200	[thread overview]
Message-ID: <82a6c7c9-afc7-42e5-a8ed-44ada344ab85@siemens.com> (raw)
In-Reply-To: <77ecc277-59c5-4094-809c-f0fcc3f48e8e@ilbers.de>

On 03.10.24 09:42, Anton Mikanovich wrote:
> 03/10/2024 10:25, 'Jan Kiszka' via isar-users wrote:
>> On 02.10.24 22:31, 'Florian Bezdeka' via isar-users wrote:
>>> This reverts commit 72ec986d9cd3a3913e8592554456d5968d6b659a.
>>>
>> This needs reasoning why the original motivation for this change no
>> longer applies or was wrong.
>>
>> Jan
>>
>>> Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
>>> ---
>>>   meta/classes/isar-events.bbclass | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta/classes/isar-events.bbclass b/meta/classes/isar-
>>> events.bbclass
>>> index f5061a8b..77dfecee 100644
>>> --- a/meta/classes/isar-events.bbclass
>>> +++ b/meta/classes/isar-events.bbclass
>>> @@ -53,7 +53,7 @@ python build_completed() {
>>>       with open('/proc/mounts') as f:
>>>           for line in f.readlines():
>>>               if basepath in line:
>>> -                bb.debug(1, '%s left mounted, unmounting...' %
>>> line.split()[1])
>>> +                bb.warn('%s left mounted, unmounting...' %
>>> line.split()[1])
>>>                   subprocess.call(
>>>                       ["sudo", "umount", line.split()[1]],
>>>                       stdout=subprocess.DEVNULL,
> 
> The motivation of original change was discussed here:
> https://groups.google.com/g/isar-users/c/mz-7DWob0O0/m/8hLr6cw4AgAJ
> 

Exactly. I wonder if we cannot limit bb.warn to error-free build
completion, somehow. On build errors, this remains a cleanup that should
not warn.

Jan

-- 
Siemens AG, Technology
Linux Expert Center

-- 
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 on the web visit https://groups.google.com/d/msgid/isar-users/82a6c7c9-afc7-42e5-a8ed-44ada344ab85%40siemens.com.

      reply	other threads:[~2024-10-10  4:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02 20:31 [PATCH 0/2] Fix leftover mounts in rootfs.bbclass 'Florian Bezdeka' via isar-users
2024-10-02 20:31 ` [PATCH 1/2] rootfs: Add missing umounts in rootfs_postprocess() and rootfs_install() 'Florian Bezdeka' via isar-users
2024-10-02 20:31 ` [PATCH 2/2] Revert "events: Do not warn on left mounts by default" 'Florian Bezdeka' via isar-users
2024-10-03  7:25   ` 'Jan Kiszka' via isar-users
2024-10-03  7:42     ` Anton Mikanovich
2024-10-10  4:33       ` 'Jan Kiszka' via isar-users [this message]

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=82a6c7c9-afc7-42e5-a8ed-44ada344ab85@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=amikan@ilbers.de \
    --cc=florian.bezdeka@siemens.com \
    --cc=jan.kiszka@siemens.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