Displaying 6 results from an estimated 6 matches for "is_cpio".
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
...tory is specified then add all files in given direcotry to fs
# if a regular file is specified assume it is in gen_initramfs format
input_file() {
- if [ "$1" == "-d" ]; then
- ${dep_list}default_initramfs
- elif [ -f "$1" ]; then
+ if [ -f "$1" ]; then
is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')"
if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then
cpio_file=$1
@@ -257,8 +238,6 @@ while [ $# -gt 0 ]; do
;;
*)
case "$arg" in
- "-d") process_file "$arg" "$#"
-...
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
...s
# if a regular file is specified assume it is in gen_initramfs format
input_file() {
- source="$1"
- if [ -f "$1" ]; then
- ${dep_list}header "$1"
+ if [ "$1" == "-d" ]; then
+ ${dep_list}default_initramfs
+ elif [ -f "$1" ]; then
is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')"
if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then
cpio_file=$1
@@ -210,6 +207,15 @@ input_file() {
fi
}
+# input file/dir - process it
+process_file() {
+ if [ -z ${print_header} ]; then
+ ${dep_list}header &quo...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
...# if only one file is specified and it i
# if a directory is specified then add all files in given direcotry to fs
# if a regular file is specified assume it is in gen_initramfs format
input_file() {
- source="$1"
if [ -f "$1" ]; then
- ${dep_list}header "$1"
is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')"
if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then
cpio_file=$1
@@ -214,6 +192,15 @@ input_file() {
fi
}
+# input file/dir - process it
+process_file() {
+ if [ -z ${print_header} ]; then
+ ${dep_list}header &quo...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...}
# if only one file is specified and it is .cpio file then use it direct as fs
# if a directory is specified then add all files in given direcotry to fs
# if a regular file is specified assume it is in gen_initramfs format
input_file() {
source="$1"
if [ -f "$1" ]; then
is_cpio="$(echo "$1" | sed 's/^.\*\.cpio/cpio/')"
if [ $2 -eq 1 -a ${is_cpio} == "cpio" ]; then
cpio_file=$1
[ ! -z ${list_file} ] && echo "$1"
return 0
fi
if [ -z ${file_list} ]; then
header "$1"
print_mtime "$1&qu...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...# if only one file is specified and it is .cpio file then use it direct as fs
+# if a directory is specified then add all files in given direcotry to fs
+# if a regular file is specified assume it is in gen_initramfs format
+input_file() {
+ source="$1"
+ if [ -f "$1" ]; then
+ is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')"
+ if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then
+ cpio_file=$1
+ [ ! -z ${list_file} ] && echo "$1"
+ return 0
+ fi
+ if [ -z ${file_list} ]; then
+ header "$1"
+ print_mtime &quo...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: