fix rootfs split partition renaming (fix by Eric L. Chen)
[openwrt.git] / target / linux / generic-2.6 / patches / 904-ls_time_locale.patch
1 diff -urN linux-2.6.21.1.old/scripts/gen_initramfs_list.sh linux-2.6.21.1.dev/scripts/gen_initramfs_list.sh
2 --- linux-2.6.21.1.old/scripts/gen_initramfs_list.sh 2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1.dev/scripts/gen_initramfs_list.sh 2007-05-26 21:32:53.679383816 +0200
4 @@ -125,7 +125,7 @@
5 str="${ftype} ${name} ${location} ${str}"
6 ;;
7 "nod")
8 - local dev=`LC_ALL=C ls -l "${location}"`
9 + local dev=`LC_ALL=C ls -l --time-style=locale "${location}"`
10 local maj=`field 5 ${dev}`
11 local min=`field 6 ${dev}`
12 maj=${maj%,}
13 @@ -135,7 +135,7 @@
14 str="${ftype} ${name} ${str} ${dev} ${maj} ${min}"
15 ;;
16 "slink")
17 - local target=`field 11 $(LC_ALL=C ls -l "${location}")`
18 + local target=`field 11 $(LC_ALL=C ls -l --time-style=locale "${location}")`
19 str="${ftype} ${name} ${target} ${str}"
20 ;;
21 *)
This page took 0.043679 seconds and 5 git commands to generate.