Vladimir Serbinenko
6f07c4e407
Pass font config to config.h and not by TARGET_CFLAGS as adding
...
arguments doesn't work if TARGET_CFLAGS is specified on command
line.
2013-12-04 10:25:53 +01:00
Vladimir Serbinenko
60d5e9cbd9
* configure.ac: Add -Wvla if compiler supports it.
2013-12-04 10:08:57 +01:00
Vladimir Serbinenko
cd15c394cc
* grub-core/osdep/windows/emuconsole.c (grub_console_putchar):
...
Remove variable length arrays.
* grub-core/term/efi/console.c (grub_console_putchar): Likewise.
2013-12-04 10:05:33 +01:00
Vladimir Serbinenko
bb6e299ccb
* grub-core/kern/i386/qemu/init.c: Remove variable length arrays.
2013-12-04 09:48:36 +01:00
Vladimir Serbinenko
85eb579ad9
* include/grub/types.h: Declare all byteswaps as inline functions
...
except compile-time ones.
Solves variable shadowing in constructions like
cpu_to_le (le_to_cpu(x) + 1).
2013-12-04 08:42:35 +01:00
Vladimir Serbinenko
47f88cc94e
* grub-core/kern/efi/efi.c: Remove variable length arrays.
2013-12-04 08:39:22 +01:00
Vladimir Serbinenko
40b5739ff9
* grub-core/kern/uboot/init.c (uboot_timer_ms): Fix overflow after 71
...
minutes.
2013-12-04 08:26:39 +01:00
Vladimir Serbinenko
234d93464a
* grub-core/disk/ieee1275/ofdisk.c: Remove variable length arrays.
...
* grub-core/net/drivers/ieee1275/ofnet.c: Likewise.
2013-12-04 08:10:01 +01:00
Colin Watson
46b8d57a9f
Add GRUB_RECOVERY_TITLE option, to allow the controversial "recovery mode" text to be customised (LP: #1240360 ).
2013-12-03 18:47:23 +00:00
Colin Watson
f7319022b5
Silence error message on initial installation when /etc/default/grub does not yet exist.
2013-12-03 18:41:11 +00:00
Colin Watson
e854fc5f9e
Update debian/legacy/update-grub to the version from grub 0.97-67.
2013-12-03 18:39:26 +00:00
Colin Watson
22b1212ab6
Add debian/legacy/update-grub to version control
...
This file is copied from grub-legacy/debian/update-grub.
2013-12-03 18:37:49 +00:00
Colin Watson
86dc003ba5
Manage grub-extras using a git submodule
2013-12-03 18:35:41 +00:00
Colin Watson
ed779c4d43
Merge branch 'upstream' into experimental
2013-12-03 18:17:18 +00:00
Colin Watson
0c0eab527f
* grub-core/Makefile.core.def (setjmp): Distribute
...
lib/arm64/setjmp.S.
2013-12-03 18:11:18 +00:00
Colin Watson
361324ddde
Make grub-xen contain both i386-xen and x86_64-xen ports.
...
They may well both be useful on the same system, and there isn't much
value in separating them.
2013-12-03 17:47:56 +00:00
Colin Watson
9d9a4effb4
bump version
2013-12-03 17:33:03 +00:00
Colin Watson
00cc25303f
Remove some repetition.
2013-12-03 17:29:13 +00:00
Colin Watson
eab14eb388
New port to arm64-efi.
2013-12-03 17:15:10 +00:00
Colin Watson
d0367700c0
Changelog for hidden timeout revamp.
2013-12-03 17:12:11 +00:00
Colin Watson
d3f94fd1bc
Merge branch 'upstream' into experimental
2013-12-03 17:10:32 +00:00
Colin Watson
44d4884779
Merge branch 'cjwatson/timeout-style'
2013-12-03 16:15:45 +00:00
Colin Watson
10955cda06
Credit and bug reference.
2013-12-03 16:14:01 +00:00
Colin Watson
f315b508ae
Reduce nesting level.
2013-12-03 16:11:00 +00:00
Vladimir Serbinenko
9e4e6ddfbf
* util/config.c: Add missing pointer adjustment.
...
Reported by: qwertial
2013-12-02 06:51:13 +01:00
Andrey Borzenkov
5037aa9a7b
fix libgrub.pp build post arm64 merge
...
grub-core/kern/arm64/dl_helper.c:26:28: fatal error: grub/cpu/reloc.h: No such file or directory
2013-11-30 22:36:10 +04:00
Vladimir Serbinenko
8a952d20d1
Missing ChangeLog entry
2013-11-30 16:51:35 +01:00
Leif Lindholm
b29b77fee2
New port arm64-efi
2013-11-30 16:50:31 +01:00
Andrey Borzenkov
be0d45555e
document sleep command exit codes
2013-11-30 14:57:11 +04:00
Vladimir Serbinenko
d74b9a1d1a
Ensure that -mno-unaligned-access or some equivalent option is used.
2013-11-30 11:31:14 +01:00
Vladimir Serbinenko
35de6d4bac
* grub-core/lib/libgcrypt/mpi/longlong.h: Fix compilation error with
...
-march=armv3.
2013-11-30 11:19:06 +01:00
Vladimir Serbinenko
ce55ed0389
Remove leftover GRUB_IA64_DL_TRAMP_SIZE.
2013-11-30 11:14:30 +01:00
Colin Watson
f70ab525f9
Remove a few references to GRUB_HIDDEN_TIMEOUT*
...
Reported by Andrey Borzenkov.
2013-11-29 17:19:37 +00:00
Colin Watson
9b70860ecc
Consolidate timeout generation code a bit.
2013-11-29 16:11:53 +00:00
Colin Watson
095588ef34
Consistently ignore GRUB_TIMEOUT if GRUB_HIDDEN_TIMEOUT is set
...
Pointed out by Vladimir Serbinenko.
2013-11-29 15:30:44 +00:00
Colin Watson
2dbda2215c
Fix documentation of behaviour after pressing ESC
...
Pointed out by Andrey Borzenkov.
2013-11-29 15:25:43 +00:00
Colin Watson
53cc63bf85
Add GRUB_TIMEOUT_STYLE_BUTTON support
...
Suggested by Vladimir Serbinenko.
2013-11-29 15:18:05 +00:00
Colin Watson
471b2683e7
Move deprecated grub-mkconfig options to a separate table
...
Suggested by Andrey Borzenkov.
2013-11-29 14:59:25 +00:00
Colin Watson
8ddf84bfb8
Fix "make -C docs dvi"
...
* docs/grub-dev.texi (Font Metrics): Exclude @image command from DVI
builds, since we don't have an EPS version of font_char_metrics.png.
Add leading dot to image extension per the Texinfo documentation.
2013-11-29 13:48:23 +00:00
Colin Watson
1778275de8
Merge branch 'upstream' into experimental
2013-11-29 12:32:06 +00:00
Colin Watson
fd0df6d098
Fix build with FreeType 2.5.1
...
* util/grub-gen-asciih.c: Include FT_SYNTHESIS_H rather than
<freetype/ftsynth.h>, fixing build with FreeType 2.5.1.
* util/grub-gen-widthspec.c: Likewise.
* util/grub-mkfont.c: Likewise.
2013-11-29 12:19:36 +00:00
Colin Watson
9c960b1ea9
Build-depend on libxen-dev for the Xen port
...
Also restrict grub-xen* architectures to "i386 amd64" rather than
"any-i386 any-amd64", since libxen-dev is only available on Linux.
2013-11-29 10:58:09 +00:00
Andrey Borzenkov
69ca97c820
fix using grub device name as install device
...
Shell version of grub-install called grub-setup which resolved
install device name and called main setup routine. C version of
grub-install calls main setup routine directly, which leads
to the error:
grub2-install: info: grub-bios-setup --verbose --force --skip-fs-probe --directory='/boot/grub2/i386-pc' --device-map='/boot/grub2/device.map' '(hd2)'.
grub2-install: info: reading /boot/grub2/i386-pc/boot.img.
grub2-install: info: reading /boot/grub2/i386-pc/core.img.
grub2-install: info: root is `(null)', dest is `(hd2)'.
grub2-install: info: Opening dest.
grub2-install: info: drive = -1.
grub2-install: error: disk `(hd2)' not found.
Move resolving of destination device name into main setup routine
so it is done consistently in both cases.
2013-11-29 11:32:34 +04:00
Vladimir Serbinenko
eec893ae49
* grub-core/kern/emu/hostfs.c (is_dir): Remove variable length arrays.
2013-11-29 05:52:20 +01:00
Vladimir Serbinenko
621e167fd6
* util/grub-fstest.c: Remove variable length arrays.
2013-11-29 05:50:32 +01:00
Vladimir Serbinenko
d54f647a4a
* grub-core/osdep/linux/ofpath.c: Check return value of read.
2013-11-29 05:46:19 +01:00
Vladimir Serbinenko
c8a0f1b229
* util/mkimage.c (grub_install_generate_image): Use grub_crypto_hash for
...
computing crc32 rather than handling with md fundtions directly.
2013-11-29 04:14:26 +01:00
Vladimir Serbinenko
726409a513
* util/mkimage.c (grub_install_generate_image): Use grub_crypto_hash for
...
checking fwstart.img rather than md fundtions directly.
2013-11-29 04:05:44 +01:00
Vladimir Serbinenko
422e6e886c
* util/grub-mkrescue.c (main): Check that fread succeeded.
2013-11-29 03:54:21 +01:00
Vladimir Serbinenko
af1faca3f8
* conf/Makefile.common: Remove -mexplicit-relocs and -DUSE_ASCII_FALLBACK on yeeloong.
...
-DUSE_ASCII_FALLBACK is already added by font snippets.
-mexplicit-relocs isn't needed is compiler/assemblera are
configured properly.
If they're not we shouldn't attempt to fix it by ourselves.
Binary compare between before and after shows no difference.
2013-11-29 03:45:50 +01:00