Vladimir 'phcoder' Serbinenko
9f73ebd49b
* INSTALL: Document linguas.sh.
2013-04-28 13:50:18 +02:00
Vladimir 'phcoder' Serbinenko
965fa82940
Remove POTFILES.in and regenerate it in autogen.sh.
2013-04-28 13:49:21 +02:00
Vladimir 'phcoder' Serbinenko
d417ddc4e4
Move --directory/--override-directorry to grub-install_header and unify.
2013-04-28 13:35:51 +02:00
Vladimir 'phcoder' Serbinenko
f97ec54645
* grub-core/term/morse.c: Macroify dih and dah.
2013-04-28 13:27:51 +02:00
Paulo Flabiano Smorigo
b2d7470c15
* include/grub/macho.h: Set GRUB_MACHO_FAT_EFI_MAGIC as unsigned.
2013-04-27 23:06:52 +02:00
Vladimir 'phcoder' Serbinenko
141e2a7816
* grub-core/term/ns8250.c: Systematically probe ports by writing
...
to SR before using them.
2013-04-27 22:47:57 +02:00
Paulo Flabiano Smorigo
1dd70ebd58
* util/ieee1275/ofpath.c (of_path_of_scsi): Fix path output for sas
...
disks.
(check_sas): Get sas_adress info.
2013-04-27 22:03:13 +02:00
Vladimir 'phcoder' Serbinenko
c796a107b6
* grub-core/disk/ahci.c (grub_ahci_pciinit): Fix handling of empty
...
ports.
2013-04-27 21:49:14 +02:00
Leon Drugi
43168646d8
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Fix cast in
...
BSS clearing.
2013-04-27 21:16:55 +02:00
Vladimir 'phcoder' Serbinenko
e7b8fd08c5
Core compression test.
2013-04-27 19:44:00 +02:00
Vladimir 'phcoder' Serbinenko
17f9fd29d3
Implement grub_machine_get_bootlocation for ARC.
2013-04-27 19:12:11 +02:00
Vladimir 'phcoder' Serbinenko
dc2a6c8b0e
Improve AHCI detection and command issuing.
2013-04-27 17:18:02 +02:00
Vladimir 'phcoder' Serbinenko
f25a2ba6b8
Fix pseries test.
2013-04-27 14:11:12 +02:00
Vladimir 'phcoder' Serbinenko
a6393224c4
Make 'make check' work on emu.
2013-04-27 02:00:16 +02:00
Vladimir 'phcoder' Serbinenko
db99fbe83f
Replace libcurses with our own vt100 handling for the ease of testing
...
and decreasing prerequisites.
2013-04-27 00:02:23 +02:00
Vladimir 'phcoder' Serbinenko
b24ca7cd89
* grub-core/Makefile.core.def: Fix grub-emu and grub-emu-lite sources.
2013-04-26 23:47:46 +02:00
Vladimir 'phcoder' Serbinenko
63314aa43c
* util/getroot.c (exec_pipe): Put proper #if's so that its users don't
...
compile when not needed.
2013-04-26 23:41:13 +02:00
Vladimir 'phcoder' Serbinenko
c1b00fffdf
* tests/pseries_test.in: New test.
2013-04-26 19:09:55 +02:00
Vladimir 'phcoder' Serbinenko
f93e89ef90
Add test to check that different boot mediums work.
2013-04-26 14:33:31 +02:00
Vladimir 'phcoder' Serbinenko
c4b456d347
* util/grub-mkrescue.in: Rename i386-ieee1275 core image due to
...
ofw limited ISO support.
2013-04-26 11:27:24 +02:00
Vladimir 'phcoder' Serbinenko
5fe67f3911
* configure.ac: Fix loongson conditional.
2013-04-26 11:26:08 +02:00
Vladimir 'phcoder' Serbinenko
7f63a64fa0
Enable mipsel-arc.
2013-04-25 22:42:35 +02:00
Vladimir 'phcoder' Serbinenko
b04b5990df
Add serial on ARC platform.
2013-04-25 22:40:03 +02:00
Vladimir 'phcoder' Serbinenko
88d2f3022e
* grub-core/boot/powerpc/bootinfo.txt.in: Missing update from previous
...
commit.
2013-04-25 03:26:41 +02:00
Vladimir 'phcoder' Serbinenko
86eb23bc8f
* tests/partmap_test.in: Add missing double semicolon.
2013-04-25 02:22:20 +02:00
Vladimir 'phcoder' Serbinenko
eec3bb75e9
* util/grub-mkrescue.in: Fix loongson filename.
2013-04-25 02:14:46 +02:00
Vladimir 'phcoder' Serbinenko
e0810df35e
* util/grub-mkrescue.in: Move all files that don't have a location
...
set in stone under /boot/grub. Use ISO hard links rather than copies
to save some space.
2013-04-25 01:36:20 +02:00
Vladimir 'phcoder' Serbinenko
65a6b30b47
* grub-core/term/ieee1275/console.c (grub_console_dimensions): Ignore
...
bogus SLOF values.
2013-04-25 00:45:29 +02:00
Vladimir 'phcoder' Serbinenko
6aff01075d
Make check work on mips-arc.
2013-04-24 22:24:28 +02:00
Vladimir 'phcoder' Serbinenko
5e013e56f0
* util/grub-mkrescue.in: Alias sashARCS as sash.
2013-04-24 18:56:47 +02:00
Vladimir 'phcoder' Serbinenko
d1989e2e1d
* grub-core/term/arc/console.c: Assume that console is 80x24 vt100 if
...
it's serial.
2013-04-24 18:39:00 +02:00
Vladimir 'phcoder' Serbinenko
1a25e72cf6
* util/grub-install.in: Fix target fo qemu_mips.
...
Fix extension on EFI.
2013-04-24 15:10:29 +02:00
Vladimir 'phcoder' Serbinenko
a59a9826fd
* grub-core/normal/menu_text.c (print_entry): Put an asterisk
...
in front of chosen entry to mark it even if highlighting is lost.
2013-04-24 15:07:24 +02:00
Vladimir 'phcoder' Serbinenko
1a40f80c98
* grub-core/loader/i386/linux.c (grub_linux_boot): Default to
...
gfxpayload=keep if cbfb is active.
2013-04-24 14:53:00 +02:00
Vladimir 'phcoder' Serbinenko
e343549ca9
* grub-core/disk/ata.c (grub_ata_real_open): Use grub_error properly.
2013-04-24 14:47:14 +02:00
Vladimir 'phcoder' Serbinenko
45fbd9a23f
Add missing video ids to coreboot and ieee1275 video.
2013-04-24 14:44:15 +02:00
Vladimir 'phcoder' Serbinenko
ab1440bd4e
* util/grub-mkrescue.in: Add mips-arc support.
2013-04-24 14:02:58 +02:00
Vladimir 'phcoder' Serbinenko
cdeb832472
* grub-core/kern/dl.c (grub_dl_resolve_symbols): Handle malloc failure.
2013-04-24 13:58:31 +02:00
Vladimir 'phcoder' Serbinenko
8528c879e3
Move mips-arc link address. Previous link address was chosen
...
in belief that RAM on SGI platforms grows down while in fact it
grows up from an unusual base.
2013-04-24 13:54:17 +02:00
Vladimir 'phcoder' Serbinenko
17fca5734b
* grub-core/disk/arc/arcdisk.c (grub_arcdisk_iterate_iter):
...
Fix a type which prevented CD-ROM and floppy boot.
2013-04-21 13:06:22 +02:00
Vladimir 'phcoder' Serbinenko
d178788e71
Support coreboot framebuffer.
...
* grub-core/video/i386/coreboot/cbfb.c: New file.
2013-04-21 13:02:10 +02:00
Vladimir 'phcoder' Serbinenko
fe4c3e7e67
* grub-core/kern/mm.c (grub_mm_init_region): Fix condition for
...
detecting too small regions.
2013-04-20 17:39:49 +02:00
Vladimir 'phcoder' Serbinenko
ec2dd17919
* grub-core/Makefile.core.def (legacycfg): Enable on EFI.
2013-04-20 13:46:58 +02:00
Vladimir 'phcoder' Serbinenko
872dac835c
* grub-core/lib/efi/relocator.c (grub_relocator_firmware_alloc_region):
...
Remove dprintf.
* grub-core/lib/relocator.c (malloc_in_range): Likewise.
2013-04-20 13:39:04 +02:00
Vladimir 'phcoder' Serbinenko
90ec4b7f6c
* grub-core/kern/ieee1275/init.c (grub_claim_heap): Improve handling
...
of GRUB_IEEE1275_FLAG_FORCE_CLAIM.
* grub-core/loader/powerpc/ieee1275/linux.c
(grub_linux_claimmap_iterate): Handle GRUB_IEEE1275_FLAG_FORCE_CLAIM.
2013-04-19 15:27:09 +02:00
Vladimir 'phcoder' Serbinenko
f32555dd93
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options):
...
Look for /boot-rom as well as /rom/boot-rom.
2013-04-19 15:14:28 +02:00
Vladimir 'phcoder' Serbinenko
386497990a
* grub-core/commands/videotest.c (grub_cmd_videotest): Fix error
...
handling when creating text_layer failed.
* grub-core/video/video.c (grub_video_create_render_target):
Set result to 0 on error.
(grub_video_delete_render_target): Do not dereference NULL.
2013-04-19 15:09:15 +02:00
Vladimir 'phcoder' Serbinenko
aeace7f71c
* grub-core/kern/elfXX.c (grub_elfXX_load): Handle
...
GRUB_ELF_LOAD_FLAGS_30BITS and GRUB_ELF_LOAD_FLAGS_62BITS.
* grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_load32),
(grub_linux_load64): Mask out 2 high bits.
2013-04-19 15:05:11 +02:00
Andrey Borzenkov
4eafa17565
* util/grub.d/30_os-prober.in: Add onstr to linux entries in one
...
more place.
2013-04-19 12:08:46 +04:00
Vladimir 'phcoder' Serbinenko
daaa64bd90
Add support for pseries and other bootinfo machines to grub-mkrescue.
...
Tested by: Paulo Flabiano Smorigo.
2013-04-19 00:36:23 +02:00
Vladimir 'phcoder' Serbinenko
d0d2daa661
* util/grub-mkrescue.in: Add GPT for EFI boot.
2013-04-17 19:08:31 +02:00
Vladimir 'phcoder' Serbinenko
b193e10034
* grub-core/disk/efi/efidisk.c: Detect floppies by ACPI ID.
...
It improves performance in qemu.
2013-04-17 19:05:57 +02:00
Vladimir 'phcoder' Serbinenko
a0f8f3acf1
* build-aux/snippet: Add missing gnulib files.
2013-04-17 07:00:37 +02:00
Andrey Borzenkov
284df0e263
* grub-core/disk/efi/efidisk.c: Really limit transfer chunk size.
2013-04-16 22:10:59 +02:00
Andrey Borzenkov
740201f3ab
* autogen.sh: Use "-f" in addition for "-h" when checking file presence.
2013-04-16 16:18:12 +02:00
Peter Jones
a7e03923fa
* grub-core/disk/efi/efidisk.c: Limit disk read or write chunk to 0x500
...
sectors.
Based on patch by Peter Jones.
2013-04-15 09:12:14 +02:00
Vladimir 'phcoder' Serbinenko
25fc51a879
Fix DMRAID partition handling.
2013-04-15 08:37:13 +02:00
Vladimir 'phcoder' Serbinenko
88017d47a9
* tests/grub_cmd_date.in: Skip on sparc64.
2013-04-15 01:54:23 +02:00
Vladimir 'phcoder' Serbinenko
fa7d914e6c
* tests/grub_script_expansion.in: Use fixed-string grep to skip over
...
firmware error messages.
2013-04-15 01:53:33 +02:00
Vladimir 'phcoder' Serbinenko
cbe57a487b
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_devalias_next): Make
...
source and destination differ.
2013-04-15 00:40:19 +02:00
Vladimir 'phcoder' Serbinenko
21aecce0f9
* grub-core/disk/ieee1275/ofdisk.c: Fix CD-ROM and boot device
...
detection.
2013-04-15 00:38:39 +02:00
Vladimir 'phcoder' Serbinenko
25092d2922
* grub-core/lib/posix_wrap/sys/types.h: Make WORDS_BIGENDIAN definition
...
match config-util.h to avoid warnings and increase compatibility.
2013-04-14 19:57:15 +02:00
Vladimir 'phcoder' Serbinenko
794515225f
Add option to compress files on install/image creation.
2013-04-14 19:24:05 +02:00
Vladimir 'phcoder' Serbinenko
78b7d77bcd
* docs/grub-dev.texi: Rearrange menu to match the section order.
...
Reported by: Bryan Hundven.
2013-04-14 19:07:55 +02:00
Vladimir 'phcoder' Serbinenko
cc2fa5ec1e
* grub-core/loader/i386/linux.c: Remove useless leftover pointer.
2013-04-14 19:01:23 +02:00
Vladimir 'phcoder' Serbinenko
b49fe8792a
Move GRUB out of system area when using xorriso 1.2.9 or later.
2013-04-14 18:53:14 +02:00
Vladimir 'phcoder' Serbinenko
5351da81e0
* tests/grub_cmd_date.in: Add missing exit 1.
2013-04-14 17:19:04 +02:00
Vladimir 'phcoder' Serbinenko
c9d586ea17
* tests/partmap_test.in: Skip on sparc64.
2013-04-14 17:16:32 +02:00
Vladimir 'phcoder' Serbinenko
3f72974141
Support grub-shell on sparc64.
2013-04-14 17:13:58 +02:00
Vladimir 'phcoder' Serbinenko
8ca86b3a03
Support mkrescue on sparc64.
2013-04-14 17:10:55 +02:00
Vladimir 'phcoder' Serbinenko
aa1af9bbda
Allow IEEE1275 ports on path even if it wasn't detected automatically.
...
Needed on OpenBIOS due to incomplete device tree.
2013-04-14 17:01:31 +02:00
Vladimir 'phcoder' Serbinenko
ac4fea7998
* grub-core/disk/ieee1275/ofdisk.c: Iterate over bootpath even if it
...
would be otherwise excluded.
2013-04-14 16:55:20 +02:00
Vladimir 'phcoder' Serbinenko
87206f2cf1
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options):
...
Inline name defines used only once.
2013-04-14 16:52:49 +02:00
Vladimir 'phcoder' Serbinenko
fe22b071dc
Fix memory leaks in ofnet.
...
Reported by: Francesco Lavra.
2013-04-13 20:12:11 +02:00
Vladimir 'phcoder' Serbinenko
9d21381bac
* docs/man/grub-glue-efi.h2m: Add missing file.
2013-04-13 02:26:34 +02:00
Vladimir 'phcoder' Serbinenko
07aec23c00
* util/grub-mkrescue.in: Fix wrong architecture for ppc dir.
2013-04-13 02:02:19 +02:00
Vladimir 'phcoder' Serbinenko
67ab83538f
Better support Apple Intel Macs on CD.
2013-04-13 00:38:04 +02:00
Vladimir 'phcoder' Serbinenko
ba44ca6d1a
Replace stpcpy with grub_stpcpy in tools.
2013-04-12 22:37:59 +02:00
Vladimir 'phcoder' Serbinenko
bbdd6305db
Handle Japanese special keys.
...
Reported by: Hiroyuki YAMAMORI.
Codes supplied by: Hiroyuki YAMAMORI.
2013-04-12 22:26:38 +02:00
Vladimir 'phcoder' Serbinenko
8573d302fc
* util/grub-mkimage.c: Document memdisk implying --prefix.
2013-04-12 21:08:53 +02:00
Vladimir 'phcoder' Serbinenko
d70dbab77a
* grub-core/bus/usb/ehci.c (grub_ehci_fini_hw): Ignore errors, not
...
much we can do about it anyway.
2013-04-12 20:51:11 +02:00
Aleš Nesrsta
51a4c3e3b0
Fix handling of split transfers.
2013-04-12 20:42:46 +02:00
Vladimir 'phcoder' Serbinenko
92c8f58d97
* grub-core/net/http.c: Fix bad free.
2013-04-12 20:17:53 +02:00
Vladimir 'phcoder' Serbinenko
b7d17a492f
* grub-core/net/drivers/ieee1275/ofnet.c: Don't attempt to send more
...
than buffer size.
2013-04-12 19:25:16 +02:00
Vladimir 'phcoder' Serbinenko
a3d566d442
Disable partmap check on i386-ieee1275 due to openfirmware issues.
2013-04-12 17:51:43 +02:00
Vladimir 'phcoder' Serbinenko
a936af564c
* tests/util/grub-shell.in: Fix it on powerpc.
2013-04-12 14:52:05 +02:00
Vladimir 'phcoder' Serbinenko
5121223465
Turn off QEMU ACPI-way since new releases don't have shutdown port
...
anymore.
2013-04-12 14:49:33 +02:00
Vladimir 'phcoder' Serbinenko
a21eec9ec5
* docs/grub.texi: Update coreboot status info.
2013-04-12 14:03:52 +02:00
Vladimir 'phcoder' Serbinenko
e3734b84cf
* tests/grub_cmd_date.in: New test for datetime.
2013-04-12 01:47:38 +02:00
Vladimir 'phcoder' Serbinenko
f9d4005539
* tests/partmap_test.in: Fix missing qemudisk setting.
2013-04-12 01:44:14 +02:00
Vladimir 'phcoder' Serbinenko
dbc56d8f0b
Support i386-ieee1275 grub-mkrescue and make check on it.
2013-04-12 01:29:45 +02:00
Vladimir 'phcoder' Serbinenko
a79b8a1584
Merge powerpc grub-mkrescue flavour with common. Use xorriso HFS+
...
feature for it.
2013-04-11 23:15:26 +02:00
Vladimir 'phcoder' Serbinenko
48f39bb4df
* docs/grub.texi: Fix description of GRUB_CMDLINE_XEN and
...
GRUB_CMDLINE_XEN_DEFAULT.
Reported by: Marc Warne (GigaTux) <gigatux>
2013-04-11 21:46:21 +02:00
Vladimir 'phcoder' Serbinenko
053cfcddf1
Import new gnulib.
2013-04-11 21:12:46 +02:00
Vladimir 'phcoder' Serbinenko
93cd84df63
Use ACPI shutdown intests as traditional port was removed.
2013-04-11 21:09:43 +02:00
Andrey Borzenkov
f4b1fa4f3c
* util/grub.d/30_os-prober.in: Add onstr to entries for visual
...
distinction.
2013-04-11 15:11:14 +02:00
Vladimir 'phcoder' Serbinenko
49818a594a
Fix missing PVs if they don't contain "interesting" LV. Closes #38677 .
...
Fix few warining messages and leaks while on it.
2013-04-11 00:08:27 +02:00
Andrey Borzenkov
9277a306a7
* autogen.sh: Use "-h", not "-f", to test for existence of symbolic
...
links under grub-core/lib/libgcrypt-grub/mpi.
2013-04-10 15:57:40 +02:00
Vladimir 'phcoder' Serbinenko
d5e2a158e1
Fix ia64-efi image generation on big-endian machines. Deduplicate
...
some code while on it.
Reported by: Leif Lindholm.
2013-04-09 19:19:19 +02:00
Andrey Borzenkov
18866643f7
* grub-core/Makefile.core.def: Add kern/elfXX.c to elf module
...
as extra_dist.
2013-04-08 19:57:56 +02:00
Andrey Borzenkov
ca53deb88f
* grub-core/term/i386/pc/console.c: Fix cursor moving algorithm.
2013-04-08 19:51:33 +02:00
Bryan Hundven
d4c4b8e1a0
* docs/grub-dev.texi: Move @itemize after @subsection to satisfy
...
texinfo-5.1.
2013-04-08 15:23:07 +02:00
Vladimir 'phcoder' Serbinenko
47043f959f
* grub-core/normal/term.c: Few more fixes for menu entry editor
...
rendering.
Reported by: Andrey Borzenkov <arvidjaar@gmail.com>
2013-04-08 14:35:26 +02:00
Vladimir 'phcoder' Serbinenko
a321606813
* grub-core/normal/term.c: Few more fixes for menu entry editor
...
rendering.
Reported by: Andrey Borzenkov <arvidjaar@gmail.com>
2013-04-07 17:48:22 +02:00
Andrey Borzenkov
21026747df
* conf/Makefile.extra-dist (EXTRA_DIST): Add
...
grub-core/lib/libgcrypt/src/gcrypt.h.in and util/import_gcrypth.sed.
2013-04-06 20:49:02 +02:00
Andrey Borzenkov
59624ca858
* util/grub-install_header: Use @PACKAGE@.mo in message catalog name
...
instead of hardcoding grub.mo.
2013-04-06 20:14:29 +02:00
Fedora Ninjas
1f44478c26
* util/grub.d/30_os-prober.in: Support btrrfs linux-prober extensions.
2013-04-05 14:55:37 +02:00
Vladimir 'phcoder' Serbinenko
eeada7b1da
Use GRUB_PROPERLY_ALIGNED_ARRAY in grub-core/disk/cryptodisk.c and
...
grub-core/disk/geli.c.
2013-04-05 13:26:10 +02:00
Vladimir 'phcoder' Serbinenko
132867de71
* util/grub-mkfont.c: Prefer enum to #define.
2013-04-05 11:13:37 +02:00
Vladimir 'phcoder' Serbinenko
de73de1748
* grub-core/commands/acpi.c: Use sizeof rather than hardcoding the size.
2013-04-05 11:01:19 +02:00
Vladimir 'phcoder' Serbinenko
1865baa72c
Replace 8 with GRUB_CHAR_BIT in several places when appropriate.
2013-04-05 10:59:26 +02:00
Vladimir 'phcoder' Serbinenko
ce7d92a9f2
Add new defines GRUB_RSDP_SIGNATURE_SIZE and GRUB_RSDP_SIGNATURE.
2013-04-05 10:56:43 +02:00
Vladimir 'phcoder' Serbinenko
52eab6562d
* grub-core/commands/verify.c: Use GRUB_CHAR_BIT.
2013-04-05 10:52:13 +02:00
Vladimir 'phcoder' Serbinenko
98b23b9519
* include/grub/bsdlabel.h: Use enums.
2013-04-05 10:33:53 +02:00
Vladimir 'phcoder' Serbinenko
0467a5ddf0
Move GRUB_CHAR_BIT to types.h.
2013-04-05 10:31:12 +02:00
Andrey Borzenkov
16cc9f03a0
* docs/grub.texi: Document more user commands.
2013-04-05 10:18:42 +02:00
Andrey Borzenkov
3152aecbc6
* docs/grub.texi: Document menuentry --id option.
2013-04-05 10:08:20 +02:00
Francesco Lavra
c506fc3056
* util/grub-mkimage.c: Introduce new define EFI32_HEADER_SIZE.
2013-04-04 20:07:44 +02:00
Vladimir 'phcoder' Serbinenko
aa42823871
Unify file copying setup across different install scripts. Add
...
options for performing partial install.
2013-04-04 19:59:59 +02:00
Peter Jones
efe0cddae8
* grub-core/disk/efi/efidisk.c: Handle partitions on non-512B disks.
...
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-04-04 10:35:50 +02:00
Vladimir 'phcoder' Serbinenko
f75835bdad
Use TSC as a possible time source on i386-ieee1275.
2013-04-04 09:55:44 +02:00
Vladimir 'phcoder' Serbinenko
2cd5ce6cdb
* grub-core/bus/usb/usbtrans.c (grub_usb_bulk_readwrite_packetize):
...
Init err.
2013-04-04 08:56:45 +02:00
Vladimir 'phcoder' Serbinenko
c962563095
* util/grub-setup.c (setup): Handle some corner cases.
2013-04-04 08:55:06 +02:00
Vladimir 'phcoder' Serbinenko
be00894104
* grub-core/lib/posix_wrap/locale.h [GRUB_UTIL]: Include host locale.h.
2013-04-04 08:54:02 +02:00
Vladimir 'phcoder' Serbinenko
1a78d573c7
* grub-core/commands/verify.c: Save verified file to avoid it being
...
tampered with after verification was done.
2013-04-03 17:32:33 +02:00
Vladimir 'phcoder' Serbinenko
db8ff59f61
* grub-core/term/i386/pc/console.c (grub_console_getwh): Decrease
...
reported width by one to compensate for curesor algorithm problem.
2013-04-03 15:21:51 +02:00
Vladimir 'phcoder' Serbinenko
91bf46b188
Fix screen corruption in menu entry editor and simplify the code
...
flow while on it.
2013-04-03 15:19:34 +02:00
Andrey Borzenkov
a7b1d6933b
* util/grub-mount.c (fuse_init): Return error if fuse_main
...
failed.
2013-04-03 11:28:16 +02:00
Francesco Lavra
31df9ad845
* include/grub/elf.h: Add missing ARM relocation codes and fix
...
existing ones.
2013-04-03 11:23:22 +02:00
Vladimir Testov
07f392ebef
* grub-core/gfxmenu/gui_progress_bar.c: Handle padding sizes.
2013-04-03 09:34:08 +02:00
Vladimir Testov
c3578acfbb
* grub-core/gfxmenu/gui_circular_progress.c: Take both width and height
...
into account when calculating radius.
2013-04-03 09:20:29 +02:00
Vladimir Testov
9efd73ec66
* grub-core/gfxmenu/view.c: Fix off-by-one error.
2013-04-03 08:53:58 +02:00
Vladimir Testov
4985ddaa7a
* grub-core/gfxmenu/gui_circular_progress.c: Fix off-by-one error.
2013-04-03 08:51:13 +02:00
Radosław Szymczyszyn
8c3635ff24
* grub-core/partmap/apple.c (apple_partition_map_iterate): Add
...
missing closing bracket.
2013-04-01 02:58:47 +02:00
Radosław Szymczyszyn
74a35e6985
* INSTALL: Mention xorriso requirement.
2013-04-01 02:55:10 +02:00
Andrey Borzenkov
40f1c0007c
* grub-core/commands/verify.c: Fix hash algorithms values for
...
the first three hashes - they start with 1, not with 0.
2013-04-01 01:43:04 +02:00
Vladimir 'phcoder' Serbinenko
e75fdee420
* grub-core/kern/efi/mm.c (grub_efi_finish_boot_services):
...
Try terminating EFI services several times due to quirks in some
implementations.
2013-03-26 11:34:56 +01:00
Colin Watson
33028f4c0b
* grub-core/commands/acpihalt.c (skip_ext_op): Add support for
...
skipping Event, Device, Processor, PowerRes, ThermalZone, and
BankField extended opcodes.
(get_sleep_type): Add minimal scope handling (just enough to
handle setting the scope to the root path).
(grub_acpi_halt): Parse any SSDTs as well as the DSDT.
* include/grub/acpi.h: Add enumeration values for Event, Device,
Processor, PowerRes, ThermalZone, and BankField extended opcodes.
2013-03-26 11:29:52 +01:00
Vladimir Testov
33871a10a8
* grub-core/gfxmenu/font.c (grub_font_get_string_width): Fix
...
memory leak.
2013-03-26 08:26:01 +01:00
Vladimir 'phcoder' Serbinenko
8990963a7f
* grub-core/disk/ahci.c: Give more time for AHCI request.
2013-03-25 10:32:56 +01:00
Vladimir 'phcoder' Serbinenko
daae8f9e6d
* grub-core/normal/menu.c: Wait if there were errors shown at "boot"
...
command.
2013-03-25 10:32:06 +01:00
Vladimir 'phcoder' Serbinenko
6a7fb94bfb
Replace the region at 0 from coreboot tables to available in BSD
...
memory map.
2013-03-25 10:23:04 +01:00
Vladimir 'phcoder' Serbinenko
ff99babdfe
* util/grub.d/20_linux_xen.in: Automatically add no-real-mode edd=off on
...
non-BIOS platforms.
2013-03-24 14:03:33 +01:00
Vladimir 'phcoder' Serbinenko
30d6b1b290
* grub-core/Makefile.core.def (vga): Disable on coreboot and multiboot
...
platforms.
2013-03-24 14:01:51 +01:00
Vladimir 'phcoder' Serbinenko
6ccd0b31c1
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
...
handling of multi-device filesystems.
2013-03-24 13:11:19 +01:00
Vladimir 'phcoder' Serbinenko
23c9cc0490
* grub-core/Makefile.core.def (vbe): Disable on coreboot and multiboot
...
platforms.
2013-03-24 13:07:51 +01:00
Vladimir 'phcoder' Serbinenko
ce50dbd746
Add new 'proc' filesystem framework and put luks_script into it.
2013-03-24 13:05:59 +01:00
Vladimir 'phcoder' Serbinenko
d975e8d59c
* grub-core/term/at_keyboard.c: Increase robustness on coreboot
...
and qemu.
2013-03-23 16:54:36 +01:00
Vladimir 'phcoder' Serbinenko
e73ba5e8ca
* grub-core/fs/zfs/zfs.c: Fix incorrect handling of special volumes.
2013-03-22 22:18:38 +01:00
Vladimir 'phcoder' Serbinenko
92750e4c60
Add ability to generate newc additions on runtime.
2013-03-22 21:01:28 +01:00
Vladimir 'phcoder' Serbinenko
0ec45a682c
* grub-core/commands/i386/coreboot/cbls.c: Fix typos and wrong
...
description.
2013-03-22 14:06:48 +01:00
Vladimir 'phcoder' Serbinenko
320abd4348
* po/POTFILES.in: Regenerate.
2013-03-21 21:54:31 +01:00
Vladimir 'phcoder' Serbinenko
d7a6506e30
* grub-core/commands/verify.c (hashes): Add several hashes
...
from the spec.
2013-03-20 17:24:39 +01:00
Vladimir 'phcoder' Serbinenko
8fe05def12
Slight improve in USB-related boot-time checkpoints.
2013-03-20 17:21:13 +01:00
Vladimir 'phcoder' Serbinenko
524e2766d8
* grub-core/commands/boottime.c: Fix copyright header.
2013-03-20 17:16:35 +01:00
Vladimir 'phcoder' Serbinenko
cc19857a2a
New commands cbmemc, lscoreboot, coreboot_boottime to inspect
...
coreboot tables content. Support for cbmemc.
2013-03-20 17:13:31 +01:00
Vladimir 'phcoder' Serbinenko
ef8810e9f3
Fix a conflict between ports structures with 2 controllers of
...
same kind.
2013-03-20 17:07:08 +01:00
Vladimir 'phcoder' Serbinenko
e9dabdfad8
* include/grub/boottime.h: Add missing file.
2013-03-20 16:58:07 +01:00
Vladimir 'phcoder' Serbinenko
f6df57d216
Initialize USB ports in parallel to speed-up boot.
2013-03-19 23:06:44 +01:00
Vladimir 'phcoder' Serbinenko
d745dda77e
Fix USB devices not being detected when requested
...
due to delayed attach.
2013-03-19 20:35:21 +01:00
Vladimir 'phcoder' Serbinenko
e744219bb6
Implement boot time analysis framework.
2013-03-19 20:25:09 +01:00
Vladimir 'phcoder' Serbinenko
e5a2dd7b55
remove get_endpoint_descriptor and change all functions needing
...
descriptor to just receive it as argument rather than endpoint
address.
2013-03-19 11:19:36 +01:00
Vladimir 'phcoder' Serbinenko
5dd6f58789
Better estimate the maximum USB transfer size.
2013-03-19 08:17:51 +01:00
Vladimir 'phcoder' Serbinenko
2f1071d57e
Resend a packet if we got the wrong buffer in status.
2013-03-17 13:33:16 +01:00
Vladimir 'phcoder' Serbinenko
46ecfc49b6
* grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Use
...
multiplication rather than division.
2013-03-10 20:37:41 +01:00
Vladimir 'phcoder' Serbinenko
ea811130ea
* grub-core/lib/arg.c (grub_arg_list_alloc): Use shifts rather
...
than divisions.
2013-03-10 20:08:15 +01:00
Vladimir 'phcoder' Serbinenko
d2789cf0b8
* grub-core/commands/verify.c (grub_verify_signature): Use unsigned
...
operations to have intended shifts and not divisions.
2013-03-10 19:39:14 +01:00
Vladimir 'phcoder' Serbinenko
a9c94590dd
* grub-core/loader/i386/pc/plan9.c (fill_disk): Fix types to use
...
intended shifts rather than division.
2013-03-10 19:27:50 +01:00
Vladimir 'phcoder' Serbinenko
84cfe81b1d
* include/grub/datetime.h (grub_datetime2unixtime): Fix unixtime
...
computation for some years before epoch. Avode confusing division
while on it.
2013-03-10 19:19:21 +01:00
Vladimir 'phcoder' Serbinenko
21344ef620
* grub-core/video/i386/pc/vbe.c
...
(grub_video_vbe_print_adapter_specific_info): Replace division by
shifts.
2013-03-10 18:49:05 +01:00
Vladimir 'phcoder' Serbinenko
3f2b4d1a81
Adjust types in gdb module to have intended unsigned shifts rather than
...
signed divisions.
2013-03-10 18:36:39 +01:00
Vladimir 'phcoder' Serbinenko
3dac5878ec
* grub-core/fs/hfs.c (grub_hfs_read_file): Avoid divmod64 since the
...
maximum size is 4G - 1 on hfs
2013-03-10 18:27:53 +01:00
Vladimir 'phcoder' Serbinenko
5341c0fbfc
Avoid costly 64-bit division in grub_get_time_ms on most platforms.
2013-03-10 17:45:38 +01:00
Vladimir 'phcoder' Serbinenko
fc3ff2a2ad
* grub-core/fs/fshelp.c (grub_fshelp_log2blksize): Remove now unused
...
function.
2013-03-10 14:27:04 +01:00
Andrey Borzenkov
81455e8e7a
* grub-core/fs/iso9660.c (add_part): Remove always_inline attribute
...
causing gcc error with gcc 4.7.1.
2013-03-07 09:11:36 +01:00
Nickolai Zeldovich
efd4f11754
* grub-core/commands/acpi.c (grub_acpi_create_ebda): Don't
...
dereference null pointer. While the code is technically correct, gcc
may eliminate a null check if pointer is already dereferenced.
2013-03-07 08:52:29 +01:00
Nickolai Zeldovich
e11645f434
* grub-core/normal/crypto.c (read_crypto_list): Fix incorrect
...
OOM check.
* grub-core/normal/term.c (read_terminal_list): Likewise.
2013-03-07 08:41:27 +01:00
Vladimir 'phcoder' Serbinenko
774683685f
Lift up core size limits on some platforms. Fix potential memory
...
corruption with big core on small memory systems. Document remaining
limits.
2013-03-07 08:17:24 +01:00
Vladimir 'phcoder' Serbinenko
f6b58fe538
* grub-core/term/terminfo.c (grub_terminfo_cls): Issue an explicit
...
gotoxy to 0,0.
2013-03-05 20:00:51 +01:00
Vladimir 'phcoder' Serbinenko
19ce697dfd
Remove all trampoline support. Add -Wtrampolines when
...
present. Remove symbols used for trampolines to make
link fail if trampolines are present.
2013-03-03 15:57:30 +01:00
Vladimir 'phcoder' Serbinenko
73b5d90fe2
* grub-core/script/execute.c (grub_script_arglist_to_argv): Move
...
append out of its parent.
2013-03-03 15:26:29 +01:00
Vladimir 'phcoder' Serbinenko
cb758e96cc
* grub-core/commands/regexp.c (set_matches): Move setvar out of its
...
parent.
2013-03-03 15:24:02 +01:00
Vladimir 'phcoder' Serbinenko
3188131f72
* grub-core/kern/env.c, include/grub/env.h: Change iterator through
...
all vars to a macro. All users updated.
2013-03-03 01:34:27 +01:00
Vladimir 'phcoder' Serbinenko
e42b251403
* grub-core/disk/ieee1275/nand.c: Fix compilation on
...
i386-ieee1275.
2013-03-03 01:30:55 +01:00
Vladimir 'phcoder' Serbinenko
83e1a1a137
* include/grub/cmos.h: Handle high CMOS addresses on sparc64.
2013-03-02 23:59:05 +01:00
Vladimir 'phcoder' Serbinenko
1d5a880fe4
* include/grub/mips/loongson/cmos.h: Fix high CMOS addresses.
2013-03-02 23:57:34 +01:00
Vladimir 'phcoder' Serbinenko
6e4146c41e
Move to more hookless approach in IEEE1275 devices handling.
2013-03-02 23:51:19 +01:00
Vladimir 'phcoder' Serbinenko
99fcda8a7b
* grub-core/kern/term.c (grub_term_normal_color),
...
(grub_term_highlight_color): Add back lost defaults.
2013-03-02 23:23:51 +01:00
Vladimir 'phcoder' Serbinenko
73bf57e2c8
Make elfload not use hooks. Opt for flags and iterators instead.
2013-03-02 16:45:57 +01:00
Vladimir 'phcoder' Serbinenko
7f8c105f61
* grub-core/lib/ia64/longjmp.S: Fix the name of longjmp function.
...
* grub-core/lib/ia64/setjmp.S: Fix the name of setjmp function.
2013-03-02 15:31:17 +01:00
Vladimir 'phcoder' Serbinenko
396d4091e7
* grub-core/script/execute.c (gettext_append): Remove nested functions.
2013-03-02 12:17:52 +01:00
Vladimir 'phcoder' Serbinenko
74a2742144
* grub-core/commands/loadenv.c (grub_cmd_list_env): Move print_var
...
out of its parent.
2013-03-02 11:45:01 +01:00
Vladimir 'phcoder' Serbinenko
b46d4213d5
* grub-core/fs/hfs.c: Remove nested functions.
2013-03-02 11:31:00 +01:00
Vladimir 'phcoder' Serbinenko
e114c3cc54
* grub-core/fs/hfsplus.c (grub_hfsplus_btree_iterate_node): Pass
...
the context through.
(grub_hfsplus_iterate_dir): Move nested function out of its parent.
2013-03-01 14:02:27 +01:00
Vladimir 'phcoder' Serbinenko
f9b7d78007
* util/grub-editenv.c (list_variables): Move print_var out of its
...
parent.
2013-03-01 13:52:05 +01:00
Vladimir 'phcoder' Serbinenko
ca9c260868
* grub-core/kern/emu/hostdisk.c (read_device_map): Remove nested
...
function.
2013-03-01 13:46:24 +01:00
Vladimir 'phcoder' Serbinenko
5d983f5fc2
* grub-core/gentrigtables.c: Make tables const.
2013-03-01 11:15:09 +01:00
Vladimir 'phcoder' Serbinenko
3056d3e752
Remove nested functions from videoinfo iterators.
2013-03-01 11:11:36 +01:00
Vladimir 'phcoder' Serbinenko
e230377407
* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Fix compilation
...
for 64-bit platforms.
2013-03-01 10:39:41 +01:00
Vladimir 'phcoder' Serbinenko
f42e3a2f67
* grub-core/disk/efi/efidisk.c: Transform iterate_child_devices into
...
a FOR_CHILDREN macro.
2013-03-01 10:37:11 +01:00
Vladimir 'phcoder' Serbinenko
be174e5ef3
* grub-core/kern/main.c (grub_set_prefix_and_root): Strip trailing
...
platform from firmware path.
2013-03-01 10:35:51 +01:00
Vladimir 'phcoder' Serbinenko
0789b67232
Enable linux16 on non-BIOS systems for i.a. memtest.
...
* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Handle hole at 0
correctly.
* grub-core/Makefile.core.def (linux16): Enable on all x86 flavours.
2013-02-28 22:48:41 +01:00
Vladimir 'phcoder' Serbinenko
005a9c32df
* grub-core/kern/i386/coreboot/mmap.c (grub_linuxbios_table_iterate):
...
Fix end of table condition.
2013-02-28 13:16:39 +01:00
Vladimir 'phcoder' Serbinenko
ff2b3cd928
* grub-core/lib/arg.c (grub_arg_show_help): Move showargs
...
out of its parent.
2013-02-28 11:00:59 +01:00
Vladimir 'phcoder' Serbinenko
4fc40ff8f3
* grub-core/fs/jfs.c: Remove nested functions.
2013-02-28 10:51:32 +01:00
Vladimir 'phcoder' Serbinenko
be42d97a79
* grub-core/fs/minix.c: Remove nested functions.
2013-02-28 10:50:01 +01:00
Vladimir 'phcoder' Serbinenko
99373ce472
* grub-core/fs/iso9660.c: Remove nested functions.
2013-02-28 10:30:35 +01:00
Vladimir 'phcoder' Serbinenko
5aec2afe2f
* grub-core/commands/parttool.c (grub_cmd_parttool): Move show_help out
...
of parent function.
2013-02-28 09:43:25 +01:00
Vladimir 'phcoder' Serbinenko
6c69e691ca
* util/grub-fstest.c: Remove nested functions.
2013-02-28 09:36:55 +01:00
Vladimir 'phcoder' Serbinenko
43c918828d
* grub-core/loader/machoXX.c: Remove nested functions.
2013-02-27 20:56:23 +01:00
Colin Watson
4eb8b75659
Remove nested functions from disk and file read hooks.
...
* include/grub/disk.h (grub_disk_read_hook_t): New type.
(struct grub_disk): Add read_hook_data member.
* include/grub/file.h (struct grub_file): Likewise.
* include/grub/fshelp.h (grub_fshelp_read_file): Add read_hook_data
argument.
Update all callers.
2013-02-27 17:19:15 +01:00
Andrey Borzenkov
df6da5a52d
* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
...
Fix off by one error in enumerating extended partitions.
2013-02-27 10:02:39 +01:00
Andrey Borzenkov
21aecde5f6
* grub-core/disk/efi/efidisk.c(grub_efidisk_get_device_name): Fix
...
memory leak if device name is not found.
2013-02-26 22:45:00 +01:00
Andrey Borzenkov
f1a19118e5
* grub-core/normal/menu_entry.c (update_screen): remove
...
unused variable `off' which caused scroll down arrow to be always shown.
2013-02-25 22:53:40 +01:00
Andrey Borzenkov
958bfd2067
* grub-core/normal/menu_entry.c (insert_string): fix off by one
...
access to unallocated memory.
2013-02-25 22:42:25 +01:00
Andrey Borzenkov
b7b78edb1c
* Makefile.util.def: Add partmap/msdos.c to common library.
...
* include/grub/msdos_partition.h: Add GRUB_PC_PARTITION_TYPE_LDM
* grub-core/disk/ldm.c: Check for existence of
GRUB_PC_PARTITION_TYPE_LDM.
2013-02-25 22:11:06 +01:00
Vladimir 'phcoder' Serbinenko
28d468d6f2
* grub-core/normal/misc.c (grub_normal_print_device_info): Use KiB to display
...
sizes and display sector size.
2013-02-25 10:45:19 +01:00
Vladimir 'phcoder' Serbinenko
d55ffb0249
Implement new command cmosdump.
2013-02-24 19:44:17 +01:00
Vladimir 'phcoder' Serbinenko
b5ea6ce03a
Support Openfirmware disks with non-512B sectors.
...
* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_open): Get the block
size of the disk.
* (grub_ofdisk_get_block_size): New function.
* (grub_ofdisk_prepare): Use the correct block size.
* (grub_ofdisk_read): Likewise.
* (grub_ofdisk_write): Likewise.
* include/grub/ieee1275/ofdisk.h (grub_ofdisk_get_block_size):
New proto.
2013-02-19 09:10:26 +01:00
Vladimir 'phcoder' Serbinenko
cc0e476fe8
* grub-core/commands/lsacpi.c: Fix types on 64-bit platform.
2013-02-06 17:37:29 +01:00
Vladimir 'phcoder' Serbinenko
c5dbdc3357
* grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop
...
on first error.
2013-02-04 15:36:03 +01:00
Vladimir 'phcoder' Serbinenko
3f078c0fca
* grub-core/fs/fshelp.c (find_file): Set oldnode to zero after
...
freeing it.
2013-02-01 21:51:09 +01:00
Vladimir 'phcoder' Serbinenko
66a93674b2
Implement USBDebug (full USB stack variant).
2013-02-01 21:49:29 +01:00
Vladimir 'phcoder' Serbinenko
c9f0c1346e
* grub-core/commands/lsacpi.c: Show more info. Hide some boring parts
...
unless they have unexpected values.
2013-02-01 21:45:39 +01:00
Vladimir 'phcoder' Serbinenko
cfe1288b8d
* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
...
grub_print_error.
2013-02-01 21:43:49 +01:00
Vladimir 'phcoder' Serbinenko
e42b99698c
* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
...
zero-out of port structure.
2013-02-01 21:32:17 +01:00
Vladimir 'phcoder' Serbinenko
cf94fd6209
* grub-core/fs/xfs.c (grub_xfs_read_block): Fix computation in presence
...
of extended attributes.
2013-01-30 09:22:43 +01:00
Andrey Borzenkov
f81ef4b580
* util/grub-install.in: change misleading comment about
...
device.map creation
2013-01-27 16:17:21 +01:00
Vladimir 'phcoder' Serbinenko
af18fdb4df
* grub-core/normal/menu_text.c (grub_menu_init_page): Fix behaviour
...
when menu highlight color isn't set.
2013-01-27 16:12:05 +01:00
C. Masloch
08bcec5020
Improve FreeDOS direct loading support compatibility.
...
* include/grub/i386/relocator.h (grub_relocator16_state):
New member ebp.
* grub-core/lib/i386/relocator.c (grub_relocator16_ebp): New extern
variable.
(grub_relocator16_boot): Handle %ebp.
* grub-core/lib/i386/relocator16.S: Likewise.
* grub-core/loader/i386/pc/freedos.c:
Load BPB to pass kernel which partition to load from.
Check that kernel file is not too large.
Set register dl to BIOS unit number as well.
2013-01-27 16:07:25 +01:00
Colin Watson
7782b8a62f
* util/grub-reboot.in (usage): Document the need for
...
GRUB_DEFAULT=saved.
* util/grub-set-default.in (usage): Likewise.
Reported by: Brian Candler. Fixes Ubuntu bug #1102925 .
2013-01-22 14:28:32 +00:00
Vladimir 'phcoder' Serbinenko
e661c180ea
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Include sys/types.h rather
...
than defining WORDS_BIGENDIAN manually.
2013-01-22 07:46:29 +01:00
Vladimir 'phcoder' Serbinenko
1c22ca9a69
* include/grub/kernel.h (FOR_MODULES): Adjust to preserve alignment
...
invariants.
2013-01-21 22:44:20 +01:00
Colin Watson
d44892fed9
* grub-core/font/font.c (blit_comb: do_blit): Make static instead of
...
nested.
(blit_comb: add_device_width): Likewise.
2013-01-21 21:03:26 +00:00
Colin Watson
5fdbaed168
Remove nested functions from USB iterators.
...
* include/grub/usb.h (grub_usb_iterate_hook_t): New type.
(grub_usb_controller_iterate_hook_t): Likewise.
(grub_usb_iterate): Add hook_data argument.
(grub_usb_controller_iterate): Likewise.
(struct grub_usb_controller_dev.iterate): Likewise.
Update all implementations and callers.
2013-01-21 21:02:24 +00:00
Vladimir 'phcoder' Serbinenko
4250985ae8
* grub-core/normal/term.c (print_ucs4_terminal): Don't output right
...
margin when not needed.
2013-01-21 20:33:38 +01:00
Vladimir 'phcoder' Serbinenko
bc1369732f
Make color variables global instead of it being per-terminal.
2013-01-21 17:53:41 +01:00
Vladimir 'phcoder' Serbinenko
7d8848f363
* grub-core/commands/ls.c (grub_ls_print_devices): Add missing
...
asterisk.
2013-01-21 17:46:24 +01:00
Colin Watson
ed12a00309
Fix powerpc and sparc64 build failures caused by un-nesting memory
...
map iterators.
2013-01-21 14:41:06 +00:00
Colin Watson
6a0db4492c
* grub-core/disk/arc/arcdisk.c (grub_arcdisk_iterate): Fix
...
parameter declarations.
2013-01-21 13:59:28 +00:00
Vladimir 'phcoder' Serbinenko
ccd86b215f
* grub-core/commands/lsmmap.c: Fix unused variable on emu.
2013-01-21 14:57:35 +01:00
Vladimir 'phcoder' Serbinenko
822b726b33
Improve spkmomdem reliability by adding a separator between bytes.
2013-01-21 14:55:30 +01:00
Colin Watson
115c2cc180
* grub-core/partmap/msdos.c (embed_signatures): Add the signature of
...
an Acer registration utility with several sightings in the wild.
Reported by: Rickard Westman. Fixes Ubuntu bug #987022 .
2013-01-21 11:10:25 +00:00
Colin Watson
fc524edf65
Remove nested functions from filesystem directory iterators.
...
* include/grub/fs.h (grub_fs_dir_hook_t): New type.
(struct grub_fs.dir): Add hook_data argument.
Update all implementations and callers.
2013-01-21 01:33:46 +00:00
Colin Watson
53d3e4e3df
* docs/grub.texi (Multi-boot manual config): Fix typo for
...
"recommended".
2013-01-21 00:05:41 +00:00
Leif Lindholm
c821711f69
* util/grub-mkimage.c (main): Postpone freeing arguments.output
...
until after its use in generate_image.
2013-01-20 23:16:34 +00:00
Colin Watson
6a0debbd91
* grub-core/loader/i386/linux.c (grub_cmd_initrd): Don't add the
...
initrd size to addr_min, since the initrd will be allocated after
this address.
2013-01-20 23:03:35 +00:00
Andrey Borzenkov
f41e08dbcd
* conf/Makefile.common: Fix autogen rules to pass definition
...
files on stdin; Makefile.util.am needs Makefile.utilgcry.def
2013-01-20 23:44:42 +01:00
Leif Lindholm
77529e0fe2
* include/grub/elf.h: Update ARM definitions based on binutils.
2013-01-20 23:01:47 +01:00
Vladimir 'phcoder' Serbinenko
b879aa7b47
Split long USB transfers into short ones.
2013-01-20 22:45:53 +01:00
Andrey Borzenkov
8eb8284d2d
* docs/grub.texi (Simple configuration): Clarify GRUB_HIDDEN_TIMEOUT
...
is interrupted by ESC.
2013-01-20 22:42:08 +01:00
Vladimir 'phcoder' Serbinenko
08dad2dcf9
* util/grub-script-check.c (main): Uniform the error message.
2013-01-20 22:05:55 +01:00
Colin Watson
6c724b85b4
Remove nested functions from ELF iterators.
2013-01-20 15:54:09 +00:00
Colin Watson
25239370fd
Remove nested functions from device iterators.
...
* include/grub/arc/arc.h (grub_arc_iterate_devs_hook_t): New type.
(grub_arc_iterate_devs): Add hook_data argument.
* include/grub/ata.h (grub_ata_dev_iterate_hook_t): New type.
(struct grub_ata_dev.iterate): Add hook_data argument.
* include/grub/device.h (grub_device_iterate_hook_t): New type.
(grub_device_iterate): Add hook_data argument.
* include/grub/disk.h (grub_disk_dev_iterate_hook_t): New type.
(struct grub_disk_dev.iterate): Add hook_data argument.
(grub_disk_dev_iterate): Likewise.
* include/grub/gpt_partition.h (grub_gpt_partition_map_iterate):
Likewise.
* include/grub/msdos_partition.h (grub_partition_msdos_iterate):
Likewise.
* include/grub/partition.h (grub_partition_iterate_hook_t): New
type.
(struct grub_partition_map.iterate): Add hook_data argument.
(grub_partition_iterate): Likewise.
* include/grub/scsi.h (grub_scsi_dev_iterate_hook_t): New type.
(struct grub_scsi_dev.iterate): Add hook_data argument.
Update all callers.
2013-01-20 15:52:15 +00:00
Colin Watson
6c0314d638
Fix typos for "developer" and "development".
2013-01-20 13:24:47 +00:00
Vladimir 'phcoder' Serbinenko
600dc5f153
Add license header to spkmodem-recv.c.
2013-01-18 11:54:28 +01:00
Vladimir 'phcoder' Serbinenko
17334a6b6a
Rewrite spkmodem to use PIT for timing. Double the speed.
2013-01-17 20:06:52 +01:00
Vladimir 'phcoder' Serbinenko
7d462559da
Add new command pcidump.
2013-01-16 20:44:11 +01:00
Vladimir 'phcoder' Serbinenko
b78d6c32e3
New terminal outputs using serial: morse and spkmodem.
2013-01-16 20:39:54 +01:00
Vladimir 'phcoder' Serbinenko
34f71cb866
Improve bidi handling in entry editor.
2013-01-16 13:41:16 +01:00
Vladimir 'phcoder' Serbinenko
4542e71b8b
* grub-core/script/lexer.c (grub_script_lexer_init): Rename getline
...
argument to prevent name collision.
2013-01-16 09:06:11 +01:00
Colin Watson
09fd6d8293
Remove nested functions from script reading and parsing.
...
* grub-core/kern/parser.c (grub_parser_split_cmdline): Add
getline_data argument, passed to getline.
* grub-core/kern/rescue_parser.c (grub_rescue_parse_line): Add
getline_data argument, passed to grub_parser_split_cmdline.
* grub-core/script/lexer.c (grub_script_lexer_yywrap): Pass
lexerstate->getline_data to lexerstate->getline.
(grub_script_lexer_init): Add getline_data argument, saved in
lexerstate->getline_data.
* grub-core/script/main.c (grub_normal_parse_line): Add getline_data
argument, passed to grub_script_parse.
* grub-core/script/script.c (grub_script_parse): Add getline_data
argument, passed to grub_script_lexer_init.
* include/grub/parser.h (grub_parser_split_cmdline): Update
prototype. Update all callers to pass appropriate getline data.
(struct grub_parser.parse_line): Likewise.
(grub_rescue_parse_line): Likewise.
* include/grub/reader.h (grub_reader_getline_t): Add void *
argument.
* include/grub/script_sh.h (struct grub_lexer_param): Add
getline_data member.
(grub_script_parse): Update prototype. Update all callers to pass
appropriate getline data.
(grub_script_lexer_init): Likewise.
(grub_normal_parse_line): Likewise.
* grub-core/commands/legacycfg.c (legacy_file_getline): Add unused
data argument.
* grub-core/kern/parser.c (grub_parser_execute: getline): Make
static instead of nested. Rename to ...
(grub_parser_execute_getline): ... this.
* grub-core/kern/rescue_reader.c (grub_rescue_read_line): Add unused
data argument.
* grub-core/normal/main.c (read_config_file: getline): Make static
instead of nested. Rename to ...
(read_config_file_getline): ... this.
(grub_normal_read_line): Add unused data argument.
* grub-core/script/execute.c (grub_script_execute_sourcecode:
getline): Make static instead of nested. Rename to ...
(grub_script_execute_sourcecode_getline): ... this.
* util/grub-script-check.c (main: get_config_line): Make static
instead of nested.
2013-01-15 12:03:25 +00:00
Colin Watson
d0d4b8a063
Remove nested functions from memory map iterators.
...
* grub-core/efiemu/mm.c (grub_efiemu_mmap_iterate): Add hook_data
argument, passed to hook.
* grub-core/kern/i386/coreboot/mmap.c
(grub_linuxbios_table_iterate): Likewise.
(grub_machine_mmap_iterate: iterate_linuxbios_table): Make static
instead of nested.
(grub_machine_mmap_iterate): Add hook_data argument.
* grub-core/kern/i386/multiboot_mmap.c (grub_machine_mmap_iterate):
Add hook_data argument, passed to hook.
* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/i386/qemu/mmap.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/ieee1275/mmap.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/mips/arc/init.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/mips/loongson/init.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/mips/qemu_mips/init.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/mmap/efi/mmap.c (grub_efi_mmap_iterate): Likewise.
(grub_machine_mmap_iterate): Likewise.
* grub-core/mmap/mmap.c (grub_mmap_iterate): Likewise.
* include/grub/efiemu/efiemu.h (grub_efiemu_mmap_iterate): Update
prototype.
* include/grub/memory.h (grub_memory_hook_t): Add data argument.
Remove NESTED_FUNC_ATTR from here and from all users.
(grub_mmap_iterate): Update prototype.
(grub_efi_mmap_iterate): Update prototype. Update all callers to
pass appropriate hook data.
(grub_machine_mmap_iterate): Likewise.
* grub-core/commands/acpi.c (grub_acpi_create_ebda: find_hook): Make
static instead of nested.
* grub-core/commands/lsmmap.c (grub_cmd_lsmmap: hook): Likewise.
Rename to ...
(lsmmap_hook): ... this.
* grub-core/efiemu/mm.c (grub_efiemu_mmap_init: bounds_hook):
Likewise.
(grub_efiemu_mmap_fill: fill_hook): Likewise.
* grub-core/kern/i386/coreboot/init.c (grub_machine_init:
heap_init): Likewise.
* grub-core/kern/i386/pc/init.c (grub_machine_init: hook): Likewise.
Rename to ...
(mmap_iterate_hook): ... this.
* grub-core/kern/ieee1275/init.c (grub_claim_heap: heap_init):
Likewise.
* grub-core/lib/ieee1275/relocator.c
(grub_relocator_firmware_get_max_events: count): Likewise.
(grub_relocator_firmware_fill_events: fill): Likewise. Rename
to ...
(grub_relocator_firmware_fill_events_iter): ... this.
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align:
hook): Likewise. Rename to ...
(grub_relocator_alloc_chunk_align_iter): ... this.
* grub-core/loader/i386/bsd.c (generate_e820_mmap: hook): Likewise.
Rename to ...
(generate_e820_mmap_iter): ... this.
* grub-core/loader/i386/linux.c (find_mmap_size: hook): Likewise.
Rename to ...
(count_hook): ... this.
(grub_linux_boot: hook): Likewise. Rename to ...
(grub_linux_boot_mmap_find): ... this.
(grub_linux_boot: hook_fill): Likewise. Rename to ...
(grub_linux_boot_mmap_fill): ... this.
* grub-core/loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap:
hook): Likewise. Rename to ...
(grub_fill_multiboot_mmap_iter): ... this.
* grub-core/loader/multiboot.c (grub_get_multiboot_mmap_count:
hook): Likewise. Rename to ...
(count_hook): ... this.
* grub-core/loader/multiboot_mbi2.c (grub_fill_multiboot_mmap:
hook): Likewise. Rename to ...
(grub_fill_multiboot_mmap_iter): ... this.
* grub-core/loader/powerpc/ieee1275/linux.c
(grub_linux_claimmap_iterate: alloc_mem): Likewise.
* grub-core/loader/sparc64/ieee1275/linux.c (alloc_phys: choose):
Likewise. Rename to ...
(alloc_phys_choose): ... this.
(determine_phys_base: get_physbase): Likewise.
* grub-core/mmap/i386/mmap.c (grub_mmap_malign_and_register:
find_hook): Likewise.
* grub-core/mmap/i386/pc/mmap.c (preboot: fill_hook): Likewise.
(malloc_hook: count_hook): Likewise.
* grub-core/mmap/i386/uppermem.c (grub_mmap_get_lower: hook):
Likewise. Rename to ...
(lower_hook): ... this.
(grub_mmap_get_upper: hook): Likewise. Rename to ...
(upper_hook): ... this.
(grub_mmap_get_post64: hook): Likewise. Rename to ...
(post64_hook): ... this.
* grub-core/mmap/mips/uppermem.c (grub_mmap_get_lower: hook):
Likewise. Rename to ...
(lower_hook): ... this.
(grub_mmap_get_upper: hook): Likewise. Rename to ...
(upper_hook): ... this.
* grub-core/mmap/mmap.c (grub_mmap_iterate: count_hook): Likewise.
(grub_mmap_iterate: fill_hook): Likewise.
(fill_mask): Pass addr and mask within a single struct.
(grub_cmd_badram: hook): Make static instead of nested. Rename
to ...
(badram_iter): ... this.
(grub_cmd_cutmem: hook): Likewise. Rename to ...
(cutmem_iter): ... this.
2013-01-15 12:02:35 +00:00
Vladimir 'phcoder' Serbinenko
22099030ad
* grub-core/kern/emu/hostdisk.c (read_device_map): Explicitly
...
delimit path in strings using quotes.
* util/getroot.c (grub_guess_root_devices): Likewise.
(grub_make_system_path_relative_to_its_root): Likewise.
* util/grub-probe.c (probe): Likewise.
* util/ieee1275/ofpath.c (find_obppath): Likewise.
(xrealpath): Likewise.
2013-01-13 22:45:16 +01:00
Vladimir 'phcoder' Serbinenko
4a9950ecb0
Fix compilation with older compilers.
...
* grub-core/Makefile.core.def (mpi): Add mpi-inline.c.
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Remove redundant
declarations.
* grub-core/lib/posix_wrap/string.h: Include sys/types.h.
* grub-core/lib/posix_wrap/sys/types.h: Add common types.
* grub-core/lib/xzembed/xz_dec_lzma2.c (dict_put): Replace byte
identifier with b.
* grub-core/lib/xzembed/xz_dec_stream.c (dec_vli): Likewise.
* include/grub/crypto.h: Add type defines.
* util/import_gcrypth.sed: Remove duplicate type defines.
2013-01-13 21:06:25 +01:00
Vladimir 'phcoder' Serbinenko
adcc602041
New command list_trusted.
...
* grub-core/commands/verify.c (grub_cmd_list): New function.
2013-01-13 17:49:05 +01:00
Colin Watson
a45289370a
* util/grub-mkimage.c (generate_image): Fix "size of public key"
...
info message.
2013-01-13 01:47:46 +00:00
Colin Watson
ca3a74469a
Remove nested functions from PCI iterators.
...
* grub-core/bus/pci.c (grub_pci_iterate): Add hook_data argument,
passed to hook. Update all callers to pass appropriate hook data.
* grub-core/bus/emu/pci.c (grub_pci_iterate): Likewise.
* include/grub/pci.h (grub_pci_iteratefunc_t): Add data argument.
Remove NESTED_FUNC_ATTR from here and from all users.
(grub_pci_iterate): Update prototype.
* grub-core/bus/cs5536.c (grub_cs5536_find: hook): Make static
instead of nested. Rename to ...
(grub_cs5536_find_iter): ... this.
* grub-core/kern/efi/mm.c (stop_broadcom: find_card): Likewise.
* grub-core/kern/mips/loongson/init.c (init_pci: set_card):
Likewise.
* grub-core/kern/vga_init.c (grub_qemu_init_cirrus: find_card):
Likewise.
* grub-core/video/bochs.c (grub_video_bochs_setup: find_card):
Likewise.
* grub-core/video/cirrus.c (grub_video_cirrus_setup: find_card):
Likewise.
* grub-core/video/efi_uga.c (find_framebuf: find_card): Likewise.
* grub-core/video/radeon_fuloong2e.c
(grub_video_radeon_fuloong2e_setup: find_card): Likewise.
* grub-core/video/sis315pro.c (grub_video_sis315pro_setup:
find_card): Likewise.
* grub-core/video/sm712.c (grub_video_sm712_setup: find_card):
Likewise.
2013-01-13 01:10:41 +00:00
Vladimir 'phcoder' Serbinenko
f8e98fee04
* grub-core/commands/verify.c: Mark messages for translating.
2013-01-12 16:31:17 +01:00
Vladimir 'phcoder' Serbinenko
055b36b6a6
* grub-core/lib/libgcrypt_wrap/mem.c (gcry_x*alloc): Make out of memory
...
fatal.
2013-01-12 16:27:37 +01:00
Vladimir 'phcoder' Serbinenko
f7ff879bd2
* grub-core/lib/libgcrypt_wrap/mem.c (_gcry_log_bug): Make gcrypt bugs
...
fatal.
2013-01-12 16:21:06 +01:00
Vladimir 'phcoder' Serbinenko
4d7219f90b
* autogen.sh: Do not try to delete nonexistant files.
...
* util/import_gcrypth.sed: Add some missing header removals.
2013-01-12 16:14:09 +01:00
Colin Watson
01323d49bf
Clean up dangling references to grub-setup.
...
Fixes Ubuntu bug #1082045 .
* docs/grub.texi (Images): Refer generally to grub-install rather
than directly to grub-setup.
(Installing GRUB using grub-install): Remove direct reference to
grub-setup.
(Device map) Likewise.
(Invoking grub-install): Likewise.
* docs/man/grub-install.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkimage.h2m (SEE ALSO): Likewise.
* util/grub-install.in (usage): Likewise.
* util/bash-completion.d/grub-completion.bash.in (_grub_setup):
Apply to grub-bios-setup and grub-sparc64-setup rather than to
grub-setup.
* configure.ac: Remove grub_setup output variable.
* docs/man/grub-bios-setup.h2m (NAME): Change name from grub-setup
to grub-bios-setup.
* docs/man/grub-sparc64-setup.h2m (NAME): Change name from
grub-setup to grub-sparc64-setup.
2013-01-12 13:30:37 +00:00
Vladimir 'phcoder' Serbinenko
5e3b8dcbb5
Import gcrypt public-key cryptography and implement signature checking.
2013-01-11 21:32:42 +01:00
Vladimir 'phcoder' Serbinenko
535714bdcf
* grub-core/fs/ntfs.c: Ue more appropriate types.
...
* grub-core/fs/ntfscomp.c: Likewise.
* include/grub/ntfs.h: Likewise.
2013-01-11 07:41:05 +01:00
Vladimir 'phcoder' Serbinenko
3e4f356646
Support Apple FAT binaries on non-Apple platforms.
...
* include/grub/macho.h (GRUB_MACHO_FAT_EFI_MAGIC): New define.
* include/grub/i386/macho.h (GRUB_MACHO_CPUTYPE_IS_HOST_CURRENT):
Likewise.
* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Parse
Apple FAT binaries.
2013-01-10 12:50:01 +01:00
Vladimir 'phcoder' Serbinenko
4dedb13f51
* grub-core/kern/disk.c (grub_disk_write): Fix sector number on 4K
...
sector devices.
2013-01-10 08:09:26 +01:00
Colin Watson
f8861eaf9f
* grub-core/io/bufio.c (grub_bufio_open): Use grub_zalloc instead of
...
explicitly zeroing elements.
* grub-core/io/gzio.c (grub_gzio_open): Likewise.
* grub-core/io/lzopio.c (grub_lzopio_open): Remove explicit zeroing
of elements in a structure already allocated using grub_zalloc.
* grub-core/io/xzio.c (grub_xzio_open): Likewise.
2013-01-07 10:45:05 +00:00
Colin Watson
86065b0ad6
* docs/grub.texi (grub_cpu): New subsection.
...
(grub_platform): Likewise.
2013-01-07 10:43:00 +00:00
Vladimir 'phcoder' Serbinenko
c6f1e92f0b
* grub-core/fs/minix.c (grub_minix_read_file): Simplify arithmetics.
2013-01-07 11:27:18 +01:00
Vladimir 'phcoder' Serbinenko
f797ec85a0
* grub-core/fs/ext2.c (grub_ext2_read_block): Use shifts rather than
...
divisions.
2013-01-05 18:37:34 +01:00
Vladimir 'phcoder' Serbinenko
033d0b4b0b
* grub-core/fs/ntfs.c: Eliminate useless divisions in favor of shifts.
...
* grub-core/fs/ntfscomp.c: Likewise.
* include/grub/ntfs.h (grub_ntfs_data): Replace spc with log_spc.
(grub_ntfs_comp): Likewise.
2013-01-05 17:36:04 +01:00
Vladimir 'phcoder' Serbinenko
21d1b9a029
* grub-core/fs/nilfs2.c (-grub_nilfs2_palloc_groups_per_desc_block):
...
Rename to ...
(grub_nilfs2_palloc_log_groups_per_desc_block): ... this. Return log
of groups_per_block. All users updated.
2013-01-05 16:53:04 +01:00
Vladimir 'phcoder' Serbinenko
10ca8645cc
* grub-core/disk/diskfilter.c (grub_diskfilter_write): Call
...
grub_error properly.
* grub-core/disk/ieee1275/nand.c (grub_nand_write): Likewise.
* grub-core/disk/loopback.c (grub_loopback_write): Likewise.
2013-01-05 15:10:46 +01:00
Vladimir 'phcoder' Serbinenko
a4c3ed4c8f
* util/grub.d/10_kfreebsd.in: Correct the patch to zpool.cache as it's
...
always in /boot/zfs.
Reported by: Yuta Satoh.
2013-01-03 23:19:19 +01:00
Yuta Satoh
0b716507a1
* util/grub.d/10_kfreebsd.in: Fix improper references to grub-probe by
...
${grub_probe}
2013-01-03 23:06:07 +01:00
Vladimir 'phcoder' Serbinenko
00c05e22f1
* configure.ac: Extend -Wno-trampolines to host.
2013-01-03 21:34:34 +01:00
Vladimir 'phcoder' Serbinenko
dadddb7665
* grub-core/fs/iso9660.c (grub_iso9660_susp_iterate): Avoid hang if
...
entry->len = 0.
2013-01-03 21:27:00 +01:00
Colin Watson
54ce53cadc
* docs/grub.texi (Invoking grub-mkrelpath): New section.
...
(Invoking grub-script-check): Likewise.
2013-01-03 10:53:53 +00:00
Colin Watson
8912efca03
* docs/grub.texi (Invoking grub-mount): New section.
...
Reported by: Filipus Klutiero. Fixes Debian bug #666427 .
2013-01-03 10:32:57 +00:00
Colin Watson
c3fc8394a0
* grub-core/tests/lib/test.c (grub_test_run): Return non-zero on
...
test failures, so that a failing unit test correctly causes 'make
check' to fail.
2013-01-02 16:42:48 +00:00
Colin Watson
45d26abb40
Fix failing printf test.
...
* grub-core/kern/misc.c (grub_vsnprintf_real): Parse '-', '.', and
'$' in the correct order when collecting type information.
2013-01-02 12:48:31 +00:00
Colin Watson
971dd2c6d5
* docs/grub.texi (configfile): Explain environment variable
...
handling.
(source): New section.
Reported by: Arbiel Perlacremaz. Fixes Savannah bug #35564 .
2013-01-02 09:29:48 +00:00
Colin Watson
5c67ea6cd9
Remove several trivially-unnecessary uses of nested functions.
...
* grub-core/commands/i386/pc/sendkey.c
(grub_cmd_sendkey: find_key_code, find_ascii_code): Make static
instead of nested.
* grub-core/commands/legacycfg.c (legacy_file: getline): Likewise.
Rename to ...
(legacy_file_getline): ... this.
* grub-core/commands/loadenv.c (grub_cmd_load_env: set_var):
Likewise.
* grub-core/kern/corecmd.c (grub_core_cmd_set: print_env): Likewise.
* grub-core/kern/fs.c (grub_fs_probe: dummy_func): Likewise. Rename
to ...
(probe_dummy_iter): ... this.
* grub-core/kern/i386/coreboot/mmap.c
(grub_linuxbios_table_iterate: check_signature): Likewise.
* grub-core/kern/parser.c (grub_parser_split_cmdline:
check_varstate): Likewise. Mark inline.
* grub-core/lib/arg.c (find_short: fnd_short): Likewise. Pass
an additional parameter.
(find_long: fnd_long): Likewise. Pass two additional parameters.
* grub-core/lib/crc.c (init_crc32c_table: reflect): Likewise.
* grub-core/lib/crc64.c (init_crc64_table: reflect): Likewise.
* grub-core/lib/ieee1275/cmos.c (grub_cmos_find_port: hook):
Likewise. Rename to ...
(grub_cmos_find_port_iter): ... this.
* grub-core/lib/ieee1275/datetime.c (find_rtc: hook): Likewise.
Rename to ...
(find_rtc_iter): ... this.
* grub-core/normal/menu_entry.c (run): Fold nested editor_getsource
function directly into the function body, since it is only called
once.
2012-12-31 17:31:38 +00:00
Colin Watson
33a68ac643
* grub-core/bus/usb/ehci.c (grub_ehci_pci_iter): Remove incorrect
...
__attribute__ ((unused)).
* grub-core/video/bochs.c (find_card): Likewise.
* grub-core/video/cirrus.c (find_card): Likewise.
* grub-core/video/radeon_fuloong2e.c (find_card): Likewise.
* grub-core/video/sis315pro.c (find_card): Likewise.
* grub-core/video/sm712.c (find_card): Likewise.
2012-12-30 09:57:58 +00:00
Colin Watson
608b647ad9
* util/grub-mkconfig.in: Accept GRUB_TERMINAL_OUTPUT=vga_text.
...
Fixes Savannah bug #37821 .
2012-12-28 07:21:17 +00:00
Colin Watson
fd49ceb35c
Apply program name transformations at build-time rather than at
...
run-time. Fixes Debian bug #696465 .
* acinclude.m4 (grub_TRANSFORM): New macro.
* configure.ac: Create output variables with transformed names for
most programs.
* util/bash-completion.d/grub-completion.bash.in: Use
pre-transformed variables for program names.
* util/grub-install.in: Likewise.
* util/grub-kbdcomp.in: Likewise.
* util/grub-mkconfig.in: Likewise.
* util/grub-mkconfig_lib.in: Likewise.
* util/grub-mknetdir.in: Likewise.
* util/grub-mkrescue.in: Likewise.
* util/grub-mkstandalone.in: Likewise.
* util/grub-reboot.in: Likewise.
* util/grub-set-default.in: Likewise.
* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
* tests/util/grub-shell-tester.in: Remove unused assignment.
* tests/util/grub-shell.in: Likewise.
* util/grub.d/00_header.in: Likewise.
2012-12-28 06:57:17 +00:00
Colin Watson
7024b3c0c2
Backport gnulib fixes for C11. Fixes Savannah bug #37738 .
...
* grub-core/gnulib/stdio.in.h (gets): Warn on use only if
HAVE_RAW_DECL_GETS.
* m4/stdio_h.m4 (gl_STDIO_H): Check for gets.
2012-12-28 06:43:35 +00:00
Vladimir 'phcoder' Serbinenko
e3501b1306
* util/grub.d/20_linux_xen.in: Addmissing assignment to machine.
...
Reported by: Eriks Latosheks <foresterlv>.
2012-12-11 17:40:35 +01:00
Vladimir 'phcoder' Serbinenko
b40c88a9c2
* docs/grub.texi (Network): Update instructions on generating netboot
...
image.
2012-12-10 22:22:23 +01:00
Vladimir 'phcoder' Serbinenko
ce96d01c93
* grub-core/disk/cryptodisk.c (grub_cmd_cryptomount): Strip brackets
...
around device name if necessarry.
2012-12-10 19:15:51 +01:00
Paulo Flabiano Smorigo
0f596201dc
* util/grub-install.in: Follow the symbolic link parameter added
...
to the file command.
2012-12-10 17:07:01 +01:00
Andrey Borzenkov
600d5bdbf5
* util/grub-install.in: Remove stale TODO.
2012-12-10 17:00:56 +01:00
Paulo Flabiano Smorigo
64ebd2f4b9
* grub-core/kern/ieee1275/init.c (grub_machine_get_bootlocation): Use
...
dynamic allocation for the bootpath buffer.
2012-12-10 16:23:16 +01:00
Dr. Tilmann Bubeck
74b2fe3e4f
* grub-core/gfxmenu/view.c (init_terminal): Avoid making terminal
...
window too small.
2012-12-10 16:14:12 +01:00
Vladimir 'phcoder' Serbinenko
969b804f2a
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Get font as
...
argument rather than font name. All users updated.
(grub_gfxterm_set_window): Likewise.
2012-12-10 16:07:33 +01:00
Vladimir Testov
b9f5ebd65c
* util/grub-mkfont.c (argp_parser): Fix a typo which prevented --asce
...
from working.
2012-12-10 11:45:00 +01:00
Vladimir 'phcoder' Serbinenko
258f43b7d7
* util/getroot.c (convert_system_partition_to_system_disk): Support
...
nbd disks.
2012-12-10 11:12:38 +01:00
Vladimir 'phcoder' Serbinenko
cc1ce5f9b4
* grub-core/fs/ufs.c (grub_ufs_dir): Stop if direntlen is 0 to avoid
...
infinite loop on corrupted FS.
2012-12-10 09:22:40 +01:00
Vladimir 'phcoder' Serbinenko
e77a16ca02
Fix big-endian mtime.
...
* grub-core/fs/ufs.c (grub_ufs_inode): Split improperly attached
together sec and usec.
(grub_ufs_dir): Use correct byteswapping for UFS time.
2012-12-08 21:14:08 +01:00
Vladimir 'phcoder' Serbinenko
d9c48c7b7c
Support big-endian UFS1.
...
* Makefile.util.def (libgrubmods): Add ufs_be.c
* grub-core/Makefile.core.def (ufs1_be): New module.
* grub-core/fs/ufs_be.c: New file.
* grub-core/fs/ufs.c: Declare grub_ufs_to_le* and use them throughout
the file.
2012-12-08 20:56:58 +01:00
Leif Lindholm
2f9f40ba35
* include/grub/types.h: Fix functionality unaffecting typo in
...
GRUB_TARGET_WORDSIZE conditional macro.
2012-11-28 14:18:45 +01:00
Paulo Flabiano Smorigo
48ff08895d
* grub-core/net/bootp.c (parse_dhcp_vendor): Fix double increment.
2012-11-28 14:14:20 +01:00
Grégoire Sutre
03711240c8
Fix ordering and tab indentation of NetBSD boot menu entries.
2012-10-28 11:55:22 +01:00
Christoph Junghans
a31b11bd96
* grub-core/Makefile.am (moddep.lst): Use $(AWK) rather than awk.
...
Fixes Savannah bug #37558 .
2012-10-12 15:37:49 +01:00
Colin Watson
e8a5d5d4da
* grub-core/commands/configfile.c (GRUB_MOD_INIT): Correct
...
description of extract_entries_configfile.
2012-10-12 15:34:33 +01:00
Colin Watson
39525c22be
* grub-core/loader/i386/linux.c (allocate_pages): Fix spelling of
...
preferred_address.
(grub_cmd_linux): Likewise.
* grub-core/net/icmp6.c (struct prefix_option): Fix spelling of
preferred_lifetime. Update all users.
2012-10-05 13:09:19 +01:00
Colin Watson
288c757d70
* Makefile.util.def (grub-mknetdir): Move to $prefix/bin.
...
Reported by: Daniel Kahn Gillmor. Fixes Debian bug #688799 .
2012-09-26 13:51:13 +01:00
Colin Watson
0d35da3f2b
* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Redirect
...
errors from grub-probe to /dev/null, not stdout.
2012-09-26 13:12:20 +01:00
Vladimir 'phcoder' Serbinenko
b78c312722
* grub-core/fs/affs.c (grub_affs_mount): Support AFFS bootblock in
...
sector 1.
2012-09-26 09:33:41 +02:00
Colin Watson
473959f052
* util/grub-install.in: Make the error message if $source_dir
...
doesn't exist more useful.
2012-09-24 18:50:35 +01:00
Colin Watson
794c8c3375
Fix grub-emu build on FreeBSD.
...
* Makefile.util.def (grub-mount): Add LIBGEOM to ldadd.
* grub-core/net/drivers/emu/emunet.c: Only include Linux-specific
headers on Linux.
(GRUB_MOD_INIT): Return immediately on non-Linux platforms; this
implementation is currently Linux-specific.
* util/getroot.c (exec_pipe): Define only on Linux or when either
libzfs or libnvpair is unavailable.
(find_root_devices_from_poolname): Remove unused path variable.
2012-09-22 21:19:58 +01:00
Colin Watson
86d08fdb18
* grub-core/partmap/msdos.c (pc_partition_map_embed): Revert
...
incorrect off-by-one fix from 2011-02-12. A 62-sector core image
should fit before end == 63.
2012-09-19 02:44:54 +01:00
Colin Watson
735abf545c
* util/grub-setup.c (write_rootdev): Remove unused core_img
...
parameter. Update all callers.
(setup): Define core_sectors only if GRUB_SETUP_BIOS, to appease
'gcc -Wunused-but-set-variable'. Remove unnecessary nested #ifdef
GRUB_SETUP_BIOS.
2012-09-19 02:41:51 +01:00
Vladimir 'phcoder' Serbinenko
140acd3c83
* util/grub-mkconfig_lib.in (grub_tab): New variable.
...
(grub_add_tab): New function.
* util/grub.d/10_hurd.in: Replace \t with $grub_tab orgrub_add_tab.
* util/grub.d/10_illumos.in: Likewise.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/10_netbsd.in: Likewise.
* util/grub.d/10_windows.in: Likewise.
* util/grub.d/10_xnu.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.
* util/grub.d/30_os-prober.in: Likewise.
2012-09-18 13:04:06 +02:00
Vladimir 'phcoder' Serbinenko
7ddffdadea
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
...
GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN on mac.
* grub-core/term/ieee1275/console.c (grub_console_init_lately): Use
ieee1275-nocursor if GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN is set.
* grub-core/term/terminfo.c (grub_terminfo_set_current): Add new type
ieee1275-nocursor.
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value
GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN.
2012-09-18 11:52:19 +02:00
Vladimir 'phcoder' Serbinenko
4e09245441
* grub-core/loader/i386/linux.c (grub_cmd_linux): Fix incorrect
...
le-conversion.
Reported by: BURETTE, Bernard.
2012-09-18 11:44:29 +02:00
Colin Watson
a2fc392426
* util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence
...
from comment.
2012-09-17 16:58:50 +01:00
Colin Watson
dfd39dbdea
* grub-core/term/terminfo.c: Only fix up powerpc key repeat on
...
IEEE1275 machines. Fixes powerpc-emu compilation.
* include/grub/terminfo.h: Likewise.
2012-09-14 11:23:36 +01:00
Vladimir 'phcoder' Serbinenko
3bfa763c48
* include/grub/efi/api.h (grub_efi_runtime_services): Make vendor_guid
...
a const pointer.
* grub-core/efiemu/runtime/efiemu.c (efiemu_memcpy): Make from a
const pointer.
(efiemu_set_variable): Make vendor_guid a const pointer.
2012-09-12 08:31:05 +02:00
Vladimir 'phcoder' Serbinenko
250e475b26
Don't require grub-mkconfig_lib to generate manpages for programs.
...
* gentpl.py (manpage): Additional argument adddeps. Add adddeps to
dependencies, don't add grub-mkconfig_lib.
(program): Pass empty adddeps.
(script): Pass grub-mkconfig_lib as adddeps.
2012-09-12 08:27:26 +02:00
Vladimir 'phcoder' Serbinenko
592fd0e4d6
* grub-core/disk/diskfilter.c (free_array) [GRUB_UTIL]: Fix memory leak.
...
* util/getroot.c (grub_find_device): Likewise.
(get_mdadm_uuid): Likewise.
(grub_util_is_imsm): Likewise.
(grub_util_pull_device): Likewise.
* util/grub-probe.c (probe): Likewise.
2012-09-11 07:53:26 +02:00
Benoit Gschwind
801a3027be
* grub-core/loader/efi/appleloader.c (devpath_8): New var.
...
(devs): Add devpath_8.
2012-09-10 09:34:29 +02:00
Peter Jones
c5052c81ab
* grub-core/Makefile.core.def (efifwsetup): New module.
...
* grub-core/commands/efi/efifwsetup.c: New file.
* grub-core/kern/efi/efi.c (grub_efi_set_variable): New function
* include/grub/efi/api.h (GRUB_EFI_OS_INDICATIONS_BOOT_TO_FW_UI):
New define.
* include/grub/efi/efi.h (grub_efi_set_variable): New proto.
2012-09-08 09:40:24 +02:00
Jiri Slaby
8e832f715b
* configure.ac: Add SuSe path.
2012-09-05 16:09:41 +02:00
Colin Watson
f0f5575291
* NEWS: Fix typo.
2012-09-05 13:55:54 +01:00
Colin Watson
ecadc4c2c4
* util/import_gcry.py: Sort cipher_files, to make build system
...
generation more deterministic.
2012-09-05 09:00:39 +01:00
Vladimir 'phcoder' Serbinenko
64498f2538
* grub-core/disk/ieee1275/ofdisk.c (scan): Check function return value.
...
* grub-core/lib/ieee1275/datetime.c (grub_get_datetime): Likewise.
(grub_set_datetime): Likewise.
2012-09-05 08:56:08 +02:00
Vladimir 'phcoder' Serbinenko
9cc836a27b
* grub-core/script/yylex.l: Ignore unused-function and sign-compare
...
warnings.
2012-09-05 08:51:31 +02:00
Vladimir 'phcoder' Serbinenko
bcfcea0174
* grub-core/partmap/dvh.c (grub_dvh_is_valid): Add missing byteswap.
2012-09-05 08:47:39 +02:00
Vladimir 'phcoder' Serbinenko
a40994852d
* grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.
2012-09-05 08:45:07 +02:00
Colin Watson
265c162a28
* Makefile.am (EXTRA_DIST): Add linguas.sh. It's only strictly
...
required for checkouts from bzr, but it may be useful for users or
distributors wishing to update translations against a tarball
distribution, and it can be helpful for the tarball to be a superset
of what's in bzr.
2012-09-04 23:35:38 +01:00
Colin Watson
3d171e951a
* Makefile.am (EXTRA_DIST): Add
...
grub-core/tests/boot/linux.init-mips.S,
grub-core/tests/boot/linux.init-ppc.S, and
grub-core/tests/boot/linux-ppc.cfg.
2012-09-04 18:59:41 +01:00
Colin Watson
f2c2503eab
* grub-core/mmap/mips/loongson: Remove empty directory.
2012-09-04 18:56:13 +01:00
Colin Watson
dd77d2be32
* docs/man/grub-mkdevicemap.h2m: Remove, since grub-mkdevicemap is
...
gone.
2012-09-04 18:39:40 +01:00
Colin Watson
ab2163d5da
* .bzrignore: Add grub-bios-setup, grub-ofpathname, and
...
grub-sparc64-setup.
2012-09-04 18:33:33 +01:00
Grégoire Sutre
ce93814031
Strengthen the configure test for working -nostdinc -isystem.
2012-08-05 16:49:03 +02:00
Grégoire Sutre
529f58a5d7
Regenerate po/POTFILES.in with the following commmand in a clean tree:
...
export LC_ALL=en_US.UTF-8
find . -iname '*.[ch]' | sort > po/POTFILES.in
2012-08-01 01:06:53 +02:00
Grégoire Sutre
16cf79e9aa
Update manual NetBSD-wise.
2012-08-01 00:18:57 +02:00
starous
39b27f1eaf
EHCI and OHCI PCI bus master
2012-07-22 21:09:30 +02:00