From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6842309179660566528 X-Received: by 2002:a50:b964:: with SMTP id m91mr34124030ede.37.1593099250476; Thu, 25 Jun 2020 08:34:10 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:df16:: with SMTP id c22ls769700edy.3.gmail; Thu, 25 Jun 2020 08:34:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsSjE28MQH73JD48b7JuYj+yqBUCn45Ya5m5bl920wz9xAsS+YNGEFmzM3Dtucv3hJwh+C X-Received: by 2002:aa7:d492:: with SMTP id b18mr33048063edr.339.1593099250023; Thu, 25 Jun 2020 08:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593099250; cv=none; d=google.com; s=arc-20160816; b=rPwagWGqONdDfHrO4n+XrfKwyI0j6i0f0EFuD1ZGSF4qYzRNYv+5mZhHo9DwtrONuP E+XOLpHXxzkzbMROnEa4MZcGqBbKerq3O1eFha8hgd0KxAReNwV3Gj3wYzW8B5IJNXal 8XHnVDN6k+SoqW30SOVpblVxaEEr8EJJEWWxrVWoqIFqxTNvYskRwdh16aDCme/LIi8b a8KLWvc3l+SJLAnzvde3XjCAWg4p5WqZibCloUsnP2KrVPwWUc83BXhThYcnXzTuWXhf wJnbPFTFOB5hbK698QPMJ01SDmv5wb0q1fsfG3x6nafP0pCkHKenHsgwQqE5vkuvLcoR Y2wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=2Hv0JZAQx0co1E5BrIW23jg0MK7FeKhV2Y4JroN8+NU=; b=hEcmCHAnHdHFwWYtE6iMrrgMGSjnlxjxdSNIKHj7PbEAMAyYx6qFt2/o4wTLO+NTXO Rb+nOS2Ypl7YG4jnkstoe++boQGjiFBQYHUbemjHBN2llZefqPGenvLz2Vut8mn+ZXa+ 0QfZVjCK5r8MVNwQZuKjbwmwuL0wzIb39vv88sWe4yQjaN/l/DW8rgGkbNbGR4jVsVCX fJ7cWye/wIarR5YlNxK19jlhPyEXp4UziIIqPYTgeI0B+qMjo60I5ieA7twc3Gcb5rhd V/hcJtv/Zq7Gq7dDSVXPX+3+8vwU1Vme6ZGrIzxhPqhtMRCcdYiGxwoqQgiTDEC1wjR7 A9kg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id a23si1306205edn.0.2020.06.25.08.34.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jun 2020 08:34:09 -0700 (PDT) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of hws@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49t3w159MPz1rtMh; Thu, 25 Jun 2020 17:34:09 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49t3w14kDGz1r56y; Thu, 25 Jun 2020 17:34:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id WL3I63xgfixb; Thu, 25 Jun 2020 17:34:08 +0200 (CEST) X-Auth-Info: wNe3BcGKmpOWe037UWw7qV00GsyamarROBJRTVMAxP8= Received: from maia.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 25 Jun 2020 17:34:08 +0200 (CEST) From: Harald Seiler To: isar-users@googlegroups.com Cc: Claudius Heine , Harald Seiler Subject: [PATCH] image: Run copy_boot_files after rootfs postprocessing Date: Thu, 25 Jun 2020 17:33:51 +0200 Message-Id: <20200625153351.3402179-1-hws@denx.de> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: esS0JsgBMmWV In some cases, postprocessing might trigger an update of the initramfs which would not appear in the deployed version. Fix this by running copy_boot_files only after all postprocessing completed. Signed-off-by: Harald Seiler --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 0150f2718573..21d634a8f34f 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -153,7 +153,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 after do_rootfs_postprocess python do_image_tools() { """Virtual task""" -- 2.25.4