Skip to content

Commit 5e60f36

Browse files
Robert Richtermasahir0y
authored andcommitted
Documentation: Fix intiramfs script name
Documentation was not changed when renaming the script in commit 80e715a ("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: 80e715a ("initramfs: rename gen_initramfs_list.sh to gen_initramfs.sh") Signed-off-by: Robert Richter <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 1d11053 commit 5e60f36

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Documentation/driver-api/early-userspace/early_userspace_support.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@ early userspace image can be built by an unprivileged user.
6969

7070
As a technical note, when directories and files are specified, the
7171
entire CONFIG_INITRAMFS_SOURCE is passed to
72-
usr/gen_initramfs_list.sh. This means that CONFIG_INITRAMFS_SOURCE
72+
usr/gen_initramfs.sh. This means that CONFIG_INITRAMFS_SOURCE
7373
can really be interpreted as any legal argument to
74-
gen_initramfs_list.sh. If a directory is specified as an argument then
74+
gen_initramfs.sh. If a directory is specified as an argument then
7575
the contents are scanned, uid/gid translation is performed, and
7676
usr/gen_init_cpio file directives are output. If a directory is
77-
specified as an argument to usr/gen_initramfs_list.sh then the
77+
specified as an argument to usr/gen_initramfs.sh then the
7878
contents of the file are simply copied to the output. All of the output
7979
directives from directory scanning and file contents copying are
8080
processed by usr/gen_init_cpio.
8181

82-
See also 'usr/gen_initramfs_list.sh -h'.
82+
See also 'usr/gen_initramfs.sh -h'.
8383

8484
Where's this all leading?
8585
=========================

Documentation/filesystems/ramfs-rootfs-initramfs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Documentation/driver-api/early-userspace/early_userspace_support.rst for more de
170170
The kernel does not depend on external cpio tools. If you specify a
171171
directory instead of a configuration file, the kernel's build infrastructure
172172
creates a configuration file from that directory (usr/Makefile calls
173-
usr/gen_initramfs_list.sh), and proceeds to package up that directory
173+
usr/gen_initramfs.sh), and proceeds to package up that directory
174174
using the config file (by feeding it to usr/gen_init_cpio, which is created
175175
from usr/gen_init_cpio.c). The kernel's build-time cpio creation code is
176176
entirely self-contained, and the kernel's boot-time extractor is also

0 commit comments

Comments
 (0)