From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7065986084596875264 X-Received: by 2002:a05:6512:545:b0:435:fd1e:4a74 with SMTP id h5-20020a056512054500b00435fd1e4a74mr4034229lfl.476.1645772775383; Thu, 24 Feb 2022 23:06:15 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:2153:b0:443:9651:a9f4 with SMTP id s19-20020a056512215300b004439651a9f4ls1764077lfr.3.gmail; Thu, 24 Feb 2022 23:06:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxB+4Mlc5WHtSER0YmD6Yuf2uPjOveY0ck51UOOxX8JviJyvvjsFjjmZeYyVYJ1CszMSPKO X-Received: by 2002:a05:6512:3a95:b0:443:1624:3be1 with SMTP id q21-20020a0565123a9500b0044316243be1mr3995235lfu.355.1645772774223; Thu, 24 Feb 2022 23:06:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645772774; cv=none; d=google.com; s=arc-20160816; b=hZ4v8j+EUJjGhIi6XX2sx5QjCiQomzr9woznUwv/Rr5NNTQsHg/YBNOePVyvnodgwi fLweZKeSObvBIo//tLcUoXJM35wi/sHxVWCdUfqzk/pmEbz3TzScIUWf+SxaEE/SeqJK FENq18zEOfCKnGn94lKUXA24tJdnrKylpJKUKyjUyAPCwAqvPZusR4YIMvl75JWOpFr9 Osy1cmqmwdrRFrtQ3GLUH5R6qH3t8ZD6gWA/LCXmsLz19o82gWr5iTKmgB9fIP7RLvPO eu8Pt3KkMReoFUw/N3hKiZSJNNRVqDOxMD18ZvxMr9Athc/8VwCCxOF1rVndOuJwP5aH qkJQ== 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:in-reply-to:references :mime-version:dkim-signature; bh=XWmEFiJZzPST/LJEKaxp3ICd0tGNotn/kc2eCcd6UXw=; b=hva0BhrWtrIV2AiGriL40RziXJYnl7hLJmz36JOxCWIs9vciRqpBJZLynxYyI7E/x7 /m9JpLjEB2M9uo/Af61e49AgORuMKkx04EpCMLG+PwpOTe0HnAttJAoV5dsB04AII9bc EabgoaFnymtQiXniIG2e+68PeK7CeyFRQ3G07mOH/RaEWadt0gC8W350JtAPnJ5W8fik ZrflKRaVLGcXBjDr0Vi3UajjEV+pSMDMynxtm4TxLAjRC8kvdmI6qunQkCqyg8unSotF tf/EKvt9q/OakxwfnP1r7FY3v12WFUM8QlxYnrZDWq2outni4Tjb8YLWBAUN4V1fpXCD Gyrw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="ETy/i3BE"; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com. [2a00:1450:4864:20::329]) by gmr-mx.google.com with ESMTPS id o11-20020ac25e2b000000b00443c501a389si77300lfg.1.2022.02.24.23.06.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Feb 2022 23:06:14 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) client-ip=2a00:1450:4864:20::329; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="ETy/i3BE"; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-wm1-x329.google.com with SMTP id d14-20020a05600c34ce00b0037bf4d14dc7so1106323wmq.3 for ; Thu, 24 Feb 2022 23:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XWmEFiJZzPST/LJEKaxp3ICd0tGNotn/kc2eCcd6UXw=; b=ETy/i3BE/bDCkSLgQWor+W+a4EhVoj24S+hDcNm7SEw+rQuyUYHDXSZOUHKt7ScXfJ yJrUShtHb4u3SG5GpkYZFpPAtl1Hx9CJletqMjPrnEGLsPctrP/zLY2GF9sGj8xh47CG 1aWKwxmN/UUqdFHlQgF3pxHvhec/2SfKk3uSdC3t8TYGWCMethV/MwTCj3W7GO97pCWR ArS5auDdR4Y6hroP82hn6IYHKpuIbgG4E+obdo6j5pfdqj+12wxbwv3kwFma4N2U9xKf Rf7zNjbd7zWQAsFVAQHrg7aOprLxo/Dky4bzcveEln0gU4dwhASrAcxDjhveRlvbubYJ dhYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XWmEFiJZzPST/LJEKaxp3ICd0tGNotn/kc2eCcd6UXw=; b=s0ui5uWHozReHTBlHSSIOTO3YobyMaeAb5ejpp0Hc1uTcKUGI+yQNjtH58e+gBtHjY fdBkr6zxkw9b+wUENOuP3N7faJSAqf7LP44TU9QkytUmMYIf7ozp/afBKB3B8+EGt2Sp W/swAKcMyVxM3Y/tjNnxHsDEJqYIafcpE2yqJg0xj2fRHrXT1UUA/frE+6sh+2A1dMmT FUtAaPDKKWRQEPb+X5G8roElq+oUZH6XLIQ2/pYg7NMOt2umdTPJcWq+bZ5c0PELZaN6 8uVO0JvhwsA66C39nSsGlxyCKZ1YyLNzwxXrlexnaiOUmVwjQQWONNbhJngItU0UzV1w Mr8w== X-Gm-Message-State: AOAM530QvXfb1PPrSS14HVa1kXmZhxLnUB2i9+KTgsNMvmRn97CWaEAg mbIEPs/RRCbmiG1ScyDtoHqSPZtY7ZEO+lHc6uohn7QE X-Received: by 2002:a05:600c:3d88:b0:380:f6d9:9461 with SMTP id bi8-20020a05600c3d8800b00380f6d99461mr1374595wmb.137.1645772773404; Thu, 24 Feb 2022 23:06:13 -0800 (PST) MIME-Version: 1.0 References: <20220218095428.1767282-1-Vijaikumar_Kanagarajan@mentor.com> In-Reply-To: <20220218095428.1767282-1-Vijaikumar_Kanagarajan@mentor.com> From: vijai kumar Date: Fri, 25 Feb 2022 12:36:02 +0530 Message-ID: Subject: Re: [RFC PATCH] image: Reorder do_copy_boot_files task To: Vijai Kumar K Cc: isar-users , Jan Kiszka , Henning Schild Content-Type: text/plain; charset="UTF-8" X-TUID: jXg7I9GtS1nr Hi All, On Fri, Feb 18, 2022 at 3:24 PM Vijai Kumar K wrote: > > There might be cases where in there are some initramfs changes in postprocess. > For example, via the distro config script. > > In such a scenario we would have an outdated initramfs file in deploy directory. > Certain downstream Wic plugins directly consume the image from deploy directory. > It then uses the outdated initramfs for creating the wic image. > > Copy boot files after rootfs postprocess but before finalizing the > rootfs. Any comments on this? Thanks, Vijai Kumar K > > Signed-off-by: Vijai Kumar K > --- > RECIPE-API-CHANGELOG.md | 7 ++++++- > meta/classes/image.bbclass | 2 +- > 2 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md > index cad15a8..ef53b1a 100644 > --- a/RECIPE-API-CHANGELOG.md > +++ b/RECIPE-API-CHANGELOG.md > @@ -342,4 +342,9 @@ The bitbake variable defines the respective environment variable which is availa > When cross compiling, `cross` is added to the `DEB_BUILD_PROFILES` environment variable. > Please note, that manually exported versions of the variables are overwritten. > > -For a list of well-known Debian build profiles and common practices, we refer to Debian's BuildProfileSpec. > \ No newline at end of file > +For a list of well-known Debian build profiles and common practices, we refer to Debian's BuildProfileSpec. > + > +### Move do_copy_boot_files task after do_rootfs_postprocess > + > +The boot-files(kernel, initrd, dtbs) are now shipped to tmp/deploy/images after > +do_rootfs_postprocess task and before do_rootfs_finalize task. > diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass > index 6d77243..d70a93b 100644 > --- a/meta/classes/image.bbclass > +++ b/meta/classes/image.bbclass > @@ -170,7 +170,7 @@ do_copy_boot_files() { > cp -f "$dtb" "${DEPLOY_DIR_IMAGE}/" > done > } > -addtask copy_boot_files before do_rootfs_postprocess after do_rootfs_install > +addtask copy_boot_files before do_rootfs_finalize after do_rootfs_postprocess > > python do_image_tools() { > """Virtual task""" > -- > 2.25.1 > > -- > 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/20220218095428.1767282-1-Vijaikumar_Kanagarajan%40mentor.com.