Displaying 6 results from an estimated 6 matches for "unknown_option".
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
...le [ $# -gt 0 ]; do
root_gid="$1"
shift
;;
- "-d") # display default initramfs list
- default_list="$arg"
- ${dep_list}default_initramfs
- ;;
"-h")
usage
exit 0
;;
*)
case "$arg" in
- "-"*)
- unknown_option
+ "-d") process_file "$arg" "$#"
+ ;;
+ "-"*) unknown_option
;;
- *) # input file/dir - process it
- input_file "$arg" "$#"
+ *) process_file "$arg" "$#"
;;
esac
;;
diff --git a/u...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
...le [ $# -gt 0 ]; do
root_gid="$1"
shift
;;
- "-d") # display default initramfs list
- default_list="$arg"
- ${dep_list}default_initramfs
- ;;
"-h")
usage
exit 0
;;
*)
case "$arg" in
- "-"*)
- unknown_option
+ "-"*) unknown_option
;;
- *) # input file/dir - process it
- input_file "$arg" "$#"
+ *) process_file "$arg" "$#"
;;
esac
;;
esac
done
+# trailer of dependency list
+if [ ! -z ${dep_list} ]; then
+ echo "...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...nput to initramfs.
-d Output the default cpio list.
All options may be repeated and are interpreted sequentially
and immediately. -u and -g states are preserved across
<cpio_source> options so an explicit "-u 0 -g 0" is required
to reset the root/group mapping.
EOF
}
unknown_option() {
printf "ERROR: unknown option \"$arg\"\n" >&2
printf "If the filename validly begins with '-', " >&2
printf "then it must be prefixed\n" >&2
printf "by './' so that it won't be interpreted as an option.&qu...
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
...; | 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" "$#"
- ;;
"-"*) unknown_option
;;
*) process_file "$arg" "$#"
diff --git a/usr/Kbuild b/usr/Kbuild
index e338cf9..bc50c48 100644
--- a/usr/Kbuild
+++ b/usr/Kbuild
@@ -53,14 +53,14 @@ #####
# Generate the initramfs cpio archive
hostprogs-y := gen_init_cpio
-ginitramfs := $(CONFIG_SHELL) $(srct...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...slink")
+ local target=$(LC_ALL=C ls -l "${location}" | \
+ gawk '{print $11}')
+ str="${ftype} ${name} ${target} ${str}"
+ ;;
+ *)
+ str="${ftype} ${name} ${str}"
+ ;;
+ esac
+
+ echo "${str}" >> ${output}
+
+ return 0
+}
+
+unknown_option() {
+ printf "ERROR: unknown option \"$arg\"\n" >&2
+ printf "If the filename validly begins with '-', " >&2
+ printf "then it must be prefixed\n" >&2
+ printf "by './' so that it won't be interpreted as an option...
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: