* util/grub-install.in: Ignore empty devicetree directory.
This commit is contained in:
parent
5efb817d64
commit
df760f778a
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-05-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-install.in: Ignore empty devicetree directory.
|
||||||
|
|
||||||
2012-05-08 Bean <bean123ch@gmail.com>
|
2012-05-08 Bean <bean123ch@gmail.com>
|
||||||
|
|
||||||
* grub-core/net/ip.c (reassemble): Make asm_buffer into asm_netbuff.
|
* grub-core/net/ip.c (reassemble): Make asm_buffer into asm_netbuff.
|
||||||
|
|
|
@ -311,7 +311,12 @@ if [ x$source_dir = x ]; then
|
||||||
if [ -d /sys/firmware/efi ]; then
|
if [ -d /sys/firmware/efi ]; then
|
||||||
target="i386-efi"
|
target="i386-efi"
|
||||||
elif [ -e /proc/device-tree ]; then
|
elif [ -e /proc/device-tree ]; then
|
||||||
|
target=i386-pc
|
||||||
|
for x in /proc/device-tree/*; do
|
||||||
|
if [ -e "$x" ]; then
|
||||||
target="i386-ieee1275"
|
target="i386-ieee1275"
|
||||||
|
fi
|
||||||
|
done
|
||||||
else
|
else
|
||||||
target=i386-pc
|
target=i386-pc
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue