From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59789C9832F for ; Sat, 26 Sep 2026 17:51:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+l/+xlFQ9oYX3AqDOoZ5UJ8jLQiMbyYFqszTxwXHlbY=; b=ntOTx4Qx/oXFvp1+2YFHrefJCN NLEkzAAioXXBYwrbOJsxTl4JmbhVmvj5uzvXdjXD/4YMBxSgVi4Vz+pHEZIZ7DqhOsMO9UvyfV5S5 GuR0U5JnDD9dSPvgnIgDhMqgsEA2xOYC63xsqEsI6xAAVjvT717EkGCuFvbn9LgzweBLwzSosSxQZ 0jOA3IBZor23K+DigVCjFMPYgPR793RgtY+SO7/lPJLzuuIpln4uexvC7fiYFkoRhu66IFEfTFYfG D3OUdofS7EePp3U8tRhONjoDt8AzuebX2DgNhxwlROhr9NFAQo/v8zufb+Cd2rAvCnU3+BcJmyZ4m axTuw4+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xAWYY-0000000FgxB-00LJ; Sat, 26 Sep 2026 17:51:26 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xAWYW-0000000Fgx2-3Xkq for kexec@lists.infradead.org; Sat, 26 Sep 2026 17:51:24 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with UTF8SMTP id D12566020C; Sat, 26 Sep 2026 17:51:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 197DC1F000FF; Sat, 26 Sep 2026 17:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790445083; bh=+l/+xlFQ9oYX3AqDOoZ5UJ8jLQiMbyYFqszTxwXHlbY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DD1lP/QmC7LYXQVPac1ZErbOX+o9gC185enlv/A+acy3P/pDC5ujo9X8rUfjkldPJ pHSHH1d+F9mBnfgX1o5XEdguQtswWEoO3h1vMpYyye82Pzp81Ofebc9rm0+H2/yEAj ZUmV1JJTvoVd3YYUEgqmzt2MnYZi+AqKPTZgSG0MNZ+f37aK6ZQ4DGXqbfndr5bsto d/BlkNHkO3ehaXRHohpz/SPENa/i18vrn2bs2CQiK8THJZPujfZ4zC2LJYm7dD3Qnq v75aEO7w1UjPmERPWOFujS6zGWAaO6BkF6QCOFcgPbGzKAKKMFZgqeLYHF87qLF4CM NF+O3+M9SQfjw== Date: Sat, 26 Sep 2026 19:48:16 +0200 From: Nicolas Schier To: Mike Rapoport Cc: Nathan Chancellor , Jonathan Corbet , Shuah Khan , Randy Dunlap , Luis Augenstein , Maximilian Huber , Pasha Tatashin , Pratyush Yadav , Alexander Graf , Willy Tarreau , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Askar Safin , linux-doc@vger.kernel.org, kexec@lists.infradead.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Thomas =?iso-8859-1?Q?Wei=DFschuh?= Subject: Re: [PATCH v3 0/2] Move tool for generating initramfs cpio to scripts/ Message-ID: Mail-Followup-To: Mike Rapoport , Nathan Chancellor , Jonathan Corbet , Shuah Khan , Randy Dunlap , Luis Augenstein , Maximilian Huber , Pasha Tatashin , Pratyush Yadav , Alexander Graf , Willy Tarreau , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Askar Safin , linux-doc@vger.kernel.org, kexec@lists.infradead.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Thomas =?iso-8859-1?Q?Wei=DFschuh?= References: <20260925-move-gen_init_cpio-to-scripts-v3-0-99c493f76722@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org On Sat, Sep 26, 2026 at 11:34:51AM +0300, Mike Rapoport wrote: > Hi Nicolas, > > On Fri, Sep 25, 2026 at 09:29:29PM +0200, Nicolas Schier wrote: > > initramfs cpio tools had been subject of several recent discussions on > > linux-kbuild. Let's get two minor steps forward by enabling a > > top-level target for building gen_init_cpio w/o the need of a valid > > kbuild configuration [1] and move the tools for generating the built-in > > initramfs from usr/ to scripts/ [2]. > > > > Link: https://lore.kernel.org/all/20260220191150.244006-1-safinaskar@gmail.com # [1] > > Link: https://lore.kernel.org/all/aSdrCFkUQup3qb-q@derry.ads.avm.de/ # [2] > > --- > > Changes in v3: > > * Update various remaining usr/gen_init* references treewide (Nathan) > > * Link to v2: https://patch.msgid.link/20260720-move-gen_init_cpio-to-scripts-v2-0-26b7e15c7133@kernel.org > > > > Changes in v2: > > * Build gen_init_cpio only if CONFIG_BLK_DEV_INITRD (Thomas) > > * Keep underscore top-level target name (scripts_gen_init_cpio) > > (Thomas) > > * Link to v1: https://patch.msgid.link/20260309-move-gen_init_cpio-to-scripts-v1-0-0c5059b1ec5b@kernel.org > > > > --- > > Nicolas Schier (2): > > kbuild: Mark usr_gen_init_cpio as no-dot-config-target > > kbuild: Move gen_init_cpio and gen_initramfs.sh to scripts/ > > > > .../early-userspace/early_userspace_support.rst | 16 ++++++++-------- > > Documentation/filesystems/ramfs-rootfs-initramfs.rst | 10 +++++----- > > MAINTAINERS | 1 + > > Makefile | 9 +++++---- > > scripts/.gitignore | 1 + > > scripts/Makefile | 3 +++ > > scripts/Makefile.package | 2 +- > > {usr => scripts}/gen_init_cpio.c | 0 > > {usr => scripts}/gen_initramfs.sh | 2 +- > > scripts/remove-stale-files | 2 ++ > > scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 2 +- > > tools/testing/selftests/kho/vmtest.sh | 2 +- > > There's also tools/testing/selftests/liveupdate/vmtest.sh I know of, didn't > check for other users in tools/testing > No idea how I missed that again; will be adjusted in v4. Thanks a lot! -- Nicolas