From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7124219434947837952 X-Received: by 2002:a05:6870:a198:b0:e2:6f65:b91f with SMTP id a24-20020a056870a19800b000e26f65b91fmr14082317oaf.192.1658753017487; Mon, 25 Jul 2022 05:43:37 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aca:1801:0:b0:339:f68a:e85c with SMTP id h1-20020aca1801000000b00339f68ae85cls1592682oih.9.-pod-prod-gmail; Mon, 25 Jul 2022 05:43:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vDRwKG/eBNUmwKQljGI1G2CncclEvNVlhIzogap3f4fQPH1qyE5Yj35I3nzHbhvizD79pJ X-Received: by 2002:a05:6808:16a3:b0:326:a585:95b8 with SMTP id bb35-20020a05680816a300b00326a58595b8mr12989481oib.281.1658753016887; Mon, 25 Jul 2022 05:43:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658753016; cv=none; d=google.com; s=arc-20160816; b=af+81YFjqmXJhuPbxQS25dL102txQvyZ3LY/n51yyIltgk8vie8T1lpWAmx9DIecqK C1WCWhjXNV6JJKGl8PkYxT45rJEuLbFJsRwC1yFoQtJrgyRlaehlt+GZq25wxnM+hk+M W82myy6c14tohZ5uicqnps42F77wisaqOZVq63G4HJEsYhbWCiPvVQi6EVzbhf81U1GF 3Vs02SoxYfQgkPVsxzLHDk5A6vfstuTSaCpKDanGvejKb9zbncRHDZqEE51DC75a5iSU npXHFBLFU3XBj5ECH1LWDKE/uS+A/JNV7Om3yzfJyZRZ2LHE2DZYrfMVGoX38QL1uIvK Rfwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id; bh=iq9q/bagy+DoUsHcTTWIWhLNSKiiHevkYBaSxhAbfKc=; b=mJ9eX7cVUUepQYxe6oMs4u9wftaRikQAQDPC32mtGF6WdNuCqWNBxADiYKQlDqanpZ QbyLnjTqcjoYzHs8LULWUynn+E84opoe5D7VOdr2q1F9ohiSQsc8BOlqq1wR83rNwjw5 PFxWTGhoSWpmHp4mwA0ChDpYJRhLZeyseIh1/sNoss27TuELrtjBpa3q0FAMERuv/QnZ z9fsmwNBE4IDGfi+gJ2wbjrvFx4Hb+zYii0ElARLvFkUPxqs8U+lBr2eBDgNyi96KLAa qmqu8t1eUM6Sy6BSXS+PXhNGFsCARTbvsi7YSIezR5TV9YQvAUqOskvb3wh0ej9Ih2MG 2xUg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id w67-20020aca6246000000b0033abe0bc895si367477oib.4.2022.07.25.05.43.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jul 2022 05:43:36 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 26PChWBr016735 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Jul 2022 14:43:34 +0200 Message-ID: Date: Mon, 25 Jul 2022 15:43:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] expand-on-first-boot: Switched exit behavior Content-Language: en-US To: Tobias Schmidl , isar-users@googlegroups.com References: <20220725080942.134743-1-tobiasschmidl@siemens.com> From: Anton Mikanovich In-Reply-To: <20220725080942.134743-1-tobiasschmidl@siemens.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: WeqckJ1v0MEy 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 > --- > .../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.