From: Anton Mikanovich <amikan@ilbers.de>
To: Tobias Schmidl <tobiasschmidl@siemens.com>, isar-users@googlegroups.com
Subject: Re: [PATCH] expand-on-first-boot: Switched exit behavior
Date: Mon, 25 Jul 2022 15:43:32 +0300 [thread overview]
Message-ID: <a9106723-c575-5e61-b821-6f7986bd62aa@ilbers.de> (raw)
In-Reply-To: <20220725080942.134743-1-tobiasschmidl@siemens.com>
25.07.2022 11:09, Tobias Schmidl wrote:
> RemainAfterExit=yes lets systemd to assume that we are still active
> after exiting the main process. This is definitively not the case for
> expand-on-first-boot. Instead, we'll use the cgroup to determine if
> every spwaned process has finished or not.
>
> Signed-off-by: Tobias Schmidl <tobiasschmidl@siemens.com>
> ---
> .../expand-on-first-boot/files/expand-on-first-boot.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service b/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service
> index cd063f3..7d4a2c7 100644
> --- a/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service
> +++ b/meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service
> @@ -14,7 +14,7 @@ ConditionFirstBoot=true
>
> [Service]
> Type=oneshot
> -RemainAfterExit=yes
> +ExitType=cgroup
> ExecStart=/usr/share/expand-on-first-boot/expand-last-partition.sh
>
> [Install]
Hello Tobias,
What commit does this change based on?
Looks like not the current next.
next prev parent reply other threads:[~2022-07-25 12:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-25 8:09 Tobias Schmidl
2022-07-25 12:43 ` Anton Mikanovich [this message]
2022-07-25 13:40 ` Schmidl, Tobias
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=a9106723-c575-5e61-b821-6f7986bd62aa@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=tobiasschmidl@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