projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts/namespace.pl: improve to get more correct results
[deliverable/linux.git]
/
scripts
/
gen_initramfs_list.sh
diff --git
a/scripts/gen_initramfs_list.sh
b/scripts/gen_initramfs_list.sh
index 76af5f9623e3a41027e20c68fcd21610529bf4b4..f3b5c05ced40f5b4c47ae34e869e9a8181c69d51 100644
(file)
--- a/
scripts/gen_initramfs_list.sh
+++ b/
scripts/gen_initramfs_list.sh
@@
-202,6
+202,7
@@
input_file() {
print_mtime "$1" >> ${output}
cat "$1" >> ${output}
else
print_mtime "$1" >> ${output}
cat "$1" >> ${output}
else
+ echo "$1 \\"
cat "$1" | while read type dir file perm ; do
if [ "$type" == "file" ]; then
echo "$file \\";
cat "$1" | while read type dir file perm ; do
if [ "$type" == "file" ]; then
echo "$file \\";
@@
-231,7
+232,7
@@
arg="$1"
case "$arg" in
"-l") # files included in initramfs - used by kbuild
dep_list="list_"
case "$arg" in
"-l") # files included in initramfs - used by kbuild
dep_list="list_"
- echo "deps_initramfs := \\"
+ echo "deps_initramfs :=
$0
\\"
shift
;;
"-o") # generate compressed cpio image named $1
shift
;;
"-o") # generate compressed cpio image named $1
This page took
0.033737 seconds
and
5
git commands to generate.