Proper syntax for initramfs dependencies
This patch adjusts the generation of initramfs dependencies, so that the syntax stays correct when there are multiple files.
Signed-off-by H. Peter Anvin <[email protected]>
scripts/gen_initramfs_list.sh +1 -1
@@ -178,7 +178,7 @@ input_file() { print_mtime "$1" >> ${output} cat "$1" >> ${output} else - grep ^file "$1" | cut -d ' ' -f 3 + grep ^file "$1" | cut -d ' ' -f 3 | sed -e 's/$/ \\/' fi elif [ -d "$1" ]; then dir_filelist "$1"
Quoted 2 lines · H. Peter Anvin
This patch adjusts the generation of initramfs dependencies, so that the syntax stays correct when there are multiple files.
This is already fixed in -linus.
Sam