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; Wed, 12 Nov 2025 17:42:10 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f58.google.com (mail-ed1-f58.google.com [209.85.208.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5ACGg9HA032542 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 12 Nov 2025 17:42:09 +0100 Received: by mail-ed1-f58.google.com with SMTP id 4fb4d7f45d1cf-6409f6d6800sf1175118a12.0 for ; Wed, 12 Nov 2025 08:42:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1762965724; cv=pass; d=google.com; s=arc-20240605; b=AAFsW9VW/BA/ziNy0kz9uhU5zJ6vw56eWDR4cOD0GV+lkzpROYf7AkXEjZLvzdvh/U LwHVO7ReT9oeVTokozYgd04U8Fbhqlf0Mo9AUDC9utPmZf/W0SD7tIvW3Hk7TFRx+jdd uUcIfWNA+2K0irGChANMR77RnlrVeJl7YqUPpmMMrN9MDEgol5AOm+Q1Yzs0/lJGEzcY td3SBI3cf8OR0WhESVXeeYYhGMPfGtyNpdNFOI2kwfrGseC+znFArYiK4vy5fIT01p9l V3eJmeGz0H/2uQ97i1+dOaIZ4sGkL3X+A95L8O2nPaIu9A8cq10VbyxjEf7OWk7QDCAS 2gFQ== 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:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=39R0mAsqPALx/hn+syWgZJOS0DjM34HIlf6pRXVL0a0=; fh=lb2ae+m5igog9jUrWMl5/tNpZwyXWCqccRmOne/fccA=; b=X8gLCiq27EJrH4bDUt3mxXGG7FhKvE+0BtN5SWqigkK9iJQ9Oikdmt4r2+OMNdfW+U a1iAhrQxf64Q+yu6k9sYafdGPFISxGDfJOy24vqbsGz232xKcYQC9USTw7O+uLZ3ztGW 1heTcTHy9IOgpajrOX098smKXtE+zom7L4pZbHmpxuMx5GYuBa4RDHT5FzXTJ+SR7fqR R5J4pos/YTpNivQKLezvlXwOHYO9I+7BuxuHI4kXtpXneQQAJePbR3Jr9ess1fZKChaO yENRRwGRDbBjETPysosKTlixzfvVUYbhK+fdyL/uW8vi/r68IRLcMEFrPLzCBm3KLOwD bmqw==; 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=1762965724; x=1763570524; 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: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=39R0mAsqPALx/hn+syWgZJOS0DjM34HIlf6pRXVL0a0=; b=rN3Hu8ptr/Dr0ZAaV3chXYHuJgrJK3jVhlygf3bxxnhTnH8iAVrd0vVxl3Orpd7IV2 i+DnnLwSyIuH81iCmQu3yoy5vrK24DVPlHAw83dOLZNXODpfcac7e2t3TRn4MwG7G9hs SIq8/rYZUnOIuMgiN+CcafxiweHQXQGAqV/g+XgCSsyeXHV53xbXGHPkGWLfhYxmxSZG /VmGyS4wy6YTq3V5c/5qUlPcajIfGWTCY8psSwCtLSKzF9XTwDFe3nUriFEEY96GW/RO s8EuKUMTQirYUDxfqO1i9ejTyGyA5Mc35RYlJrp0NDJr4LtZ3eEn/XS7diI+KwzEFIYG ynwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762965724; x=1763570524; 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: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=39R0mAsqPALx/hn+syWgZJOS0DjM34HIlf6pRXVL0a0=; b=ry7/pMo/IAPgC3YJXevuh+nHGnvhsVVm28pvNDG4Zgx3WKu/5wr2uIny/6hGfGVMEK I7sze5Tk1mNx62XBKAAViRCIH9SiTh6dRWA/TZvpKG4oCK6v8qQIFisfp6zVNRwyAGmB 7nH6vp3IM6+78IWVhCJLSlKIFe0ZPpGEEkZkvg9AVXZF3gMIw04gofg1qFIbfQR6DcIF bDIVCbZE+t1R2FY1o1TsBlAJABmmBjwrrLNZmi2Cojecncr/4R6vINL4yk7/4WR2m1aE nMFmqLh1yNs6yKazc2hCoppS2dv8OHmz6j/GrzasSMVKf11yAcipsA8JPR+X17hVc994 PIPA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWcYskkjojzgXrpL8mylcnS+eON+Hq2MDU2q/9E9lYf3E7b6HmPfn85WbeBLK/wvgJvDLVh@ilbers.de X-Gm-Message-State: AOJu0YxzEsHO3pQ0fSwFlf1GUaN87Rw5RrdUyQ0EEnVusqDWIhwhOorD WKufBL7FMZvxl4fJoK3MpFVNTg+sA6VlPrQGRNs0uXYkAQckJ0Fj/2fG X-Google-Smtp-Source: AGHT+IE0tBx9OEaWrbXRAGpB2VcYfYRL4e3uwU6ynWh0ZQvID2wVY6jb4e4q8VERVtw6AYcOhJ8SHw== X-Received: by 2002:a05:6402:1ec8:b0:641:8a92:9334 with SMTP id 4fb4d7f45d1cf-6431a4a181cmr3595058a12.6.1762965723858; Wed, 12 Nov 2025 08:42:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+Zce3Yy1/k1XCwJawwCxfpe7NXep6qd14bSLt2K63jM/g==" Received: by 2002:a50:d69b:0:b0:640:e7bc:d3c2 with SMTP id 4fb4d7f45d1cf-64334f1687cls4755a12.0.-pod-prod-04-eu; Wed, 12 Nov 2025 08:42:00 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXSpfPWjjpBGjtY0YDtnqFyA7cYjALfscu7BfbNOCuTK60EXEYiqxZgIGVkGbGsM7qRPFTRP7t9YB7o@googlegroups.com X-Received: by 2002:a17:906:6a0a:b0:b72:b289:6de3 with SMTP id a640c23a62f3a-b7331af6e23mr376955666b.58.1762965720670; Wed, 12 Nov 2025 08:42:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1762965720; cv=none; d=google.com; s=arc-20240605; b=M8borOjT7ZzkWGTkKIgCB+IIQxfSGAL82fkrWhmCuHRwXHpPZ1C+0JRQCS60u34yp1 0mJ4tWT/jm04fOFpW0mC4EUYPhZptA1vw0IfmPRSb5xJqOI29mqPMvs1ydMa78LzqfwL T37c4SM7fQGjCnev9W0V2X1Y7r5e3PkKZ6rJhA8uwx6GLW5EpH0/7Ird0rc0ta3q448u TTrFqAz2BEJLsDOR9D9Y3xwDPe0CUYqlXLkwz0nYPG1YGKZftuvthKvzEHqk3DJ3pv3a XqpvVPpiSuPx8TM0aumz9V/y9frGzTZc8rkmmqy7Pm7MaDO8Or5XrfZCYjIbfDpfsmoM alnA== 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=2nMDxCGiuwpEm0aie6XrvT8/n2nxY1viFEAlBebtrQg=; fh=1x/T85rXr8yhgzXWAa7zssXnuyt2jGlhJYPIGFWr6UE=; b=PQLZgRdttGd/nkZ5ON6n6HmNEs3LvJPqwjHuzY+WacRat5c5EWyUk3YmhkUX55mm4g 4YAlYvKqorYvZAJqiqKbyHZoH75jvDF6gSSmdr6wZcxqsRcieecRbQqyoaHzNpezXsoS 98LAOUsjv0jLUuTTjWh9BlxdD7VdguDhOgo212X0NuwGGIk0SGz2OqSRaQaVTBUHV/Yl 4PsDASZ4ulIMR05QqufjlxtoDXgmU5v+26cDcHFF9g5Yd+nIv51+9GDR698XuHpIFw5l XB0Kc27HDaL7IK/81iGXjePscH2N2jitZ4n03109Vm/jTEpsqHpEtDZEpyXqapOjRyve THWw==; 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-b72bf97d3cbsi83394866b.3.2025.11.12.08.42.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Nov 2025 08:42:00 -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 5ACGfxkF032534 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Nov 2025 17:41:59 +0100 Message-ID: <9cb68e63-3820-4678-a607-b35a574a8e74@ilbers.de> Date: Wed, 12 Nov 2025 17:41:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/1] image: introduce IMAGE_INITRD, deprecate INITRD_IMAGE To: Cedric Hombourger , isar-users@googlegroups.com References: <20251102190129.727186-1-cedric.hombourger@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20251102190129.727186-1-cedric.hombourger@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed 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: og6GSzRQHOiO Applied to next, thanks. The patch was rebased onto the current next. Best regards, Zhihang On 11/2/25 20:01, 'Cedric Hombourger' via isar-users wrote: > INITRD_IMAGE could be set to the full name of an initrd image to be > found in DEPLOY_DIR_IMAGE. Downstream layers had to assume how Isar > names its image artifacts (${DISTRO}-${IMAGE}-initrd.img suffix for > initrd images) and insert the build of their initramfs recipe into > the image build pipeline. > > IMAGE_INITRD is introduced to (1) have a constistent naming convention > for variables consumed by the image class (IMAGE_ prefix) (2) only > require this variable to be set when a custom initrd should be built > and used by the imager. > > For instance, cip-core was doing the following: > > INITRAMFS_RECIPE ?= "cip-core-initramfs" > INITRD_IMAGE = "${INITRAMFS_RECIPE}-${DISTRO}-${MACHINE}.initrd.img" > do_image_wic[depends] += "${INITRAMFS_RECIPE}:do_build" > > And it could now be changed to: > > IMAGE_INITRD ?= "cip-core-initramfs" > > (their layer would likely keep their INITRAMFS_RECIPE variable as it > may be considered as an API towards its own downstream users). > > INITRD_IMAGE is "only" deprecated; meaning that it may still be used > (but build-time warnings will be raised). If both IMAGE_INITRD and > INITRD_IMAGE are set then the latter will be ignored (a warning noting > that both were set will be emitted). > > These changes were tested against (1) new CI test-cases and (2) CIP > Core 1.9.0 both with and without adaptions to its code. > > Patch dependencies: > [1] https://lists.isar-build.org/isar-users/20251101111326.600581-1-cedric.hombourger@siemens.com/T/#t > [2] https://lists.isar-build.org/isar-users/20251030094451.1303871-1-Quirin.Gylstorff@siemens.com/T/#t > > InitRd tests: > > builder@ed1e0b7e8d4e:/work/testsuite$ trun --max-parallel-tasks=1 -p sstate=1 -t initrd citest.py > JOB ID : bdf8f7130f426014b0c008d0095ad317a9f66bee > JOB LOG : /tmp/tmp72bozbdi/avocado/job-results/job-2025-11-02T18.30-bdf8f71/job.log > (1/8) citest.py:InitRdTest.test_dracut_in_image: STARTED > (1/8) citest.py:InitRdTest.test_dracut_in_image: PASS (104.93 s) > (2/8) citest.py:InitRdTest.test_dracut_build_initrd: STARTED > (2/8) citest.py:InitRdTest.test_dracut_build_initrd: PASS (34.36 s) > (3/8) citest.py:InitRdTest.test_dracut_build_failure: STARTED > (3/8) citest.py:InitRdTest.test_dracut_build_failure: FAIL: Bitbake suceeded but was expected to fail! (143.54 s) > (4/8) citest.py:InitRdTest.test_var_initrd_image: STARTED > (4/8) citest.py:InitRdTest.test_var_initrd_image: PASS (259.88 s) > (5/8) citest.py:InitRdTest.test_var_image_initrd: STARTED > (5/8) citest.py:InitRdTest.test_var_image_initrd: PASS (237.34 s) > (6/8) citest.py:InitRdTest.test_var_image_initrd_and_initrd_image: STARTED > (6/8) citest.py:InitRdTest.test_var_image_initrd_and_initrd_image: PASS (242.03 s) > (7/8) citest.py:InitRdCrossTests.test_dracut_in_image: STARTED > (7/8) citest.py:InitRdCrossTests.test_dracut_in_image: PASS (407.83 s) > (8/8) citest.py:InitRdCrossTests.test_dracut_build_initrd: STARTED > (8/8) citest.py:InitRdCrossTests.test_dracut_build_initrd: PASS (44.71 s) > RESULTS : PASS 7 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 > JOB TIME : 1482.17 s > > See [1] and/or [2] for an explanation (and proposed fix) for the single > test failure. > > Cedric Hombourger (1): > image: introduce IMAGE_INITRD, deprecate INITRD_IMAGE > > RECIPE-API-CHANGELOG.md | 28 +++++++++++++ > doc/user_manual.md | 3 +- > meta/classes/image.bbclass | 31 ++++++++++++-- > testsuite/citest.py | 83 ++++++++++++++++++++++++++++++++++++++ > 4 files changed, 140 insertions(+), 5 deletions(-) > -- 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 visit https://groups.google.com/d/msgid/isar-users/9cb68e63-3820-4678-a607-b35a574a8e74%40ilbers.de.