From: "H. Peter Anvin" <hpa@zytor.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [Kbuild] Proper syntax for initramfs dependencies
Date: Fri, 19 May 2006 21:35:27 -0700 [thread overview]
Message-ID: <446E9C8F.60905@zytor.com> (raw)
[-- 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"
next reply other threads:[~2006-05-20 4:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-20 4:35 H. Peter Anvin [this message]
2006-05-20 7:26 ` [Kbuild] Proper syntax for initramfs dependencies Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=446E9C8F.60905@zytor.com \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.