Displaying 7 results from an estimated 7 matches for "dep_list".
Did you mean:
cap_list
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
.../gen_initramfs_list.sh
+++ b/scripts/gen_initramfs_list.sh
@@ -37,8 +37,7 @@ EOF
}
list_default_initramfs() {
- # echo usr/kinit/kinit
- :
+ echo usr/kinit/kinit \\
}
default_initramfs() {
@@ -167,8 +166,6 @@ header() {
# process one directory (incl sub-directories)
dir_filelist() {
- ${dep_list}header "$1"
-
srcdir=$(echo "$1" | sed -e 's://*:/:g')
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" 2>/dev/null)
@@ -187,9 +184,9 @@ # if only one file is specified and it i
# if a directory is specified then add all files in given dir...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
...0755 0 0
- nod /dev/console 0600 0 0 c 5 1
- dir /root 0700 0 0
- # file /kinit usr/kinit/kinit 0755 0 0
- # slink /init kinit 0755 0 0
- EOF
-}
-
filetype() {
local argv1="$1"
@@ -167,8 +149,6 @@ header() {
# process one directory (incl sub-directories)
dir_filelist() {
- ${dep_list}header "$1"
-
srcdir=$(echo "$1" | sed -e 's://*:/:g')
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" 2>/dev/null)
@@ -187,9 +167,7 @@ # if only one file is specified and it i
# if a directory is specified then add all files in given dir...
2007 Oct 19
1
Size and performance efficient rewriting of the `dash.test` built-in
...form -
operator where the first character of operator is not a digit.
Now, i want to add something like this:
#!/bin/dash
cd /mnt/path/to/src
test file.c -ot [ utils/foo.c include/bar.h ] && do_update
[ file.c -nt [ utils/foo.c include/bar.h ] ] || do_nothing
test vmlinux.o -nt [ $DEP_LIST ] || do_something
#shend
When using parameter, IFS can split any kind of list separation, so
list syntax, basically, is not that much important.
Why. Because of my intention of getting rid of the `make` based built
system(s). It was discussed many time by many people. The Linux kernel
kbuild/kco...
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
...argv1="$1"
@@ -184,9 +167,7 @@ # 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() {
- 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
;;
*)...
2006 Apr 17
0
[PATCH] klibc: rebuild cpio image when content changes
...+), 22 deletions(-)
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh
index 45c81b0..a609970 100644
--- a/scripts/gen_initramfs_list.sh
+++ b/scripts/gen_initramfs_list.sh
@@ -268,6 +268,14 @@ while [ $# -gt 0 ]; do
esac
done
+# trailer of dependency list
+if [ ! -z ${dep_list} ]; then
+ echo ""
+ echo "initramfs: \$(deps_initramfs)"
+ echo "\$(deps_initramfs): ;"
+ echo ""
+fi
+
# If output_file is set we will generate cpio archive and gzip it
# we are carefull to delete tmp files
if [ ! -z ${output_file} ]; then
diff --git a/u...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...)/\1:\2/g' \
+ | sed 's/ /\n/g' | grep [0-9]:[0-9] 2>/dev/null" % mpath_device
+ deps = subprocess.Popen(deps_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ deps_output = deps.stdout.read()
+
+ for dep in deps_output.split():
+ device=get_sd_name(dep)
+ dep_list=[]
+ if device is None:
+ if deplist is None:
+ deplist = device
+ else:
+ deplist.append(device)
+ return deplist
+
+# Find a usable/selected storage device.
+# If there are none, give a diagnostic and return nonzero.
+# If there is jus...
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: