gen_initramfs_list.sh
PATCH 1/1 gen_initramfs_list.sh
As stated in patch the script is a non posix bash script and should use bash instead of config_shell
From 6a7ef73882393e23e966e7b53e7b03397ad18e63 Mon Sep 17 00:00:00 2001
From: Jory Pratt <[email protected]>
Date: Wed, 4 Dec 2019 09:30:17 -0600
Subject: [PATCH] gen_initramfs_list.sh is a bash script that isn't posix
compliant.
This ensures we call bash instead of sh which could be dash or any other shell that is not compatible with the script.
Signed-off-by Jory Pratt <[email protected]>
--- usr/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
usr/Makefile +1 -1
@@ -27,7 +27,7 @@ $(obj)/initramfs_data.o: $(obj)/$(datafile_y) FORCE # Generate the initramfs cpio archive hostprogs-y := gen_init_cpio -initramfs := $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs_list.sh +initramfs := $(BASH) $(srctree)/$(src)/gen_initramfs_list.sh ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \ $(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d) ramfs-args := \
Signature · 1 line
2.24.0
Quoted 2 lines · Jory A. Pratt
As stated in patch the script is a non posix bash script and should use bash instead of
config_shell
Hi,
You will need to send this to some maintainer to merge it.
Maintainers don't usually scan LKML to pick up patches.
thanks.
Signature · 1 line
~Randy