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; Tue, 09 Dec 2025 17:13:46 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f59.google.com (mail-ed1-f59.google.com [209.85.208.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5B9GDjjr004497 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 9 Dec 2025 17:13:46 +0100 Received: by mail-ed1-f59.google.com with SMTP id 4fb4d7f45d1cf-64097bef0e2sf8036922a12.3 for ; Tue, 09 Dec 2025 08:13:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1765296820; cv=pass; d=google.com; s=arc-20240605; b=P4cpmDnfMJxN2v528e8WTtgmY43LTmSjWDuP1yO4TFlBZ4Jxucua/RhaYqeFYFK1z4 J6S0BpKgN5sldmXybepBFkBJhCFMx0kaz34HbXOFcW87rWs52Vt5USK0M9a17hY8wvGg EU3igjcabWCfjnmgL3DibrbGlJkMSZebTFiJZm9TLoq2ivvM7r7yBssjY9fe9jO2cVZi Cj3VgAJUtH3njwE13Qlr5kxkvLq+SSJiYYG0wVX41U9yHnyF7B4v9D6GM+r2ONmdWTJa 0WRVkWpEaF3H/cRNhk9PBFgPOtLejSZEWoRFIv95Vxwxr1pWUvXaDLDfjBLLafkHUnFW Kqig== 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:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=EIobBOdhvWjbWuift//VA3nB6hxPeqE0nA+y8Mjf5kw=; fh=oyNTm9WyysL4xgr8FjAmaiRoAXyDWKph4wDBYJ0YKkM=; b=kQmRLnokoRL7NemwiBwT3oOPNjmMqT2faEf6DYcg83ucsTaO4Yg8PzvU4PUCBLq79j IhuYMBn5/u7v0brTqp+EqmIIi/NY8l+yVSMv274m0uLU7v56Ny5MuhRlHktUZEVPThJ6 dvCiVO86bnqfrTvy71MgfRbOIYcJWDO1aXoySbuLppQVL5nehq7SsHZzKRb5aAqlju8t EPS5onPtBlk6ihNSIeM/W4lV57nNT9s7CLUHPZZJsK7C4AK+OxbB+R7oRMIqf/fQj0RY OYuXLKqwYJlo33WhzxxPVO2ns4mkxZqUnr/cqESD5vUObAAUFvhKZQoL9bZTNBR649gP v7sg==; 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=1765296820; x=1765901620; 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:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=EIobBOdhvWjbWuift//VA3nB6hxPeqE0nA+y8Mjf5kw=; b=NNog4qm2vZAY5wvDic3I4UQDYhhxVp/7UTfDvfZgIDQPoiNmrJ9sgAEsyUYAfTgzs8 WY/qkqlTrqpUvQJ0NSgSo8v4pLljkL+y9f2CWJT6A31RRBbzm9LRO5MRYrxPkbWEsCnD tr/zuxxufS6qdZvhNfZAn761OXs6MrlwDDE9s8MBqsZjQdb5T50N5Ubu4B8sVyeIrDFC zwplDUr0hrbxm3E4kZlAIdP/J6NZeFzXgKG7FrWmhBiUnMosybwFxLbRci7qhgzYJ85l wTk0kcrzVUOyClFjpODGEJ3othUhhkc+6nBqXaZr+CgS7rqqe1swsa5+r12SRR5nkh8+ YnPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765296820; x=1765901620; 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:from:content-language :references:to: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=EIobBOdhvWjbWuift//VA3nB6hxPeqE0nA+y8Mjf5kw=; b=LjzkuSHdobLiXIOWLnAPNbszn41keQckKFaM+KDDPd+utk/t1UyyhWkCqsDpC6XSlv 92YaPz1NoyQ/F4YLdmVf2zRYMhb4PbUkxlsQVhMMgD/BCIw3Bu1blqLG8PleN8kdHevK hes/SPPGO04fqTBvg997wOnvxcYidZrtGdchnOzxblHNvsSKdhc33xiNlNoF7iRgcThP kw3H0nh+KceEKW6DwCK5WdmMFP4DmIG2O1Z6ds8CMrKb/NwvJUZ70sCQ5fW+lgEIZFPI Nsbz/pUAZf56vWR7AnbRP23clGD5Fr3S6Nz36ZqQyS6AUDRJN/MMso/FCNvsAkI2DkwJ gTKA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUVO6G/2A6m18HEgKzNFTq/ozohPvmXMQRv+5bvfNjQ4lvs5baZBxCCULrJrgJB3zwxY61y@ilbers.de X-Gm-Message-State: AOJu0Yw5Oq4LSoPvhdar/odpHuFAfuAHsbesgcgVKhzx+yo77woCKDzZ UgpH2D1W8npPZQVL2v0/Vy2/o4ZneIJMxbsxhrnEgIVfDmiTsoCoMS7a X-Google-Smtp-Source: AGHT+IHzHHZAaBqNdDpOW4ZZUAwJVyNXu2g4xxe6nQz+zya3e0q8o58xevFexDOYJDoIZMn8B26rfw== X-Received: by 2002:a05:6402:440a:b0:640:6512:b9f with SMTP id 4fb4d7f45d1cf-6491ae1bb41mr10059748a12.28.1765296820312; Tue, 09 Dec 2025 08:13:40 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AWVwgWbllHcS4XQIu3S8N6Udr+09Z9moaIhXLNKCV/N3Eh+mVg==" Received: by 2002:a05:6402:3051:10b0:641:9a7d:f30b with SMTP id 4fb4d7f45d1cf-647ad5bac71ls4308274a12.2.-pod-prod-05-eu; Tue, 09 Dec 2025 08:13:37 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXWseboNzu4EoWY1JI1yB8OBNlpTV9x6Jre0F5pG7Z0j4V4H89hgI2yi1Ti3S30WnoF0R85Dd4/wMry@googlegroups.com X-Received: by 2002:a17:907:9489:b0:b76:5393:758d with SMTP id a640c23a62f3a-b7a247f3f58mr1219299366b.34.1765296817467; Tue, 09 Dec 2025 08:13:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1765296817; cv=none; d=google.com; s=arc-20240605; b=Aw/MuRF5yaas8YYqej+ZBilwZebYG2tTN0l5IjOyZGPXtRJVxekSsm7AVAznpT7w2g I4z5iSaezphnq4a7LQQaKwIm7h/xw/jJmVswEvLswB5bV9BDETYN8cbT4Fogz9+ePH/T VEYJ0mxb1uSAeqXgNT7W4WjGLAIi3R/Uehf1+alei7voYRckMAKoWC6kdGu/xkucD1br QAgsdR6jCYKsCcU96jgutaxvJ8a7JFD/rBfzfuLy+/fV+Lo9D6P29GwAuzx1ihkFIBl9 OPxwx07Zfxgof1oePzZDBE+K0sJBQEoPhHU08ikD5pwbUpVDS5R6n9o8eRqZi6IAW2uY VwGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=JP+3QoJu+3VqdR+CYKfUNGn+vF5gGoYF6rzjbx97FGE=; fh=vsEwt/yfDSX4KbgMdZDxRezMDLLDMHS7kXVv89sI4X8=; b=MD2sqtvQEKBGIDb8GM0W6aCuGQ9hDh+Y8zhKxuHusits+x/lNpHeJUX+Z1kngrLZEl vwzl3m47k/1nGTriH4aOIHALZa0ljuAVgcHVSZItX3GLj0uzgaNfxV7ZHOP/D00dV8KN bshOokKGy9YdsEWUPJTmenzqMvvyyp2ReMxm9oo0Nw8EfBsJNv3+7Yvm5flbwV9dcgIT 2OGX1RGAt8tAStXAVChbnuEAA7I0gQ/IDyHMRJzoAiAANaGI3zqO8zBmABgYIspObaDs bDLd9uOXc9/S4dOcHaNU7oqfkb8p0a8C4IMCncJFiNx+pccYKgP1trtFoKyzjsmUOzne xF4w==; 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 a640c23a62f3a-b79fa7eb3fbsi25054666b.0.2025.12.09.08.13.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Dec 2025 08:13:37 -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 5B9GDa8g004489 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 Dec 2025 17:13:36 +0100 Message-ID: <5379e67f-c8c7-4408-a239-1179815bf962@ilbers.de> Date: Tue, 9 Dec 2025 17:13:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Fix initrd build depends after setting IMAGE_INITRD To: Quirin Gylstorff , isar-users@googlegroups.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com References: <20251203144621.2903536-1-Quirin.Gylstorff@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: 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: tDN5u0qZyHwr 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): 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 default=20 >> "generate-initrd" logic in initramfs.bbclass. I want to know whether=20 >> we have the same issue. > Your patch would also fix the issue. I had some problems as it was not=20 > based on next. > Quirin> 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/= 5379e67f-c8c7-4408-a239-1179815bf962%40ilbers.de.