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, 19 Nov 2025 16:05:37 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f55.google.com (mail-wm1-f55.google.com [209.85.128.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AJF5bQA004459 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 Nov 2025 16:05:37 +0100 Received: by mail-wm1-f55.google.com with SMTP id 5b1f17b1804b1-477a11d9f89sf8925175e9.3 for ; Wed, 19 Nov 2025 07:05:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763564732; cv=pass; d=google.com; s=arc-20240605; b=jmzp89h9dWfU+hbzTJEa/VEvxYLqa3/Up9JyrSlo9MeCBsuFqN1AClFDL7Jh3IGqhK Fhz+77rbqSYhD93zmmMIPCjbKjSeQSWXDh9cnqAy88NegqJR9W48ucseZpUkfWzHTAgf KOgxYRYbp0kw7kTufEmFXEU1OwFAXykey4sCRM/2ebzwcZp5310CQ0aaD70giFL9Hg2s N+b+7FlWL8XHvjYWBRP/PAXFHVwbZ44cMXYSzy3lieeLorUirzGREAogOKTyrBEHwQJh Ezys42TqhTuiP9xpYSVTY0TieMwPzmGrshp8y8gOFuGM4AwLwEUAjs0N90L5rLI2UlXR UQew== 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:content-language :references:to:subject:from:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=tOiQWVOIVH2h3XtED782x1P3dwGc/7SKA+Wzlm3Sf3I=; fh=QYYvCR74W1W+pZxbYJC0H+G7lmL5/I2pfUoS7K+APag=; b=GdtxW1QXvkXKK1YiJEekloIKwokqbcSNTs+1AfQTZ/HewQH+u7YpYHwxZv5lsJEUbZ mahJSHD6m7ms9fgBvdUUsYCkR6LAHi0DBr4X33+I+/3vDm44vWeLtdC5R+rJKZZhTnML JhSgScSWokBpXA8I4mYzcB9CLGkZdGal9C9sEfgqEDnTNizrYmOvw/e4sxdbQ/bGrHu2 5VTSj9I89mxy49W7XXSbnvRy+nANTqmNo0R+FFGSOTL+K7nuSRMRThvBbx8PYaJoe2U6 YjRq4SQ2Od/TAi8vdMPOeYgZ8nME864jYyD2czzCVp/tGRmHkr8QCo5ougmpm0i6RTtA 6imQ==; 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=1763564732; x=1764169532; 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:content-language:references:to :subject:from:user-agent:mime-version:date:message-id:sender:from:to :cc:subject:date:message-id:reply-to; bh=tOiQWVOIVH2h3XtED782x1P3dwGc/7SKA+Wzlm3Sf3I=; b=q5L7qSsMd3/sUkO+FdMqYD3pw4nBEKf/GtgEsPNSouu+PQUHRfgfQEDppywdmtKZ8g /uMQ7qDnnYn8YBNyp7PDhF/6ebvfnKdDAxX7B5azmf3D0Aaz5MQUYbDQK88kMWukXMYq VRwdZl+l3EruWewD/SthpCUp1baT02JRUsIcXJh6vsTWw2EXJX9zOO5kxrlO2aRbCEbT ffcyxP5fJ2NrTWMkhxEWq71H0chmIJsfpPs5jM4v4YLenQqY++mw180ms/21v9kmij32 HS8/Wh2q/lTTafbAxyy8NAZ5qoX7V7+4aPzaOVDcVukM7Nsqo13yCabMg7duHAHkziLl 6V8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763564732; x=1764169532; 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 :content-language:references:to:subject:from:user-agent:mime-version :date:message-id:x-beenthere:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=tOiQWVOIVH2h3XtED782x1P3dwGc/7SKA+Wzlm3Sf3I=; b=uUaWpIo8xchAPHATqjTsTkqEb3K8L4Yhd0uzvRsdBpg/J/hVn05GtSwjl6qgW+CzC7 woz6ewgrSUFU0outx/l+RzpqfrzmdIm+hGxkfzYveckhhEBBKPWag0oAiu+vZIMjqneP esz8Lae6PFzO435BH7Q+K5+kjlkWPQ+2LlJNygkg/ejbFiUYkmdAgyDvG18vCvxs093p lcdH16hxfb/0YnD+cxphVUrv35p4ZtFF+xzHV8QdGpLGLAS+XcraquofDUUfIwroTF5q 2esYR3xISRfBB5sfTyRSpirK/rM9OZvVGHAAL1Pp9sParaDZ9qeubWA2PMJvpDDz3T7Y fcLA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWXN4yltoavzAazZVKF7YCG8TIWYp4UHQzxJFhg65N6gxjzTBaNhbiZho69QMXV2sq7ydIE@ilbers.de X-Gm-Message-State: AOJu0YwDu+GLAzjNzBFwkQjPHR/bBouMWHUloMDknO8fn0FjFCUeWT3Y jxvBNoNO5Nu8g0dUJuhL70EsgbkTNB82I17t2U2br+c2ZEhNTfAYlruq X-Google-Smtp-Source: AGHT+IHU07iFcDeFKgEJf2qRPcMRcLZhMZRn7+lRybRG9TY4e9A06UCJMcMDZlWq89dqXViKGYsYtg== X-Received: by 2002:a05:600c:474d:b0:477:79f8:daa8 with SMTP id 5b1f17b1804b1-477b19d1337mr30280075e9.17.1763564731208; Wed, 19 Nov 2025 07:05:31 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+YWY0ZhOElIohMqroCdMTy5MnWzDAJhsicnFj8zW2DJRQ==" Received: by 2002:a05:6000:128a:b0:42b:52c4:6610 with SMTP id ffacd0b85a97d-42b52c46fc2ls2820772f8f.1.-pod-prod-01-eu; Wed, 19 Nov 2025 07:05:28 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXROzPc8TXZM97wI9NgPQ1pWmVNDvSQkVFdOJ3zXbkL7sCdC/To5XPKxW9ISaDUQvJhxlo9OdqSZf9u@googlegroups.com X-Received: by 2002:a05:6000:2dc9:b0:42b:2f90:bd05 with SMTP id ffacd0b85a97d-42cb1fb9b10mr2611568f8f.45.1763564728137; Wed, 19 Nov 2025 07:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1763564728; cv=none; d=google.com; s=arc-20240605; b=Dmq0Su9dFMayEoVGu648g/+AAiCt+j+5r9hD5EySs7c3UfBRYNYarHBotmmUXD0iiB tO23AapqhIfj5ThJdOtMEmf1yHOcOFxIgxqwPwmZM8IuAfU0mhrFUTiVHfFohZmD/6Vz 9F9I1vbwaB8D2/Wh+WEkAYOnhcCxHZJpfAehi7FcJaVbRAhiS5AF+S14t2viVLb9tBem K5XUPYeP/4WA1Xw93cz3s56Ph7xO3dOJy07D90nMn+sjWPxNulutONGOMgWxyVrWvLc2 tN1+iJEMf9LHVvJ746ZBiMzQ/SvHHx32oYOT89C/j7+uv2bpsgWgahfSVyltBR08Wylf QqMw== 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:subject:from:user-agent:mime-version:date:message-id; bh=Mps4uo6t9tHMWEmpwApIXf/g5r9BML9Z886jTaPHE08=; fh=1x/T85rXr8yhgzXWAa7zssXnuyt2jGlhJYPIGFWr6UE=; b=gd8dVrZezfRwElT7oGdRZS0B+EVkyTUBTCx26By0zBtWg9r9rbR3M3rtjqmVee79b6 sX8yyzmkBsgjKScwON2x5j7mv2jtvLmh+3EBEIGe3mgqK+s2xyWODgWaASLUsGlN7ezm pxY+dfsgYspMAY2LYDDdqRhrUwQRKiR56tRk4PyqbE5klx7tVK9QLRS9DmlxwnBqm6Mt qH/I8ZwXgtiEEF5TQJirw63fbbIzPVxQs5SwCEe+eHRTt6ux3dUI+kkMqU7hYCyIqGq1 2oCjf2pZC6AF12HEEFjBT6ams26pPRIKakzYsK5uhRBfJ/Bxvrfh/tJzysiIcfjVhREG Lcxg==; 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-42b53e7ba6esi405183f8f.1.2025.11.19.07.05.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Nov 2025 07:05:28 -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 5AJF5Rxj004453 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Nov 2025 16:05:27 +0100 Message-ID: Date: Wed, 19 Nov 2025 16:05:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Zhihang Wei 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 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: 8L8zs7ZEbpUP Hi, The rebase I did was not correct. There was an conflict between this patch and 78d42de0. These newly added test cases have failed: - InitRdTest.test_var_initrd_image, and - InitRdTest.test_var_image_initrd_and_initrd_image. They failed for the same reason: FAIL: initrd image not found: /work/build/tmp/deploy/images/qemuamd64/isar-initramfs-debian-bookworm-qemuamd64.initrd.img! I'll send a fix for this later today. 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/b7470509-3c67-4dc6-b337-03c1c4f96a4a%40ilbers.de.