Update gpiommc to use configfs
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 904-ls_time_locale.patch
1 --- a/scripts/gen_initramfs_list.sh
2 +++ b/scripts/gen_initramfs_list.sh
3 @@ -125,7 +125,7 @@
4 str="${ftype} ${name} ${location} ${str}"
5 ;;
6 "nod")
7 - local dev=`LC_ALL=C ls -l "${location}"`
8 + local dev=`LC_ALL=C ls -l --time-style=locale "${location}"`
9 local maj=`field 5 ${dev}`
10 local min=`field 6 ${dev}`
11 maj=${maj%,}
12 @@ -135,7 +135,7 @@
13 str="${ftype} ${name} ${str} ${dev} ${maj} ${min}"
14 ;;
15 "slink")
16 - local target=`field 11 $(LC_ALL=C ls -l "${location}")`
17 + local target=`field 11 $(LC_ALL=C ls -l --time-style=locale "${location}")`
18 str="${ftype} ${name} ${target} ${str}"
19 ;;
20 *)