* [Kbuild] Proper syntax for initramfs dependencies
@ 2006-05-20 4:35 H. Peter Anvin
2006-05-20 7:26 ` Sam Ravnborg
0 siblings, 1 reply; 2+ messages in thread
From: H. Peter Anvin @ 2006-05-20 4:35 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
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 <hpa@zytor.com>
[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 436 bytes --]
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh
index b1ebd64..2ac9490 100644
--- a/scripts/gen_initramfs_list.sh
+++ b/scripts/gen_initramfs_list.sh
@@ -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"
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-20 7:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-20 4:35 [Kbuild] Proper syntax for initramfs dependencies H. Peter Anvin
2006-05-20 7:26 ` Sam Ravnborg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.