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 13:28:43 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f189.google.com (mail-lj1-f189.google.com [209.85.208.189]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5B9CSgXr002602 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 9 Dec 2025 13:28:42 +0100 Received: by mail-lj1-f189.google.com with SMTP id 38308e7fff4ca-37a46c5d929sf59485551fa.0 for ; Tue, 09 Dec 2025 04:28:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1765283317; cv=pass; d=google.com; s=arc-20240605; b=UbL+38MpfVKqpfi0vhktcUB07Ut26H/DWuGyb7p78kfB4h3LQz3evgtA+G6ajGEBU2 RomaHHTQqpSlpJS2LeDlbp05xDrpSJNHX9knHC0ZD0g4i/Omy0AMydb2v+yl6sx5jAot 3DrzC9Wz8IiArvV5Dx3Xi0v3tY5tCQeyvVwHuZIfMCLdfSuSje13rHYrJWk/8rN5YUQv UxBxIvI3a08Tr3491pRKHbwEnLMtMrnw1AnOUWFtmi9v8xhleYgqQW7pK9/GZp6pEVxf N0Gcxn4S+YwkOwP76zJoEJlIukOcahgpJMSw3MDC0obFubGeUufjP+4adJ3QsQRorMd+ iybg== 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=0x54ZLf0TzH2zreVNt/duHbdhJXAiBE5Xjfjws06GNw=; fh=rYe/AohgdBeEJjUGcrwvj5kJAhDhUkjs0uGa0HinDLI=; b=UdtCmUz0w4cAc7YZH5LMwP6WJRHmzKOnZGdTAhOCIpLyxQdycjeD87MKPDktkCR0yp nS0Cx/opoMyyfC8wai/bDwPCPwT79pzBBG8VvXD2sccyVKY0L9tbxt4z6oHaMAdOKPG2 bAxj7T9OrGhAoM7Xh7PLwSBAB1loI76d6KbwTi3yCufGgtHE11sLoDlMRs/fOPrCOzuq 3gTed8LkQ/9YEOG9u38WmjuqlCvmGTrYgA0w3/cc0RuMWprMPSUX4PUq+ExJfzz5XnkK 9JWs5AGurC8gIrS2YDunYCSPWaAAn0OkwupVRNS74HyteCvQAmcFVkupS0DINgzO92pg ohIA==; 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=1765283317; x=1765888117; 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=0x54ZLf0TzH2zreVNt/duHbdhJXAiBE5Xjfjws06GNw=; b=W8OJZLSAtAtNJREJmx8rfX1uF8E0aug44CrOc53twq2hKH18b9FpHZ/uWj71MoFY1W 03VXjZhxS4GWDJmNTzevrAnr1Xwq73Z7T14AmxCu6cvcWvr2/i4VybWq1Dons/WTXZO4 0v2EyyOmhIeV0kRzDMf/adUig+VBAHD3pxCns4pVqvTRWgjY+PP2007eYxbXvgacvrMd QzMz3PvWWKjIEeIf54q64mhyECWFh3v3BwwnjMaCrgqAeJAQ+0YJOkS4aJbA8g9wLk/a CGzPa+7QdeO3jRDvGiybEPUFAqiGsg2a4MpKSuDVhR7dnD3u2YYAx/9BPkSI1TJ6Oq5x QSwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765283317; x=1765888117; 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=0x54ZLf0TzH2zreVNt/duHbdhJXAiBE5Xjfjws06GNw=; b=wNWudEmlB37vBOX4qrvotbibzKnOsttDWM8fboPVPwmTCnJJupSyVhML2cJbDplMUp LdPSLdlIFpyAti41AUkDJoVL9TCiyzZ1ih55vDHQwa/An/Ip+gP/smrM6xf/Dz1Tjjgm j0O1IlRIQLLwFreYKB20rOE384QFoQF8KyoqTl+FEcnpWDvnu6WOdTzGZGk+4+BjLTo2 lLaK3CmWIg/Ny94OaalFe97NhmE/MufUoMol27ZhCi9ZiK1+46kI5uLXnETYx6QlAPst vekYX79Ub3cG0uxPmLVCBuycLcmbOaqChcj+cyMdu4A96mq8ANRdkNsvFNfFjm+ZuJ0B R26w== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXUATK3fLD75eIwkK6X0KrbqDfXuemqb9m0V8pPUWUhEzW5d3Fy9sp7TBzLCrzPX6p8kcBY@ilbers.de X-Gm-Message-State: AOJu0YzLav02bBsZ+nLegjnGal2HGfxLBjPT21d5zvqQRxX2NXX+uFL2 t0JQkVyYyoDd7w7/UyEWQVu25OODB7nlOa8gvntM86pMvdKuH9QxdQSr X-Google-Smtp-Source: AGHT+IG4YC57ULJCDlZOR/RQv1JVoJnRlSm/dMHf6cpBVhHgI8gBKnVD01ffxNHys+ppjiWZy3ahxg== X-Received: by 2002:a05:6512:3a84:b0:597:d7c7:edd1 with SMTP id 2adb3069b0e04-5987e8bfbffmr3582598e87.27.1765283316376; Tue, 09 Dec 2025 04:28:36 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AWVwgWZ5kZjKmuYIzrvPhH2S+jSHNrGHQxauaJHqhIuBzN0alg==" Received: by 2002:a05:6512:3412:b0:598:e4c9:25d0 with SMTP id 2adb3069b0e04-598e4c92614ls616532e87.2.-pod-prod-07-eu; Tue, 09 Dec 2025 04:28:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWhYDhLNsiqTB5l1y7KF+aiZZy9A9RTDVHoGh0q1ymGyC5uPSDChIzTCBBxrfSeKl01I9AZhCm4KYuG@googlegroups.com X-Received: by 2002:a05:6512:3a96:b0:595:7fed:aae9 with SMTP id 2adb3069b0e04-598777f8a88mr3860717e87.12.1765283313445; Tue, 09 Dec 2025 04:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1765283313; cv=none; d=google.com; s=arc-20240605; b=I9+2AvEDOF1wKIVs2F276U/az853rRFZT3iKsQSdmyWN6pa3jlpbmSolR1dreO6YTQ zUBsa9OTa+tPHAFltrCybpH1oUJKw+z9B1oBEKxZN9Ky29PC708V8ZacmvOCRnqHzQtd gukcX7aWZmBanxYtpQ8spWErtz0ojmQ0AiDHPmuiNQAT2JH4okvUr8BmM+neccRAttat KssYhqcQQMUEn67Imz8WBZ7aiQul94eFySjyVrxwyuH/+g//Nw08SuwvyUojUtRqqy2W VOx6eaLskrje11h4S6O86b+0/kcs+HdOhnYyseS7CrVJGJJxzalrLua9XoBunL/KFr3n 7p8w== 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=KPg1STxTNgyXUZY/U12giVR92B60Wbs5tfGuekH7PSo=; fh=vsEwt/yfDSX4KbgMdZDxRezMDLLDMHS7kXVv89sI4X8=; b=G92xwXTifg9kLO+evdt+ovVv+LijPQy6wz3RXA9X138iwXVFfjQRr0M2BkPg0+0Daf VsSTXxew6qB8ltA8rQpwS8n863cVAkxPkVMS62dK3kqpNxFNHMN2QsFADUrii8lbQpgM Sw+IYU9AMa2/3EBjTfluS1SXzvr8UzyO1QQfRJGsH7A0iEcjb5bpMbnALQBRS2C7jO84 9BBI75EQYXiqLNfnP8UPfFLr32ZaBvhGOukpGwZ224DZGm07xQu+SKjQ0e0WsJNmGb6/ Xy2IXXN8dJ6Nh26xLY35Cb7lPWNpyc3afCgFVbxWsE5qkXZA27Zui5OiTkm3ckUH61B1 VmQQ==; 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 2adb3069b0e04-598eb47e3dasi16160e87.1.2025.12.09.04.28.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Dec 2025 04:28:33 -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 5B9CSWEh002594 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 Dec 2025 13:28:32 +0100 Message-ID: Date: Tue, 9 Dec 2025 13:28:31 +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: yCRrwN458Crs 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 virtual=20 >> 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 think=20 > 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 we=20 have the same issue. 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/= ddce63ca-6e6c-4ed6-8f5f-dbc7f0d36bbe%40ilbers.de.