Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3699799pxv; Mon, 26 Jul 2021 09:41:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ42Pvq/3pxIZRBY8mOOBCGDx/WLyi9WlZoDgP0XTyBObT36e5KUDTeu7Rk3IRTm3wSqgP X-Received: by 2002:a05:6402:430b:: with SMTP id m11mr3372539edc.55.1627317718459; Mon, 26 Jul 2021 09:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627317718; cv=none; d=google.com; s=arc-20160816; b=n/J8pfexyYbU/POKTnNuLbmvTElyyIfF151G1baoSPqB9zE16QnnBtIrlQzqdSZ5sl s2ITGr1fYbEoIvZBC2OuAIjLEyF5m4WXLzCUDIySsgdz8BPx7ny0iamkImnZbwTUxs/G nR5ZHO47a6eMPgFiNl/okkmzoM282miwyOsfmEmakQBv6qWFbB9FjcEUOIqOMASsFZrx v9yVONvrKysWgGxOPxemq6HDP+iT8bHcT6vSd5b4qoGq/RS4OtvaX2mFRZpJckUpVPbT O77cEOT/wk1Ar0GcrAAgPNJ0zR1fy02CDIlRqHRK96x+UNJlXsmTV+IxxPt9Lcj+b725 ZpMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8UmfAqboeHGjfMxrrbwpOkef49ZGQMeQpCdG6DenB1E=; b=iIyGxUS/lT33ml1HjwejCyKFxiDodcYneUqWPaT4fq0fwt/Z66vA5qJkAggkQR/QbO bLzp+JUExDsOIJUMtcH/r3eswPMhnQAGPkWj3moHrNkRl+PbCNZQM/OBDhZeucdSSv4e tOlb3IsYBI5TWtQW/EZ0I9lThDDBDtd5PeXRcBlvpcKVEYGYutM4hyBl61hLI3nHsU6u 7dBHYY6W3ZWzubwGEUP2ou9j6uehJi0pCIteMRXUKqW6Dsf8I6I1nqqgj0v/AUWgbqCi t/1PcZWu7QZiuB++QLv2tuFl8GPyKh5H7H2hgBqhz1SWp+ntYD7xOh/j325Z2IkZbc+z 3rBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jJ1zdUoT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k5si412106edq.163.2021.07.26.09.41.32; Mon, 26 Jul 2021 09:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jJ1zdUoT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239083AbhGZP4n (ORCPT + 99 others); Mon, 26 Jul 2021 11:56:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:53366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237040AbhGZPfx (ORCPT ); Mon, 26 Jul 2021 11:35:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 24E7960240; Mon, 26 Jul 2021 16:16:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627316177; bh=c14dfRxq1gmZ49vdBkjU05NPkI/FJJLBGXEkwr2xzeo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jJ1zdUoTW7ggSDpNCmjFGGRrRt3J8nKsA4EMC8LmSDIb0pdvlh0N2DrwTIegGJkpg jl4BOuYmjSKlvjCvxXbFdZwSDdmH2Mb6EIFDqaE0vwRk7Z2XiV42dN2eDztNCBb5bR 7s+k6S3LvEiqpzwJSSCy7tPC9MjhdXLABNuj9/qM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robert Richter , Masahiro Yamada Subject: [PATCH 5.13 218/223] Documentation: Fix intiramfs script name Date: Mon, 26 Jul 2021 17:40:10 +0200 Message-Id: <20210726153853.312265066@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210726153846.245305071@linuxfoundation.org> References: <20210726153846.245305071@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Robert Richter commit 5e60f363b38fd40e4d8838b5d6f4d4ecee92c777 upstream. Documentation was not changed when renaming the script in commit 80e715a06c2d ("initramfs: rename gen_initramfs_list.sh to gen_initramfs.sh"). Fixing this. Basically does: $ sed -i -e s/gen_initramfs_list.sh/gen_initramfs.sh/g $(git grep -l gen_initramfs_list.sh) Fixes: 80e715a06c2d ("initramfs: rename gen_initramfs_list.sh to gen_initramfs.sh") Signed-off-by: Robert Richter Signed-off-by: Masahiro Yamada Signed-off-by: Greg Kroah-Hartman --- Documentation/driver-api/early-userspace/early_userspace_support.rst | 8 ++++---- Documentation/filesystems/ramfs-rootfs-initramfs.rst | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/Documentation/driver-api/early-userspace/early_userspace_support.rst +++ b/Documentation/driver-api/early-userspace/early_userspace_support.rst @@ -69,17 +69,17 @@ early userspace image can be built by an As a technical note, when directories and files are specified, the entire CONFIG_INITRAMFS_SOURCE is passed to -usr/gen_initramfs_list.sh. This means that CONFIG_INITRAMFS_SOURCE +usr/gen_initramfs.sh. This means that CONFIG_INITRAMFS_SOURCE can really be interpreted as any legal argument to -gen_initramfs_list.sh. If a directory is specified as an argument then +gen_initramfs.sh. If a directory is specified as an argument then the contents are scanned, uid/gid translation is performed, and usr/gen_init_cpio file directives are output. If a directory is -specified as an argument to usr/gen_initramfs_list.sh then the +specified as an argument to usr/gen_initramfs.sh then the contents of the file are simply copied to the output. All of the output directives from directory scanning and file contents copying are processed by usr/gen_init_cpio. -See also 'usr/gen_initramfs_list.sh -h'. +See also 'usr/gen_initramfs.sh -h'. Where's this all leading? ========================= --- a/Documentation/filesystems/ramfs-rootfs-initramfs.rst +++ b/Documentation/filesystems/ramfs-rootfs-initramfs.rst @@ -170,7 +170,7 @@ Documentation/driver-api/early-userspace The kernel does not depend on external cpio tools. If you specify a directory instead of a configuration file, the kernel's build infrastructure creates a configuration file from that directory (usr/Makefile calls -usr/gen_initramfs_list.sh), and proceeds to package up that directory +usr/gen_initramfs.sh), and proceeds to package up that directory using the config file (by feeding it to usr/gen_init_cpio, which is created from usr/gen_init_cpio.c). The kernel's build-time cpio creation code is entirely self-contained, and the kernel's boot-time extractor is also