search for: cpio_list

Displaying 4 results from an estimated 4 matches for "cpio_list".

2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...e file/directory # supplied as an argument. # # If a file/directory is not supplied then generate a small dummy file. # # The output is suitable for gen_init_cpio built from usr/gen_init_cpio.c. # list_default_initramfs() { echo usr/kinit/kinit } default_initramfs() { cat <<-EOF >> ${cpio_list} # This is a very simple, default initramfs dir /dev 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 file /init usr/kinit/kinit 0755 0 0 EOF } filetype() { local argv1="$1" # symlink test m...
2004 Sep 16
3
[PATCH] gen_init_cpio uses external file list
...file, dir, nod. I swapped the order of filename/location for the file arguments so that it would be more uniform with the dir and nod tyes. [thayne@torch linux-2.6.8]$ usr/gen_init_cpio --help ERROR: unable to open '--help': No such file or directory Usage: usr/gen_init_cpio <cpio_list> <cpio_list> is a file containing newline separated entries that describe the files to be included in the initramfs archive: file <name> <location> <mode> <uid> <gid> dir <name> <mode> <uid> <gid> nod <name> <mode> <uid...
2004 Sep 16
3
[PATCH] gen_init_cpio processes file from a file list
...file, dir, nod. I swapped the order of filename/location for the file arguments so that it would be more uniform with the dir and nod tyes. [thayne@torch linux-2.6.8]$ usr/gen_init_cpio --help ERROR: unable to open '--help': No such file or directory Usage: usr/gen_init_cpio <cpio_list> <cpio_list> is a file containing newline separated entries that describe the files to be included in the initramfs archive: file <name> <location> <mode> <uid> <gid> dir <name> <mode> <uid> <gid> nod <name> <mode> <uid...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...; ${output} + else + grep ^file "$1" | cut -d ' ' -f 3 + fi + elif [ -d "$1" ]; then + dir_filelist "$1" + else + echo " ${prog}: Cannot open '$1'" >&2 + exit 1 + fi +} + +prog=$0 +root_uid=0 +root_gid=0 +file_list= +cpio_file= +cpio_list= +output="/dev/stdout" +output_file="" + +arg="$1" +case "$arg" in + "-l") # list contained files only + file_list="list_" + shift + ;; + "-o") # generate gzipped cpio image named $1 + shift + output_file="$1" + c...