Annotation of /trunk/grub/patches/grub-2.00-busybox-linux-install.patch
Parent Directory | Revision Log
Revision 2806 -
(hide annotations)
(download)
Mon Jun 13 11:36:07 2016 UTC (8 years, 3 months ago) by niro
File size: 976 byte(s)
Mon Jun 13 11:36:07 2016 UTC (8 years, 3 months ago) by niro
File size: 976 byte(s)
-fixed stat --printf issues with busybox
1 | niro | 2806 | diff -Naur grub-2.00/util/grub.d/10_linux.in grub-2.00-busybox/util/grub.d/10_linux.in |
2 | --- grub-2.00/util/grub.d/10_linux.in 2012-04-18 23:24:38.000000000 +0200 | ||
3 | +++ grub-2.00-busybox/util/grub.d/10_linux.in 2016-06-13 13:33:55.300185791 +0200 | ||
4 | @@ -54,7 +54,7 @@ | ||
5 | GRUBFS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`" | ||
6 | |||
7 | if [ x"$GRUBFS" = x ]; then | ||
8 | - GRUBFS="$(stat -f --printf=%T / || true)" | ||
9 | + GRUBFS="$(stat -f -c %T / || true)" | ||
10 | fi | ||
11 | |||
12 | case x"$GRUBFS" in | ||
13 | diff -Naur grub-2.00/util/grub.d/20_linux_xen.in grub-2.00-busybox/util/grub.d/20_linux_xen.in | ||
14 | --- grub-2.00/util/grub.d/20_linux_xen.in 2012-06-03 21:57:42.000000000 +0200 | ||
15 | +++ grub-2.00-busybox/util/grub.d/20_linux_xen.in 2016-06-13 13:34:08.593037674 +0200 | ||
16 | @@ -62,7 +62,7 @@ | ||
17 | GRUBFS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`" | ||
18 | |||
19 | if [ x"$GRUBFS" = x ]; then | ||
20 | - GRUBFS="$(stat -f --printf=%T /)" | ||
21 | + GRUBFS="$(stat -f -c %T /)" | ||
22 | fi | ||
23 | |||
24 | case x"$GRUBFS" in |