From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 12 Dec 2025 15:30:51 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f64.google.com (mail-wr1-f64.google.com [209.85.221.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5BCEUoAq027793 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 12 Dec 2025 15:30:50 +0100 Received: by mail-wr1-f64.google.com with SMTP id ffacd0b85a97d-42e2e447e86sf854519f8f.3 for ; Fri, 12 Dec 2025 06:30:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1765549840; cv=pass; d=google.com; s=arc-20240605; b=NSClTJ93z/FdrhlUkkOJsNtjWEDG3biJxunABMk57U7nCi6ZEEtkHvf3tCrl173cGr rlunFZjG+Cee7TL7LsJMD0RI06I8ndZ33MtfK4UeybhEpuSSF1iMiFyov1SlZU10M1dU Dkxf4WQflO4kPtZ/dcqwS/R7HdYhCNVLwGAdsx7gW1qvEedPnmVg4/0ONVENTy0Qonhc 8YTAX6Ihzdzu8u9Gd9VsAP73AEBD67qyIVZxLsDcJDjJoVOj8oSNYWWv807p7bj7wjXZ UEfcmgJWr+1bxiTc4/n/ogRtScWoyPYLZHScXtfisIGl1FgL0f4XNINktZ7ogI0jTalq LheQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding :in-reply-to:content-language:references:to:from:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=oq1GK0o0k9H3uDPG/oIoFPgzZtk1XOc0DLpp2Udw9uo=; fh=Ecuuu9gexpztZpmf3h57noA1TglQ9lO0lpndtA2bBxM=; b=BQyVwUwGPfbcfAiHFmJVyjKd1eTYC2pinyqv8ddKpjCCcFlbn4T+57P18+K/0gcnLq LfsJXyga/RHWo5lPPZYJsuhgJ2VZnGj33YfCoZaXFarCa0Zv/EbNlDJyWhMWt7ZJDXCy CqPH1STJWpy5NZAEun1mS5T8lIjFSUR2izCf5IfGQso3ub7Ak3k3xu6UmvDwCFustmw5 5TgTOvzV+O/q1R+CVPF8rcN9Ii+FuNlmr/Xi68qM2kaet1H3442XQz6Vvh4yim0gNhum z5nqFrq3HVFv/W/I4NnO7qPleJg9cQIvOZCcInr4jbotHWfUYqu4hrBylFfGKVnWEWxz MDwA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1765549839; x=1766154639; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:in-reply-to :content-language:references:to:from:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=oq1GK0o0k9H3uDPG/oIoFPgzZtk1XOc0DLpp2Udw9uo=; b=eU6X8EmZwCawID5r+ghX/r7Jy291FzEOb3H8RzfnK4O67pO9NNGnoyZOdGRbAos7OB /ALXXvrj9JYI6pJ9FrTCCxopplDnvcbdObzfJ4TV/Z5yitRAhvFdXYb2+4jCST1Tdk4V z1kWIKkZu4nfbvZpvFyH7Kxib0nNn+0g9A/mXVOUYG5v+354VJ46p7p3+jfgjg23UKk1 /l7YUbeJUD9PBhBcfg/xg0sjEUIPaIQcyTqOGlRyK5YYdR79vGP4YZmzrPdLV/dVCVns f+ZqWMpZN2jBmlQi4+3yVcWIsKEqQV9BXMP5iTyR1twaj3FRYftZMp0wtaqBXEUN578q 5SAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765549839; x=1766154639; 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 :content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=oq1GK0o0k9H3uDPG/oIoFPgzZtk1XOc0DLpp2Udw9uo=; b=e5S3+LlZUWBjoB/gjJCGSfT4GITq8RJRG7b5OGQ73/bfl+FQ9Vg8XvtMdvq9HlTzcT +Y1wIKKjVB8BSbropm4vRLIJeI5g2KWYQlU+Fx9DRIVgLnxt6izgnPGQ6VkJv7IPz5Nu LnSqeGSV0HXrfILMrdy7vgAxokssrxTAPT6AgwfYb6uRw7DxPQZekG6Z9ZDq7Q2CjAUr iEMxBS2Y1qK/6TBn6lhtDvdAF8mCDJEoPIsfyPGogj0Xz5i8gMD/FF4O/+d6CJCC5aNn W3z4Of8M36A2hIqiLGskv6fq4ps8RhMI+6wKhx1cJdsYoG41zhB5vWxWDRIcWQFmdf/Z qFtw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWMD1ldAbiCQDL++RvuvbjMqD95IyJPaEKovn6QfSH/gw8iGXIx59Cuh2bUH3+OqJKilUrS@ilbers.de X-Gm-Message-State: AOJu0YzVIiy7dxVyXL4cpPnO/q2xZ4kSxnaD18f4Z0wLpEYhGaaOOEOR +DT+aAD9UZJnmfhc9p9I+3UfT2HhT5I2OBs4s7unXvnIXPbs0/EhAyXt X-Google-Smtp-Source: AGHT+IGArypgY+CP4UTj2cEZpRdP7xxtoe5+IybCGLY80Gey6Q0FeROzWNClwdP1bgWK4FnMtQ9mUg== X-Received: by 2002:a05:6000:2287:b0:42b:2fc8:186 with SMTP id ffacd0b85a97d-42fb46ee92dmr2691301f8f.46.1765549839437; Fri, 12 Dec 2025 06:30:39 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AWVwgWYXlXiyQJoUElvHgSWon+BPunlygLYtTvcYaLcJc5GDKg==" Received: by 2002:a5d:5f89:0:b0:428:52bf:bc00 with SMTP id ffacd0b85a97d-42fb2d84d59ls341608f8f.2.-pod-prod-06-eu; Fri, 12 Dec 2025 06:30:36 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWJuluanQYdRS6A+E9kso+3eGOph2ub+qD2rWiUQTtcRY6saDHJxPU0PyXQBnhfFJ+dNPYg3mvlA8KE@googlegroups.com X-Received: by 2002:a5d:64c6:0:b0:429:c4bb:fbc4 with SMTP id ffacd0b85a97d-42fb44c1efcmr2409208f8f.25.1765549836554; Fri, 12 Dec 2025 06:30:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1765549836; cv=none; d=google.com; s=arc-20240605; b=cqIW1uHwUdhnovqsr5eiBOgnQKbQVD3Kg1tpLPiUzZz7rA9ficXymRI2lE2f7nXDY3 DgVGfKIeRD6SFrjPDBUBVEyVyCpm6CRV9RYznllN4PWDJEx7DOPzKEzV1p2KTkSWuq3j m2jNTHgSDTco2PouiLv+z2osHuzYnhlb6Q++YX3rGW95HsbXvutc2Kv+KzZB5YdaaoxL ecJPmj1vzXmBBx13RqvyjxcaEYIEAMDejzvxnrIXtQzV0wLd8vMePvy69E5vUyxbdGWY eJW2pVrsnMZY4vpaOTSrt/0jZia3dvrwhJmCACz8dFvVWg0E9oeoppOT7VEaxNNOrmWa y+lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id; bh=sQXQHPKJZEbiBCzYA6Uy1WOqvdEXEPrjU1CM61KR2c0=; fh=4TeZL/mJDXF+FYT2UcyujISz/JzMJ/dUYN5HO4AcH+s=; b=i/rXuZpwuVWJVMLrnVDnu75G2CLqBt+DDyujsuBUnPM642ByLk4iXQF3k1AA2CSH0P jr8Ar4h4sm85wNMxNo67vDR5O7fjcRlYah2PJInN2+A8jAxD4CdMfmUFYbxn08cf9PEF OvM4PVFxgDZokkJ3mEPaq2ofprqsiKPIL7+TJmh3s2VirETF18w/FVCWC6S3CRv9th8F DBvDb5bxj1FQsKfqB+lNniTzIRfcLxlTo07IqxhnF60sy+SEDDDFQ0b9AJj7sMPjwMPp GVr1hQrDEe8O37JY2ZD0zHAPAjql+F+hR3pvrdpYurqFoDl5ba7tDu9ZdzorlkSpIPtR DmXw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-42fbae85baasi10015f8f.0.2025.12.12.06.30.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Dec 2025 06:30:36 -0800 (PST) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.117] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 5BCEUZHI027780 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Dec 2025 15:30:35 +0100 Message-ID: <3f28225f-e311-499e-85f1-d81d4c354c74@ilbers.de> Date: Fri, 12 Dec 2025 15:30:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Fix initrd build depends after setting IMAGE_INITRD From: Zhihang Wei To: Quirin Gylstorff , isar-users@googlegroups.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, Anton Mikanovich References: <20251203144621.2903536-1-Quirin.Gylstorff@siemens.com> <5379e67f-c8c7-4408-a239-1179815bf962@ilbers.de> Content-Language: en-US In-Reply-To: <5379e67f-c8c7-4408-a239-1179815bf962@ilbers.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,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-Original-Sender: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: BbeuvzjSmDz+ On 12/9/25 17:13, Zhihang Wei wrote: > > > On 12/9/25 16:12, Quirin Gylstorff wrote: >> >> >> On 12/9/25 13:28, Zhihang Wei wrote: >>> >>> >>> On 12/9/25 13:10, Quirin Gylstorff wrote: >>>> Hi >>>> >>>> On 12/9/25 13:02, Zhihang Wei wrote: >>>>> >>>>> >>>>> On 12/3/25 15:45, Quirin Gylstorff wrote: >>>>>> From: Quirin Gylstorff >>>>>> >>>>>> As do_image is virtual task it is not executed, see log.taskorder. >>>>> I'm a bit confused because do_image_tools seems also to be a=20 >>>>> virtual task in image.bbclass. Why this virtual task was executed? >>>> >>>> I think do_image_tools has some implementation behind it due to wic >>>> in my case. >>>> >>>> >>>> 20251203-141015.078894 do_fetch (8603): log.do_fetch.8603 >>>>>> 20251203-141015.432653 do_unpack (8817): log.do_unpack.8817 >>>>>> 20251203-141016.385643 do_copy_wks_template (9626):=20 >>>>>> log.do_copy_wks_template.9626 >>>>>> 20251203-141018.352672 do_check_swu_partition_uuids (11629):=20 >>>>>> log.do_check_swu_partition_uuids.11629 >>>>>> 20251203-142714.202649 do_rootfs_install (269893):=20 >>>>>> log.do_rootfs_install.269893 >>>>>> 20251203-142812.346458 do_copy_boot_files (278687):=20 >>>>>> log.do_copy_boot_files.278687 >>>>>> 20251203-142812.347572 do_deploy_tpm2_firmware (278688):=20 >>>>>> log.do_deploy_tpm2_firmware.278688 >>>>>> 20251203-142812.479116 do_rootfs_postprocess (278755):=20 >>>>>> log.do_rootfs_postprocess.278755 >>>>>> 20251203-142813.723336 do_generate_image_uuid (280155):=20 >>>>>> log.do_generate_image_uuid.280155 >>>>>> 20251203-142813.833043 do_rootfs_finalize (280281):=20 >>>>>> log.do_rootfs_finalize.280281 >>>>>> 20251203-142813.837689 do_transform_template (280287):=20 >>>>>> log.do_transform_template.280287 >>>>>> 20251203-142835.289802 do_rootfs_quality_check (303158):=20 >>>>>> log.do_rootfs_quality_check.303158 >>>>>> 20251203-142835.458624 do_rootfs (303179): log.do_rootfs.303179 >>>>>> 20251203-142835.545966 do_image_tools (303194):=20 >>>>>> log.do_image_tools.303194 >>>>>> 20251203-142835.548904 do_rootfs_wicenv (303195):=20 >>>>>> log.do_rootfs_wicenv.303195 >>>>>> 20251203-142835.635904 do_image_squashfs (303216):=20 >>>>>> log.do_image_squashfs.303216 >>>>>> 20251203-142853.614060 do_image_verity (305205):=20 >>>>>> log.do_image_verity.305205 >>>>>> 20251203-142916.978304 do_image_wic (309278):=20 >>>>>> log.do_image_wic.309278 >>>>>> 20251203-145901.333675 do_image_wic (953): log.do_image_wic.953 >>>>>> >>>>>> To ensure that a custom initrd is always build attach the dependency >>>>>> to do_image_tools instead. >>>>>> >>>>>> This fixes a problem with the new IMAGE_INITRD variable in case of >>>>>> a multiconfig with two custom initrds. >>>>> Can you elaborate on this issue? Is this related with initrd image=20 >>>>> not being generated? >>>> The initrd was not generated - so we have a dependency issue. I=20 >>>> think the main issue is the anonymous python task. >>>> >>>> Quirin> >>> Can you try the patch I just sent? [PATCH] initramfs: Restore=20 >>> default "generate-initrd" logic in initramfs.bbclass. I want to know=20 >>> whether we have the same issue. >> Your patch would also fix the issue. I had some problems as it was=20 >> not based on next. >> Quirin> Hi, just want to double check, if the current next can solve your=20 problem ([PATCH] initramfs: Restore default "generate-initrd" logic in=20 initramfs.bbclass has been applied), we can mark this patch as superseded. Zhihang > I forgot to mention that my patch has dependency on Jan's patches,=20 > "rootfs: Fix disabling of initrd generation if there is a custom one"=20 > and "rootfs: Restore previous naming scheme in INITRD_DEPLOY_FILE". > > Zhihang >>> Zhihang >>>>> Zhihang >>>>>> >>>>>> Signed-off-by: Quirin Gylstorff >>>>>> --- >>>>>> =C2=A0 meta/classes/image.bbclass | 2 +- >>>>>> =C2=A0 1 file changed, 1 insertion(+), 1 deletion(-) >>>>>> >>>>>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass >>>>>> index b030024f..b6301e17 100644 >>>>>> --- a/meta/classes/image.bbclass >>>>>> +++ b/meta/classes/image.bbclass >>>>>> @@ -32,7 +32,7 @@ IMAGE_INITRD ?=3D "" >>>>>> =C2=A0 INITRD_DEPLOY_FILE =3D "${@ d.getVar('IMAGE_INITRD') or '${PN= }'=20 >>>>>> }- ${DISTRO}-${MACHINE}-initrd.img" >>>>>> =C2=A0 # Make sure dependent initramfs recipe is built >>>>>> -do_image[depends] +=3D "${@ '${IMAGE_INITRD}:do_build' if=20 >>>>>> '${IMAGE_INITRD}' else '' }" >>>>>> +do_image_tools[depends] +=3D "${@ '${IMAGE_INITRD}:do_build' if=20 >>>>>> '${IMAGE_INITRD}' else '' }" >>>>>> =C2=A0 # Produce warning(s) if INITRD_IMAGE is used >>>>>> =C2=A0 python() { >>>>> >>>> >>> >> > --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 3f28225f-e311-499e-85f1-d81d4c354c74%40ilbers.de.