Colin Watson
11b970d7c9
Always initialise *relroot in grub_find_root_device_from_mountinfo,
...
otherwise we free an uninitialised pointer if /proc is unmounted.
Reported by: Scott Moser.
2011-01-07 17:24:25 +00:00
Szymon Janc
25953e1055
Improve loaders' kernel command line handling.
...
* grub-core/lib/cmdline.c: New file.
* include/grub/lib/cmdline.h: Likewise.
* grub-core/loader/i386/linux.c (grub_cmd_linux): Use
grub_create_loader_cmdline to create kernel command line.
* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
* grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Likewise.
* grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_linux): Likewise.
* grub-core/Makefile.core.def (linux16): Add lib/cmdline.c on i386_pc.
(linux): Add lib/cmdline.c on common.
2011-01-07 17:09:39 +01:00
Vladimir 'phcoder' Serbinenko
e72d259fe1
* grub-core/fs/xfs.c (grub_xfs_iterate_dir): Take into account that
...
inopos might be unaligned.
2011-01-07 17:06:42 +01:00
Vladimir 'phcoder' Serbinenko
c0cf26da6b
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
...
endian transformations.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
Based on report by: Doug Nazar.
2011-01-07 16:17:24 +01:00
Colin Watson
449896430b
Kazakh (Baurzhan Muftakhidinov / Timur Birsh). Closes : #609187
2011-01-07 14:15:11 +00:00
Colin Watson
715cb1e028
refresh patches
2011-01-07 14:02:52 +00:00
Doug Nazar
0ca09e6c52
* grub-core/disk/raid5_recover.c (grub_raid5_recover): Add missing
...
array->members[i].start_sector.
* grub-core/disk/raid6_recover.c (grub_raid6_recover): Likewise.
2011-01-07 14:41:44 +01:00
Vladimir 'phcoder' Serbinenko
014b68068d
* util/grub-setup.c (setup): Handle NetBSD and OpenBSD disklabels.
...
Reported and tested by: Grégoire Sutre.
2011-01-07 13:27:34 +01:00
Colin Watson
e5f9ee43a3
releasing version 1.99~20110106-1
2011-01-06 23:21:04 +00:00
Colin Watson
ff5565406e
merge from upstream
2011-01-06 13:25:33 +00:00
Colin Watson
415502c26a
* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to
...
avoid causing test failures by clearing the screen.
2011-01-06 13:24:38 +00:00
Colin Watson
8c0ab3d9d3
* New Bazaar snapshot.
...
- Check that named RAID array devices exist before using them (closes:
#606035 ).
- Clear terminfo output on initialisation (closes : #569678 ).
- Fix grub-probe when btrfs is on / without a separate /boot.
2011-01-06 11:33:35 +00:00
Colin Watson
71b6a2b7a2
* grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
...
Fix prefix check to handle the case where dir ends with a slash
(most significantly, "/" itself).
Reported by: Michael Vogt.
2011-01-06 11:09:17 +00:00
Colin Watson
cf44d9794e
releasing version 1.99~20110104-2
2011-01-05 16:28:54 +00:00
Colin Watson
c487924734
handle file move in parse-color branch
2011-01-05 13:29:40 +00:00
Colin Watson
7db1a2ece1
When embedding the core image in a post-MBR gap, check for and avoid
...
sectors matching any of a number of known signatures, from the upstream
'embed-sectors' branch.
2011-01-05 11:59:19 +00:00
Colin Watson
e815ae06d8
Update branch_devmapper.patch, adding a #include to fix a build failure
...
on Ubuntu amd64.
2011-01-05 11:45:49 +00:00
Vladimir 'phcoder' Serbinenko
b3f8d28ad0
Run terminfo_cls on initing terminfo output to clear the screen and
...
move the cursor to (0,0).
* grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_init_output):
Call grub_terminfo_output_init.
* grub-core/term/serial.c (grub_serial_term_output): Set .init.
* grub-core/term/terminfo.c (grub_terminfo_output_init): New function.
* include/grub/terminfo.h (grub_terminfo_output_init): New declaration.
2011-01-05 12:23:06 +01:00
Colin Watson
45adc27850
Add a background_color command, from the upstream 'parse-color' branch.
2011-01-05 11:19:37 +00:00
Colin Watson
8c9cc8a12a
Support long command lines as per the 2.06 Linux boot protocol, from the
...
upstream 'longlinuxcmd' branch.
2011-01-05 11:16:39 +00:00
Vladimir 'phcoder' Serbinenko
4c3e4f37be
* util/grub-install.in: Determine ofpathname, nvsetenv and efibootmgr
...
only when needed.
2011-01-05 01:28:28 +01:00
Vladimir 'phcoder' Serbinenko
488f71f116
* grub-core/term/terminfo.c (grub_terminfo_readkey): Handle keys with
...
CTRL.
2011-01-05 01:25:01 +01:00
Vladimir 'phcoder' Serbinenko
18a38098ad
The E820 type 5 is BADRAM, not EXEC_CODE.
...
* grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed.
(GRUB_E820_BADRAM): New define.
* grub-core/loader/i386/linux.c (grub_linux_boot): Translate code
into reserved. Propagate BADRAM.
* grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed.
(GRUB_E820_BADRAM): New define.
2011-01-05 01:14:32 +01:00
Vladimir 'phcoder' Serbinenko
9eae2084f4
* grub-core/lib/efi/relocator.c (grub_relocator_firmware_fill_events):
...
Ignore the memory post-4G.
(grub_relocator_firmware_alloc_region): Additional debug statement.
2011-01-04 19:08:03 +01:00
Colin Watson
7e2fb5038b
releasing version 1.99~20110104-1
2011-01-04 17:52:10 +00:00
Vladimir 'phcoder' Serbinenko
ebc71d284c
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Check md/%s
...
names.
Reported by: David Pravec.
2011-01-04 18:15:27 +01:00
Colin Watson
3fae275809
Add squashfs 4 support, from the upstream 'squash' branch.
2011-01-04 16:10:17 +00:00
Colin Watson
10694439cc
Support partitioned loop devices and improve devmapper support, from the
...
upstream 'devmapper' branch.
2011-01-04 16:05:15 +00:00
Colin Watson
2b1b1b510c
Add full btrfs support, from the upstream 'butter' branch.
2011-01-04 15:46:17 +00:00
Colin Watson
f494c6bf84
merge from upstream
2011-01-04 15:42:01 +00:00
Colin Watson
944404efb8
merge trunk
2011-01-04 15:41:07 +00:00
Colin Watson
36e050b118
releasing version 1.98+20100804-13
2011-01-04 14:45:44 +00:00
Vladimir 'phcoder' Serbinenko
446fa40081
* grub-core/disk/i386/pc/biosdisk.c (GRUB_MOD_INIT): Workaround buggy
...
BIOSes.
2011-01-04 15:42:47 +01:00
Vladimir 'phcoder' Serbinenko
a0159f370d
* grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy):
...
Prevent overflow.
(grub_reed_solomon_recover): Likewise.
2011-01-04 15:39:59 +01:00
Vladimir 'phcoder' Serbinenko
e5146ca18b
* grub-core/lib/reed_solomon.c (main) [TEST]: Reactivate normal test.
2011-01-04 15:37:10 +01:00
Vladimir 'phcoder' Serbinenko
956384994b
* grub-core/lib/reed_solomon.c (scratch) [! STANDALONE]: Remove leftover
...
variable.
2011-01-04 15:35:10 +01:00
Colin Watson
f11400cedc
* Backport from upstream:
...
- Don't add spurious RAID array members (closes : #605357 ).
2011-01-04 13:32:23 +00:00
Colin Watson
7861c21ebd
merge from upstream
2011-01-04 13:07:02 +00:00
Colin Watson
5b1bdf1231
* grub-core/commands/legacycfg.c (GRUB_MOD_INIT): Fix typo in
...
descriptions of extract_legacy_entries_source and
extract_legacy_entries_configfile.
Reported by: Seung Soo, Ha.
2011-01-04 13:05:19 +00:00
Colin Watson
e8a6793ce6
* Merge 1.98+20100804-12:
...
- Use semicolons rather than commas to separate size from model in
debconf disk and partition descriptions.
2011-01-04 12:57:25 +00:00
Colin Watson
ea26d42021
releasing version 1.98+20100804-12
2011-01-04 12:46:08 +00:00
Colin Watson
b18606efa4
merge from upstream
2011-01-04 12:20:34 +00:00
Colin Watson
1c67bbfb7c
Fix PCI probing hangs by skipping remaining functions on devices that
...
do not implement function 0 (closes : #594967 ).
2011-01-04 00:16:17 +00:00
Colin Watson
abb4f2f780
more consistent patch naming
2011-01-04 00:13:09 +00:00
Colin Watson
3a926ca11a
Use semicolons rather than commas to separate size from model in debconf
...
disk and partition descriptions; commas are too easily confused with the
multiselect choice separator, and in particular make it impossible to
answer questions properly in the editor frontend (closes : #608449 ).
Unfuzzy all translations where possible.
2011-01-04 00:10:57 +00:00
Colin Watson
99d925aad4
* grub-core/bus/pci.c (grub_pci_iterate): Skip remaining functions
...
on devices that do not implement function 0.
2011-01-03 23:56:45 +00:00
Dave Vasilevsky
4af0504b72
* grub-core/fs/hfsplus.c: Make parent unsigned.
...
(grub_hfsplus_cmp_catkey): Don't compare using subtraction, it
overflows.
(grub_hfsplus_cmp_extkey): Likewise
2011-01-03 15:30:41 +01:00
Vladimir 'phcoder' Serbinenko
469ee10a7f
* util/grub-install.in: Correctly use bootloader_id and not
...
GRUB_DISTRIBUTOR on efibootmgr line.
2011-01-03 14:33:43 +01:00
Vladimir 'phcoder' Serbinenko
323a8e9c64
* util/grub-mkfont.c (main): Report errors in FT_New_Face.
2011-01-03 14:16:42 +01:00
Colin Watson
ffbb9b85e6
* New Bazaar snapshot.
...
- Don't emit drivemap directive for Windows Server 2008 (closes:
#607687 ).
- Don't add spurious RAID array members (closes : #605357 ).
- Improve presentation of Xen menu entries (closes : #607867 ).
2011-01-01 04:13:03 +00:00