OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 --- a/scripts/gen_initramfs_list.sh
2 +++ b/scripts/gen_initramfs_list.sh
3 @@ -59,6 +59,18 @@ default_initramfs() {
4 EOF
5 }
6  
7 +list_openwrt_initramfs() {
8 + :
9 +}
10 +
11 +openwrt_initramfs() {
12 + # make sure that /dev/console exists
13 + cat <<-EOF >> ${output}
14 + dir /dev 0755 0 0
15 + nod /dev/console 0600 0 0 c 5 1
16 + EOF
17 +}
18 +
19 filetype() {
20 local argv1="$1"
21  
22 @@ -177,6 +189,8 @@ dir_filelist() {
23 if [ "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then
24 ${dep_list}print_mtime "$1"
25  
26 + ${dep_list}openwrt_initramfs
27 +
28 echo "${dirlist}" | \
29 while read x; do
30 ${dep_list}parse ${x}