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:36:32 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f184.google.com (mail-lj1-f184.google.com [209.85.208.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5ACGaVgw032342 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 12 Nov 2025 17:36:31 +0100 Received: by mail-lj1-f184.google.com with SMTP id 38308e7fff4ca-37a492d719dsf5436301fa.1 for ; Wed, 12 Nov 2025 08:36:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1762965385; cv=pass; d=google.com; s=arc-20240605; b=GzcYHw2iAQtUk/g6qOZdSETTDE4V/bbxZ8cdg0RTKGKlhop1ZnYq+ze049W8ylsW+J Cy4Tfdj7ABmDpzvW51zuebXCpLppK9LFnPQrZA0STGbVIRAOMODIb7WWlrzqofJKs+4R ZLOlwYOh5EqWObYPPTJGv+NtZHPDs60b6PrSOr5o939nxtaXojekTmanmfPaNi8fx1c8 3Kyl9mAreg8HL/oJOs1jhe2K7UoGRzQm1/b+RSUHTpeSGG+WmZfFsA0rpLcjkSMci9I6 ow2MbF1scUsb042MNIOf3bJTMdEgkJ6CVS03CA+hlxllW23mgL0guOB/IKGAn86aievI X1cQ== 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=SC3qz3XrbM5YG+HPQ8Np7hTfSeBekyTD6x8HF7O2MQU=; fh=dJDHRRaomPTBdV8FlnSiw2AcW1F8LgFLyvLDrRo18as=; b=Oonh+tq37HTLfxSXafAc7LwfliEnvrY2UGNhvEBtE7plfaqonnqhVwKxXrlvir5qLf nHiwEB6EMmQ2fNi+/gep3dIrVZi2v46Gw6wYSUUg+eGActlKgS50xz3LTNbKWPOQRZIy QzMtyVCy/FYdofzuoi7W5oqiAiq8DAhfI7Tf3qHuRW8V1rKw4F9+JbHOHRojm22J4n+k CiVw9ox3AcF1eXT5XDT7J5sWV7MZq+4B5kyZ5EBh+deWAWsvrnJCDImk6pE3Gw43ewID UioR8l6z18KcNHJEtxmcSDl/QhAEFWNP7yJLD7QgbEePuyj1Nxe52Pb1qmFQ8nezsK4d TARQ==; 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=1762965385; x=1763570185; 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=SC3qz3XrbM5YG+HPQ8Np7hTfSeBekyTD6x8HF7O2MQU=; b=fFpqvQjJhAHHijpiVeOeOlHnyAfhulCLWOvUpmHFkIp4lQA3B4XzTYW5cXlzOaHKsu fGzA5LWkpOVA/jkRECbnrGRnkyzlnHRChEBuqhrozeH7bSUIgxlrpivMmDtwJdI9uHIu gVY5eUqvktt1v7AjKL4qx777INU0QetmksCt6GgT/++XvqOr3It7LOVJ7CSuJGcvz+LO Je0etU45y1ZFTBFkHUNlKAJ/Eg6YLFHMXI/TRiDMKhTyuUFYaLsFZgGSmioZKTB97lV2 N3qfuwXsWbFz1rE8uTBHtLC1ZMMtm08Zt680xPRKwzwRKIgpr8gLOKA7Fw8u/0Y+CvRA 73DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762965385; x=1763570185; 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=SC3qz3XrbM5YG+HPQ8Np7hTfSeBekyTD6x8HF7O2MQU=; b=ZZ6/Q1IFyLzhhoVf026pifjqXCvnUh7xPASHglfVXL415nfSHB47LXxHE9EENzCMnS UhJLiQfzfBbJ9hfPMWGamq66FkCWnwfFpE02ulMCrJV13+Jk7S1FiNio4Aem7UCZ3Wp7 MjU+3cuW7HlsfsUYQySxw6BGLjf4Lrvn3JCAUXrzIB0Xh1TmhMoCUVbWJob0/1SMCkB6 qQ+iTxPvI0uJMrt5C8DdHsXSNhziFjopuFcAm+D1LexFf8JUU5n+ocif7lsvTS1UXWsp nwozwNxOYb+ZPMo0PQDOu32gcsAdwY3pLTTbwZfXGYUAazSu1/IFRi+7Ig+MLyUC4TT9 GZ4g== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXfn8djd1W9ARx587brOlhfHrnKqNZL6crqPL4UuY9gXL1z+9rG0hmIHDAEiP9zDOsHXZmO@ilbers.de X-Gm-Message-State: AOJu0Yz3jyWUtUtrCO9pM0iPZH8Q/VxE7njigIGnQWiW/qrqVGeCOmrG juJKHfXGkRgEs6vmUy065r7ctTKlRdBjUFsn83YfAjJZCxIiUsqfYCZ5 X-Google-Smtp-Source: AGHT+IE/1MN5MhTwUtrgOfAQNVj1eZMap6QFquvrW/rifnd1RY6mCij0xtB777z2i0bTDFhTC+4RhQ== X-Received: by 2002:a05:651c:41d4:b0:355:b3ec:11e2 with SMTP id 38308e7fff4ca-37b8c31e504mr9763111fa.8.1762965385045; Wed, 12 Nov 2025 08:36:25 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+YH+Nf8iRvexYzCd3Djw3+fbdJI7/7PbyVrbqh/nJRoRw==" Received: by 2002:a2e:9a93:0:b0:37b:97ac:627b with SMTP id 38308e7fff4ca-37b9a81dd86ls158221fa.2.-pod-prod-06-eu; Wed, 12 Nov 2025 08:36:22 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXqOWXX9L7Xt2b93b2qtcXESSa9UjBZ6GuQZUf8IgyAPFQZq9kOs8EDsbrgQ/kQ/JjrcTDYLil63at8@googlegroups.com X-Received: by 2002:a05:651c:43d8:20b0:37b:991a:544c with SMTP id 38308e7fff4ca-37b991a557fmr3561331fa.30.1762965381842; Wed, 12 Nov 2025 08:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1762965381; cv=none; d=google.com; s=arc-20240605; b=Y1aWPimqtsbclvRGEj9mOERvlndCgtuVldZ6cYW4xxYdzBDPM8kfNMJsLJpNYMhYRl 0D0EekN+iaXiaqWNXwyfFKicSddalF2h9tx/2PHx1It25co9v/PzWKD4e2vI1ChOGzdy voh171anWkyBl2MAafSUUEfZK4/kCQW7L7kws5RPPuvUyMi/9tf23HyewgMnOWdARPXM AeWK8rU05qsOQmnwfcWSFskQEFg+5GzC8vqRbRWayqGuZZjFTR7Omte4KXJpxX7uV+Ai /rRFNuYVexWDgYTQT43hvHac15frRu4mBY0uRDj+Roo06Myvr207ucdNafaMxxfOdjQi esCg== 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=E0y3d9inQksjBytXBbi/aotz+Jt8yk5CQu1u1wH30Yk=; fh=ACQOQF1v+39dVfUJrWQAS1+VY3wdYfXpVi4E3HUgAvA=; b=OUnkzoN8ZNyWGC7aM5m3tUPrS8BnQSSF8RIZe/Hak1EBF79/YNzQwDP4i5BndqS5VH MdKdMOTie4YFRXhGdlY2106w2Hqk6DQKo4Dh8hKgyDIsLXTtL3uZRd4m8ctbG5w8EwKf vsm/zHaRqg0zdoPV04u9YdWHnRDY/Q4iNKU5qwn/0J0RnKDveMLMvPV0oRDmH38I4ZTs nXGW+L/mU+BaisgyWZnoVskN56R9EqL84QogwNBg3fAloQlnqIgPeQXzdkw+SHjRqm4l mjPG1JUjOgNleiKZkUxxEuwr9hMgVh5DB3FRQ2Za28WmkK3sIis7VVW4Y5KG5W0tBss0 cE9A==; 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 38308e7fff4ca-37a5f09829csi2674661fa.2.2025.11.12.08.36.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Nov 2025 08:36:21 -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 5ACGaIWn032329 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Nov 2025 17:36:19 +0100 Message-ID: Date: Wed, 12 Nov 2025 17:36:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 00/13] Add support for dracut To: Quirin Gylstorff , isar-users@googlegroups.com, jan.kiszka@siemens.com, felix.moessbauer@siemens.com, cedric.hombourger@siemens.com References: <20251105121350.114449-1-Quirin.Gylstorff@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20251105121350.114449-1-Quirin.Gylstorff@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: rCeOUv1WKCA3 Applied to next, thanks. There was an extra space in front of tab in lighttpd.conf from patch v7 12/13, caused warning when applying the patch. I have fixed it and replaced tabs with spaces. Best regards, Zhihang On 11/5/25 13:12, 'Quirin Gylstorff' via isar-users wrote: > From: Quirin Gylstorff > > Debian intends to change the default initrd generator from > initramfs-tools to dracut[1],[2]. > > This is a first draft to support multiple initrd generator in > ISAR. I tested it with bookworm and trixie. > > You can switch a normal Debian version to a dracut based initrd > by installing the package `dracut`. This similar to a normal Debian > installation. > > Customizing the initrd generation should be done with a seperate recipe > which inherit `initrd-dracut`. This is intentionally done to avoid > installing packages which are only used by the initrd generation process. > > [1]: https://salsa.debian.org/kernel-team/meetings/-/wikis/20250730 > [2]: https://meetbot.debian.net/debian-kernel/2025/debian-kernel.2025-08-06-19.00.log.html > > Changes v7: > - move from classes to classes-recipe > > Changes v6: > - use class instead of inc > - fail early if dracut generation fail > > Changes v5: > - cleanup formatting > - Add additional comments > - Add isar-work mount point to the rootfs to copy the initrd to the workdir > - make the build compatible with ubuntu > - use the feature to derive the module name from the installed package > > Changes v4: > - fix extra_modules and extra_drivers > - extend user_manual to switch normal installation to dracut > > Changes v3: > - drop initramfs patch > - add examples > - add user_manual section > > Changes v2: > - extract the initramfs-cmd from the cmdline > - increase version of enable-fsck > - add function to print an error in case a invalid package is installed > > Quirin Gylstorff (13): > Add dracut to custom kernel builds > rootfs: Allow to overwrite the initramfs generation cmds > rootfs: Add isar-work directory to rootfs mounts > rootfs: Copy the newly created initrd.img to the work directory > rootfs: Add dracut to initramfs generator > rootfs: exit immediately if INITRAMFS_GENERATOR_CMD fails > initramfs: allow to set the generator command > Add class to generate custom dracut initramfs > rootfs: add flag to use dracut if it is not part of the package list > Add example dracut initramfs > Add dracut module helper > Use lighttpd as a example how to add a dracut module > user_manual: Add dracut for initramfs generation > > doc/user_manual.md | 73 +++++++++++++++- > .../dracut-example-lighttpd_0.1.bb | 44 ++++++++++ > .../dracut-example-lighttpd/files/install.sh | 20 +++++ > .../files/lighttpd.conf | 52 +++++++++++ > .../files/lighttpd.service | 13 +++ > .../files/sysuser-lighttpd.conf | 2 + > .../recipes-initramfs/images/isar-dracut.bb | 25 ++++++ > meta/classes-recipe/dracut-module.bbclass | 87 +++++++++++++++++++ > meta/classes-recipe/initrd-dracut.bbclass | 58 +++++++++++++ > meta/classes/initramfs.bbclass | 19 +++- > meta/classes/rootfs.bbclass | 43 ++++++--- > .../dracut-module/files/module-setup.sh.tmpl | 42 +++++++++ > meta/recipes-kernel/linux/linux-custom.inc | 2 +- > 13 files changed, 461 insertions(+), 19 deletions(-) > create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/dracut-example-lighttpd_0.1.bb > create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/install.sh > create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/lighttpd.conf > create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/lighttpd.service > create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/sysuser-lighttpd.conf > create mode 100644 meta-isar/recipes-initramfs/images/isar-dracut.bb > create mode 100644 meta/classes-recipe/dracut-module.bbclass > create mode 100644 meta/classes-recipe/initrd-dracut.bbclass > create mode 100644 meta/recipes-initramfs/dracut-module/files/module-setup.sh.tmpl > -- 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/f764dbe7-c419-4e64-835f-a3d67f3b2c98%40ilbers.de.