Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

initramfs: rename gen_initramfs_list.sh to gen_initramfs.sh

The comments in usr/Makefile wrongly refer to the script name (twice).

Line 37:
# The dependency list is generated by gen_initramfs.sh -l

Line 54:
# 4) Arguments to gen_initramfs.sh changes

There does not exist such a script.

I was going to fix the comments, but after some consideration, I thought
"gen_initramfs.sh" would be more suitable than "gen_initramfs_list.sh"
because it generates an initramfs image in the common usage.

The script generates a list that can be fed to gen_init_cpio only when
it is directly run without -o or -l option.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+1 -1
+1 -1
usr/Makefile
··· 24 24 # Generate the initramfs cpio archive 25 25 26 26 hostprogs-y := gen_init_cpio 27 - initramfs := $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs_list.sh 27 + initramfs := $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs.sh 28 28 ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \ 29 29 $(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d) 30 30 ramfs-args := \
usr/gen_initramfs_list.sh usr/gen_initramfs.sh