relocate packages on recipes-base/recipes-enigma2/recipes-wlan.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / autofs / autofs-4.1.4 / 072_fix_auto_net_sort.patch
1 #!/bin/sh /usr/share/dpatch/dpatch-run
2 ## 072_fix_auto_net_sort.dpatch
3 ##
4 ## DP: No description.
5
6 @DPATCH@
7
8 diff -Naur .B/samples/auto.net .A/samples/auto.net
9 --- .B/samples/auto.net 2007-01-07 21:36:35.000000000 +0000
10 +++ .A/samples/auto.net 2007-01-07 21:36:36.000000000 +0000
11 @@ -37,7 +37,7 @@
12  # Newer distributions get this right
13  SHOWMOUNT="$SMNT --no-headers -e $key"
14  
15 -$SHOWMOUNT | LC_ALL=C sort +0 | \
16 +$SHOWMOUNT | LC_ALL=C sort -k 1 | \
17         awk -v key="$key" -v opts="$opts" -- '
18         BEGIN   { ORS=""; first=1 }
19                 { if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 }