remove 2.6.25 support
[lede.git] / target / linux / generic / 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 @@ parse() {
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 @@ parse() {
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                 *)