Colin Watson
617663eaea
Artificially bump Replaces: grub-common versioning to account for
...
grub-reboot/grub-set-default movement in Ubuntu.
2011-05-16 17:40:37 +01:00
Colin Watson
f603aa7978
Drop lenny compatibility from grub2-common's dpkg/install-info
...
dependency, since it produces a Lintian warning and using the current
packaging on lenny is probably rather a stretch anyway.
2011-05-16 17:36:32 +01:00
Colin Watson
e8889d4c54
remove documentation of cherry-picks from 1.99
2011-05-16 16:11:43 +01:00
Colin Watson
b04220bbfc
document mduuid bug fix
2011-05-16 16:09:43 +01:00
Colin Watson
c7d9f6a4a5
1.99~rc2-1 -> 1.99-1
2011-05-16 16:07:53 +01:00
Colin Watson
9950596beb
Merge GRUB 1.99.
2011-05-16 16:05:56 +01:00
Colin Watson
81fc656b13
Make the documentation directory in most binary packages be a symlink to
...
that in grub-common.
2011-05-16 15:30:53 +01:00
Colin Watson
e881bba9d0
Drop grub-rescue-efi-amd64 (never released); the new grub-efi-amd64-bin is a
...
better solution to the original problem.
2011-05-15 16:51:03 +01:00
Colin Watson
5a79afa550
Make grub-emu depend on grub-common.
2011-05-15 16:47:30 +01:00
Colin Watson
6e326ee718
typo
2011-05-15 16:43:13 +01:00
Colin Watson
b88ffb1af1
Create grub-<platform>-bin packages corresponding to all grub-<platform>
...
packages (except for grub-emu). These do not automatically install the
boot loader or update grub.cfg, and they install their binaries to
/usr/lib/grub/<cpu>-<platform>/; this means that can be installed in
parallel, making it easier to use them to build GRUB-based disk images
(e.g. d-i). The grub-<platform> packages now depend on these and
include symlinks, so their behaviour will remain as before.
2011-05-15 16:42:15 +01:00
Jordan Uggla
6ada82d14d
* docs/grub.texi (Invoking grub-install): Fix additional outdated claims
...
and add some clarification.
2011-05-14 22:49:53 +02:00
Vladimir 'phcoder' Serbinenko
90c571a47f
* util/grub.d/10_linux.in: Autoload gzio since it's needed on some
...
platforms if kernel is compressed.
2011-05-14 22:47:28 +02:00
Vladimir 'phcoder' Serbinenko
de04eecfa9
* grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of
...
unused modules since currently referrence counter isn't reliable and
there isn't much memory to recover there anyway.
2011-05-14 22:44:53 +02:00
Vladimir 'phcoder' Serbinenko
576881217f
* grub-core/kern/dl.c (grub_dl_load_file): Decrease ref counter
...
rather than resetting it to allow modules to reference themselves
in init.
2011-05-14 22:42:28 +02:00
Vladimir 'phcoder' Serbinenko
3d2c7e3591
* grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference
...
counter on dependencies since grub_dl_unref already handles this.
2011-05-14 22:35:56 +02:00
Vladimir 'phcoder' Serbinenko
b25db21885
* grub-core/font/font_cmd.c (loadfont_command): Set grub_errno
...
on error if not already done.
2011-05-14 22:29:27 +02:00
Vladimir 'phcoder' Serbinenko
25a4533875
Fix few potential memory misusage.
...
* grub-core/font/font.c (load_font_index): Don't free char_index to
avoid double free.
2011-05-14 22:26:52 +02:00
Vladimir 'phcoder' Serbinenko
0cac83df85
* docs/grub.texi (Installation): Fix several outdated claims.
2011-05-14 17:50:48 +02:00
Vladimir 'phcoder' Serbinenko
2217a1430e
Handle module_license on windows.
...
* util/grub-pe2elf.c (MODLICENSE_SECTION): New definition. All following
sections shifted.
(insert_string): Make argument const char * instead of char *.
(write_section_data): Handle long section names.
Handle module_license.
2011-05-14 17:47:59 +02:00
Vladimir 'phcoder' Serbinenko
d4de6b01e8
* grub-core/commands/menuentry.c (grub_cmd_menuentry): Correctly
...
handle class-free menuentries.
(grub_normal_add_menu_entry): Add a check to be sure.
2011-05-14 12:14:00 +02:00
Vladimir 'phcoder' Serbinenko
4c2a3b438e
* grub-core/term/at_keyboard.c (set1_e0_mapping): Fix swap between
...
PgUp and PgDown.
2011-05-14 12:09:16 +02:00
Vladimir 'phcoder' Serbinenko
85c6210f6a
* configure.ac: Bump version to 1.99.
2011-05-13 21:50:18 +02:00
Vladimir 'phcoder' Serbinenko
36084912c0
Give ATA device a bit more time on first try in order to allow disks
...
to spin up.
* grub-core/disk/ata.c (grub_atapi_identify): Use GRUB_ATA_TOUT_DEV_INIT
if dev->present is 1. Reset dev->present on failure.
(grub_ata_device_initialize): Set dev->present to 1.
* include/grub/ata.h (GRUB_ATA_TOUT_DEV_INIT): New value.
(grub_ata_device): New member 'present'.
2011-05-13 21:41:18 +02:00
Vladimir 'phcoder' Serbinenko
bda0e21993
* util/grub-mkimage.c (generate_image): Update hash.
2011-05-13 21:31:00 +02:00
Vladimir 'phcoder' Serbinenko
19e1c41bbf
Flush caches on DMA memory.
...
* grub-core/kern/mips/cache.S (grub_arch_sync_dma_caches): New function.
* grub-core/bus/pci.c (grub_memalign_dma32): Flush caches.
(grub_dma_free): Likewise.
* include/grub/cache.h (grub_arch_sync_dma_caches): New declaration.
2011-05-13 20:56:50 +02:00
Vladimir 'phcoder' Serbinenko
91bbcc0cb6
* grub-core/boot/mips/yeeloong/fwstart.S: Add explicit set mips3
...
to avoid asm treating ld and sd as macros.
2011-05-13 20:23:29 +02:00
Vladimir 'phcoder' Serbinenko
60ddfad3da
* grub-core/boot/mips/startup_raw.S: Flush cache after loading
...
decompressor.
2011-05-13 15:35:06 +02:00
Vladimir 'phcoder' Serbinenko
a298aa046c
* grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
...
grub_decompress_core since later would fail if grub_decompress_core
is too far.
2011-05-13 15:20:16 +02:00
Vladimir 'phcoder' Serbinenko
9b44fecaa6
* grub-core/kern/mips/dl.c (grub_arch_dl_relocate_symbols): Handle
...
R_MIPS_JALR since it's used by newer compiler.
2011-05-13 15:17:02 +02:00
Vladimir 'phcoder' Serbinenko
56dbe7b485
* util/grub.d/10_linux.in: Correctly handle the Linux in root.
2011-05-10 10:40:22 +02:00
Vladimir 'phcoder' Serbinenko
52856af262
* grub-core/loader/efi/chainloader.c (grub_chainloader_unload): Set
...
file_path to 0 for surety.
(grub_chainloader_boot): Set exit_data to NULL.
Unset the loader once done.
(grub_cmd_chainloader): Fix confusing error message if file is empty.
2011-05-10 09:14:41 +02:00
Vladimir 'phcoder' Serbinenko
9c9bfc6de9
* grub-core/term/at_keyboard.c (fetch_key): Make a printf on
...
unknown key into a dprintf.
2011-05-09 19:33:03 +02:00
Vladimir 'phcoder' Serbinenko
dd94a3df9d
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Don't abort
...
on first non-existant partition.
2011-05-09 18:59:35 +02:00
Vladimir 'phcoder' Serbinenko
d8ce999501
Fix surname spelling in Changelog
2011-05-09 18:50:25 +02:00
Vladimir 'phcoder' Serbinenko
fa68d99c45
* grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if
...
openning fails.
Reported by: Mark Korenberg.
2011-05-09 18:48:50 +02:00
Vladimir 'phcoder' Serbinenko
157effb745
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Prevent possible
...
overflow.
2011-05-09 18:46:51 +02:00
Vladimir 'phcoder' Serbinenko
ea75312f31
* util/grub-mkimage.c (main): Explicitely flush and sync the output
...
before closing to ensure that it will be readable by grub-setup.
2011-05-09 16:27:09 +02:00
Colin Watson
a88163c705
Drop redundant Suggests: os-prober from several platform packages, as
...
grub-common already Recommends: os-prober.
2011-05-05 14:18:27 +01:00
Vladimir 'phcoder' Serbinenko
072b5d315a
* grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro.
...
(devpath_1): Use MAKE_PIWG_PATH.
(devpath_2): Likewise.
(devpath_3): Likewise.
(devpath_4): Likewise.
(devpath_5): Likewise.
(devpath_6): Likewise.
The appleldr.mod was checked that to be binary identical to previous
version.
2011-05-05 13:34:03 +02:00
Zach
7fae005102
Support 2010 Macbooks.
...
* grub-core/loader/efi/appleloader.c (devpath_6): New variable.
(devs): Add devpath_6.
2011-05-05 12:18:00 +02:00
Vladimir 'phcoder' Serbinenko
7c515bee14
* util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
...
/dev/random. /dev/urandom is good enough for our purposes (salting).
2011-05-05 01:32:04 +02:00
Vladimir 'phcoder' Serbinenko
ed660bd8ed
* util/grub-mkrescue.in (process_input_dir): Include efiemu??.o.
2011-05-05 01:29:21 +02:00
Vladimir 'phcoder' Serbinenko
ee5614b7f8
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle
...
hexadecimal.
2011-05-05 01:27:54 +02:00
Vladimir 'phcoder' Serbinenko
664889a69c
* grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
...
and not 0 on failure.
2011-05-05 01:26:16 +02:00
Colin Watson
11a382a121
Move /etc/grub.d/05_debian_theme to grub-common, to go with the other
...
/etc/grub.d/* files.
2011-05-04 16:10:35 +01:00
Colin Watson
9f7d6804fd
Drop conflict on an ancient (pre-lenny/hardy) version of desktop-base.
2011-05-04 15:32:04 +01:00
Colin Watson
3177d4fbf5
Create grub2-common package containing files that are common among GRUB
...
platform packages but that would break GRUB Legacy, or that are too
confusing when coinstalled with GRUB Legacy (closes : #564167 ).
2011-05-04 14:37:47 +01:00
Colin Watson
bd405bbc55
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
...
GRUB_ERR_BAD_FS rather than GRUB_ERR_IO if the disk is not a pxe
disk; otherwise grub_fs_probe will not fall back to the next
filesystem.
(grub_pxefs_open): Likewise, for consistency.
Reported and tested by: Ezekiel Grave.
2011-05-03 18:03:05 +01:00
Colin Watson
4ebff75340
* tests/partmap_test.in: Don't hardcode path to parted.
...
Reported by: Peter Hjalmarsson. Fixes Savannah bug #33150 .
2011-05-03 17:57:39 +01:00