Message ID | CAJGKYO7Na2WK+h-XFAO=zJcX2reJqpUD1rLUkGOSDLDX9ibMdg@mail.gmail.com |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <isar-users+bncBDWOH7WUCQILTIG6TQDBUBHMXOSGA@googlegroups.com> Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 12 Dec 2022 21:34:08 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oa1-f56.google.com (mail-oa1-f56.google.com [209.85.160.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 2BCKY6W7029607 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Dec 2022 21:34:07 +0100 Received: by mail-oa1-f56.google.com with SMTP id 586e51a60fabf-1446f190493sf2859524fac.9; Mon, 12 Dec 2022 12:34:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670877241; cv=pass; d=google.com; s=arc-20160816; b=clV4w2iwNVonXRL4b65vtj5xRVwnbaiCcANTnXPQltbBHeESCPlcGXL+2tL8/KUVJJ mraZf0r6/du09nQQmJOW8/Ql1H+4EHPjEAvMcLx0yeZGvqP5W+XtDslLmyA6OmD+jp9a X52HjJdEnGT6AFXQpizTELLoKYVnRnAiGahTxZDKq+IL/Q1OcVULQehig+rIaoIUPdUf wJ/C6WkMyqnL0se9Bxbx2nGXV+qzs/iCyg51oPKdSwcmvBGRsZbm0ZV9IWaX7Qt+XCKd 6ly2HVtyqlxMe2L/RYLxZ4tXKz+98Pnd8VP6QUjECYbBVJVvvMmfPJV7ppVs8fZqXkO1 QLLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:cc:to:subject:message-id:date:from :mime-version:sender:dkim-signature:dkim-signature; bh=2zaJ6RXFNPeQ7RoY8eBoT7ebjM+a9RAiWMw96IEHqqk=; b=GWN7zoRKDgWHiAg+G9aMuJuhOzrN+ufi/nQ6FFv8+VUmpjdfH/Z/vjzno5KWLJC3se BhAwK93u7mOIAXxIKijhOrEtE9rEYmCHZc31/Hee109l90GmSlIrJ3WbFx81N+Ao/KhC Z3A3tF0B8PO3id+dv4G8Vm9Kxfciu1e0Bsmd50c2+ct5z6rqea4vj9J3CYq+abonKhvI lNi/Q51bABPJZOIpyh2nDqsZM/UvZJwL2GicYt/kKQDau2CJEYKe4/nQmTr10sit3fI9 ION71zNsLyIYYXgTNnogtXATBfjnKoPw/D50V4zEy0pkjOURhgJnqSewT37QZ6rXTC1c Mhmg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="NvL/mcZE"; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:mime-version :sender:from:to:cc:subject:date:message-id:reply-to; bh=2zaJ6RXFNPeQ7RoY8eBoT7ebjM+a9RAiWMw96IEHqqk=; b=GV+Dp+zDQQIjONm/2AYrsLGB4WfQx4lf09cytQ1tMZZ8z3Ux/zFgfcftht9L//H969 A+oegPnn/Gr8FB1GwM8IZ/BHSTKkDW7GzV6PuH1JqXxUags/lPPnwx3WxFZjNN44tBCv dvJuiORllw+Utg7RNY2oDO+Ar1Qbx/de3Xw4jqhQkIWcMGZzV3tp8nWG7JWZpuNDqxjM z8rsz6Zy1SL27gmQ4HGhjsgiLT9+Tf3YeI4wOB4Fg4nFqL6vVpRe3leY9WX3tXDVMI7C bQngBU+4riuLOvBqgLmoZ7Ad/9daB0sqtluzQ26tz/c95oVYDeDCQq05RgXL8iT4nFIo oqOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=2zaJ6RXFNPeQ7RoY8eBoT7ebjM+a9RAiWMw96IEHqqk=; b=BcftylEvr5TM78Mx2dTYV8tTVvI5fMfE4jlvpyw1dsVv5/N3NGR/ljA3njBuEEuJKL rZxGUXh40oPXePFN7sWfLMdMutxQETq5QAV6TGSPoIJRXqTTjS+mZAz5DuHPQAeIIVRx X9wpuERSjIJFh12zbLCc601s4qK6OPxR6aVWFa1W0ww4ldTqskAXOofGUu1oCzc1G/U/ Vf416xr7jamt6+XDmIflZF8OgmRWiDo+Y8uKePJsOWVfRZfI+ssSZjoAe9ivRqGAyN1o WEGubuNTRYqqRaNfGR9T7pJXKpMxZ3JaXwh4cf1zOJuWps3W6Oep4HOA9+jl7nXc7GdD br3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:cc:to:subject :message-id:date:from:mime-version:x-gm-message-state:sender:from:to :cc:subject:date:message-id:reply-to; bh=2zaJ6RXFNPeQ7RoY8eBoT7ebjM+a9RAiWMw96IEHqqk=; b=uPJNvwOmlMlSYk2umAChqjE4r3lOrKCPKR+bIckPFslOnU51wQb8IKWlAW5iHxOGH8 lHRhNhrnswv4adLzkPNUdaGwMygB3R1bJAr/fsOd9fK4VQFNkPDnzLk0bA+F3cRYSTjr 6JZNmzVZLcqngk0OCfJ2hN2fZ0Swe8OJXPmEHxazjLzn/v+Zv4S4t6km8LLVc3sb4O9k qPy+RrqwCoHep0PM+ZgSIYIHKloyO8M02UoKhRYO7A+72/cQQwDARI/ase1SKQneEkuf l86lICF7/h0J6QHpKa5MpGs8ccn5dWnWidKz1mlghRdX4qOBrwG9CDIldpU/7ypS+y1O y3Qg== Sender: isar-users@googlegroups.com X-Gm-Message-State: ANoB5plhDqguwal4GI3rlnGSPC9q0pkfmaDp0Oe5WW30a3GBBPJk6ABG LHbKCRS8SZPT+U7MHmKU41o= X-Google-Smtp-Source: AA0mqf5byM5hygmuWFxfn62eWLrQmIcYz01ufyz5EptNsjLE07per0L0HRm04B6JqZMSXghKmkT5jw== X-Received: by 2002:a05:6830:1c7:b0:663:d3ce:ca26 with SMTP id r7-20020a05683001c700b00663d3ceca26mr39033008ota.67.1670877241501; Mon, 12 Dec 2022 12:34:01 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a9d:4714:0:b0:661:91c7:c50b with SMTP id a20-20020a9d4714000000b0066191c7c50bls2682809otf.0.-pod-prod-gmail; Mon, 12 Dec 2022 12:34:01 -0800 (PST) X-Received: by 2002:a05:6830:268f:b0:66d:321d:9d50 with SMTP id l15-20020a056830268f00b0066d321d9d50mr10801123otu.7.1670877240992; Mon, 12 Dec 2022 12:34:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670877240; cv=none; d=google.com; s=arc-20160816; b=GStWZ2eBn7isFFuwVHdSfHQLukYcL/x7Ap6h9cS+q/6bS59F/B5oLIcFd1SBp0Z86K w2+5wcGpu34rLvMWiciUKUH/FlFhUefOojZbaeRAsbjeKBovqsOZn2eK26W8FLHYSVxR yCR55OcXHATAUhnkUYz9H+2WlTTIURM+LjBBFeO+ms+xM6LTyo9s21EqPh/uNsEJEPDs EdUMqb4o6uzmhQhc4sam6UZHCt1NPpOw+QoLnegEt+mM0b5FcI6wl/pswx/efSpEvyZr T5HWnxbjwLl7CobzR9/BiAdNuTRxwySDQT3nGYeLTgy1RFuALAVlTnz2R2a+6Zio0bJg HcfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:dkim-signature; bh=DPOlOyyHvj9JF3nWXlkL4KWx4+ulJeawn92xzmOo4Ao=; b=O8lWWwFBlTm+M7+NjSlMOruqA/F1B+K+At3ABXRDLo1TOQguu6OzEEnFq+eUvLVZRy O0HXFWcVMoHJNo/WzkJCMZ7gSgvlZfflBbytJKtv260jmlrKaspboWW6wd2XcWWHwMlK haE2KZqZM5nErMrnvb15HiIREynbPuKXrl9Cho4OR2IRBSus/0ozvBJKPGysRCKjTK4Z RVZesafw89AbfYhIU7MYN3FBeXropGIdXBboYaEMUxlpRldpfNTRiCu7y+5qrgsuC2Dr ejhQo93jY2vyos5oF7wQUExND4IDEcwvFbPv06tB6w17E99tvoai+tjAWS34bx26Z52G GSaw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="NvL/mcZE"; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com. [2607:f8b0:4864:20::832]) by gmr-mx.google.com with ESMTPS id 105-20020a9d0372000000b0066fe878940fsi63442otv.5.2022.12.12.12.34.00 for <isar-users@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Dec 2022 12:34:00 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) client-ip=2607:f8b0:4864:20::832; Received: by mail-qt1-x832.google.com with SMTP id jr11so9446266qtb.7 for <isar-users@googlegroups.com>; Mon, 12 Dec 2022 12:34:00 -0800 (PST) X-Received: by 2002:a05:622a:4d96:b0:3a6:8ddd:5095 with SMTP id ff22-20020a05622a4d9600b003a68ddd5095mr10953883qtb.145.1670877240230; Mon, 12 Dec 2022 12:34:00 -0800 (PST) MIME-Version: 1.0 From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com> Date: Mon, 12 Dec 2022 21:33:23 +0100 Message-ID: <CAJGKYO7Na2WK+h-XFAO=zJcX2reJqpUD1rLUkGOSDLDX9ibMdg@mail.gmail.com> Subject: [PATCH] In expand last partition wait for udev have finished To: isar-users@googlegroups.com Cc: joe_macdonald@mentor.com, Henning Schild <henning.schild@siemens.com> Content-Type: multipart/mixed; boundary="0000000000005e53ad05efa76c12" X-Original-Sender: roberto.foglietta@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="NvL/mcZE"; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: <isar-users.googlegroups.com> X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: <https://groups.google.com/group/isar-users/post>, <mailto:isar-users@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:isar-users+help@googlegroups.com> List-Archive: <https://groups.google.com/group/isar-users List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>, <mailto:isar-users+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>, <https://groups.google.com/group/isar-users/subscribe> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_PASS 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= |
Series |
In expand last partition wait for udev have finished
|
expand
|
From 357f8d178a571ff9cdd8e8e6aa43a321d5ee888a Mon Sep 17 00:00:00 2001 From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com> Date: Mon, 12 Dec 2022 21:14:26 +0100 Subject: [PATCH] In expand last partition wait for udev have finished bugfix, expand last partition, wait for udev completion On some hardware the udev did not created the links to the disk partitions while this script is working thus it fails. This patch fixes that cases. Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com> --- .../expand-on-first-boot/files/expand-last-partition.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/expand-on-first-boot/files/expand-last-partition.sh b/meta/recipes-support/expand-on-first-boot/files/expand-last-partition.sh index acfef8a..68e6698 100755 --- a/meta/recipes-support/expand-on-first-boot/files/expand-last-partition.sh +++ b/meta/recipes-support/expand-on-first-boot/files/expand-last-partition.sh @@ -9,6 +9,8 @@ set -e +udevadm settle + ROOT_DEV="$(findmnt / -o source -n)" ROOT_DEV_NAME=${ROOT_DEV##*/} ROOT_DEV_SLAVE=$(find /sys/block/"${ROOT_DEV_NAME}"/slaves -mindepth 1 -print -quit 2>/dev/null || true) -- 2.34.1