]> git.proxmox.com Git - grub2.git/log
grub2.git
13 years agostriped zpool support
Vladimir 'phcoder' Serbinenko [Sun, 5 Dec 2010 20:17:24 +0000 (21:17 +0100)]
striped zpool support

13 years agoFix handling of nvlist array
Vladimir 'phcoder' Serbinenko [Sun, 5 Dec 2010 17:13:32 +0000 (18:13 +0100)]
Fix handling of nvlist array

13 years agoSupport long symlinks
Vladimir 'phcoder' Serbinenko [Sun, 5 Dec 2010 15:08:26 +0000 (16:08 +0100)]
Support long symlinks

13 years agoAdd missing endianness conversions in fzap code
Vladimir 'phcoder' Serbinenko [Sun, 5 Dec 2010 14:41:17 +0000 (15:41 +0100)]
Add missing endianness conversions in fzap code

13 years agoFix fzap handling
Vladimir 'phcoder' Serbinenko [Sun, 5 Dec 2010 14:35:08 +0000 (15:35 +0100)]
Fix fzap handling

13 years agoFix short symlinks
Vladimir 'phcoder' Serbinenko [Sat, 4 Dec 2010 00:59:06 +0000 (01:59 +0100)]
Fix short symlinks

13 years agoZFS zlib compression support
Vladimir 'phcoder' Serbinenko [Fri, 3 Dec 2010 23:40:44 +0000 (00:40 +0100)]
ZFS zlib compression support

13 years agomerge mainline into ZFS
Vladimir 'phcoder' Serbinenko [Fri, 3 Dec 2010 23:40:20 +0000 (00:40 +0100)]
merge mainline into ZFS

13 years agoBtrFS zlib compression support
Vladimir 'phcoder' Serbinenko [Fri, 3 Dec 2010 20:42:13 +0000 (21:42 +0100)]
BtrFS zlib compression support

13 years agoAdd RAID10 support
Vladimir 'phcoder' Serbinenko [Fri, 3 Dec 2010 17:11:10 +0000 (18:11 +0100)]
Add RAID10 support

13 years agosymlink loop detection. btrfs-raid0 and raid1 support
Vladimir 'phcoder' Serbinenko [Fri, 3 Dec 2010 15:56:49 +0000 (16:56 +0100)]
symlink loop detection. btrfs-raid0 and raid1 support

13 years agoRename some btrfs variables for more uniformity
Vladimir 'phcoder' Serbinenko [Fri, 3 Dec 2010 10:30:24 +0000 (11:30 +0100)]
Rename some btrfs variables for more uniformity

13 years agosymlink support
Vladimir 'phcoder' Serbinenko [Fri, 3 Dec 2010 09:44:47 +0000 (10:44 +0100)]
symlink support

13 years agobuffer extent for performance
Vladimir 'phcoder' Serbinenko [Thu, 2 Dec 2010 14:28:29 +0000 (15:28 +0100)]
buffer extent for performance

13 years agoFix in-extent reading
Vladimir 'phcoder' Serbinenko [Thu, 2 Dec 2010 14:08:46 +0000 (15:08 +0100)]
Fix in-extent reading

13 years agosupport bind and subvolume mount
Vladimir 'phcoder' Serbinenko [Thu, 2 Dec 2010 13:26:46 +0000 (14:26 +0100)]
support bind and subvolume mount

13 years agoFix handling of non-leaf next
Vladimir 'phcoder' Serbinenko [Thu, 2 Dec 2010 12:57:07 +0000 (13:57 +0100)]
Fix handling of non-leaf next

13 years agoRemove leftover unused attribute
Vladimir 'phcoder' Serbinenko [Thu, 2 Dec 2010 12:32:24 +0000 (13:32 +0100)]
Remove leftover unused attribute

13 years agoImplicitly skip /default prefix
Vladimir 'phcoder' Serbinenko [Thu, 2 Dec 2010 12:31:50 +0000 (13:31 +0100)]
Implicitly skip /default prefix

13 years agoFix subvolume handling
Vladimir 'phcoder' Serbinenko [Thu, 2 Dec 2010 12:23:20 +0000 (13:23 +0100)]
Fix subvolume handling

13 years agohandle directories correctly
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 23:11:14 +0000 (00:11 +0100)]
handle directories correctly

13 years agoinitialise the type of search for root
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 23:03:19 +0000 (00:03 +0100)]
initialise the type of search for root

13 years agoFix incorrect statement from previous commit
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 22:16:19 +0000 (23:16 +0100)]
Fix incorrect statement from previous commit

13 years agoFix 2 warnings
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 21:59:51 +0000 (22:59 +0100)]
Fix 2 warnings

13 years agoMerge ZFS.
Robert Millan [Wed, 1 Dec 2010 21:57:49 +0000 (22:57 +0100)]
Merge ZFS.

13 years agoUpdate GPL for ZFS code to version 3, move copyright lines for Vladimir and me to...
Robert Millan [Wed, 1 Dec 2010 21:55:26 +0000 (22:55 +0100)]
Update GPL for ZFS code to version 3, move copyright lines for Vladimir and me to FSF (covered by our assignments)

13 years ago2010-12-01 Robert Millan <rmh@gnu.org>
Robert Millan [Wed, 1 Dec 2010 21:42:11 +0000 (22:42 +0100)]
2010-12-01  Robert Millan  <rmh@gnu.org>

* grub-core/fs/zfs/zfs.c: New file.
* grub-core/fs/zfs/zfs_fletcher.c: Likewise.
* grub-core/fs/zfs/zfs_lzjb.c: Likewise.
* grub-core/fs/zfs/zfs_sha256.c: Likewise.
* grub-core/fs/zfs/zfsinfo.c: Likewise.

* include/grub/zfs/dmu.h: Likewise.
* include/grub/zfs/dmu_objset.h: Likewise.
* include/grub/zfs/dnode.h: Likewise.
* include/grub/zfs/dsl_dataset.h: Likewise.
* include/grub/zfs/dsl_dir.h: Likewise.
* include/grub/zfs/sa_impl.h: Likewise.
* include/grub/zfs/spa.h: Likewise.
* include/grub/zfs/uberblock_impl.h: Likewise.
* include/grub/zfs/vdev_impl.h: Likewise.
* include/grub/zfs/zap_impl.h: Likewise.
* include/grub/zfs/zap_leaf.h: Likewise.
* include/grub/zfs/zfs.h: Likewise.
* include/grub/zfs/zfs_acl.h: Likewise.
* include/grub/zfs/zfs_znode.h: Likewise.
* include/grub/zfs/zil.h: Likewise.
* include/grub/zfs/zio.h: Likewise.
* include/grub/zfs/zio_checksum.h: Likewise.

* Makefile.util.def: Build ZFS into libgrubmods.
* grub-core/Makefile.core.def: Build zfs.mod.

13 years agomerge some more commits from before Savannah compromise (mirrored by Launchpad)
Colin Watson [Wed, 1 Dec 2010 16:19:26 +0000 (16:19 +0000)]
merge some more commits from before Savannah compromise (mirrored by Launchpad)

13 years agoRemove \n from error message
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 15:45:12 +0000 (16:45 +0100)]
Remove \n from error message

13 years agoCheck file type
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 15:36:05 +0000 (16:36 +0100)]
Check file type

13 years agosupport trees
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 15:22:51 +0000 (16:22 +0100)]
support trees

13 years agopartial btrfs support. Now able to list and access files as long as all trees are...
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 00:23:47 +0000 (01:23 +0100)]
partial btrfs support. Now able to list and access files as long as all trees are flat

13 years agoAdd crc32c for btrfs
Vladimir 'phcoder' Serbinenko [Wed, 1 Dec 2010 00:22:55 +0000 (01:22 +0100)]
Add crc32c for btrfs

13 years ago * grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused
Szymon Janc [Tue, 30 Nov 2010 20:35:59 +0000 (21:35 +0100)]
* grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused
variable.
* grub-core/commands/wildcard.c (match_files): Likewise.

13 years ago2010-11-30 Robert Millan <rmh@gnu.org>
Robert Millan [Tue, 30 Nov 2010 18:33:12 +0000 (19:33 +0100)]
2010-11-30  Robert Millan  <rmh@gnu.org>

* grub-core/loader/i386/bsd.c
(grub_cmd_freebsd_loadenv, grub_cmd_freebsd_module_elf): Check
whether kernel is loaded using grub_loader_is_loaded(), rather
than `kernel_type', which may still be `KERNEL_TYPE_NONE' under
certain error conditions.

13 years agomerge commits from before Savannah compromise
Colin Watson [Tue, 30 Nov 2010 17:01:52 +0000 (17:01 +0000)]
merge commits from before Savannah compromise

13 years agoAdd missing include
Robert Millan [Tue, 30 Nov 2010 15:23:41 +0000 (16:23 +0100)]
Add missing include

13 years ago2010-11-30 Robert Millan <rmh@gnu.org>
Robert Millan [Tue, 30 Nov 2010 14:36:47 +0000 (15:36 +0100)]
2010-11-30  Robert Millan  <rmh@gnu.org>

* grub-core/commands/echo.c (grub_cmd_echo): Call grub_refresh()
after printing a message.

13 years ago Avoid using tricks for initialising endian variables.
Vladimir 'phcoder' Serbinenko [Fri, 26 Nov 2010 21:29:19 +0000 (22:29 +0100)]
Avoid using tricks for initialising endian variables.

* grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot):
Make const.
(GRUB_MOD_INIT): Don't byte-swap.
* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
Use grub_cpu_to_le16_compile_time and grub_cpu_to_le32_compile_time.
* include/grub/types.h (grub_swap_bytes16_compile_time): New macro.
(grub_swap_bytes32_compile_time): Likewise.
(grub_cpu_to_le32_compile_time): Likewise.
(grub_cpu_to_le16_compile_time): Likewise.

13 years ago * util/grub-setup.c (setup): Stop recommending --force. People who
Vladimir 'phcoder' Serbinenko [Fri, 26 Nov 2010 21:03:16 +0000 (22:03 +0100)]
* util/grub-setup.c (setup): Stop recommending --force. People who
understand the dangers of blocklists are able to find this option
anyway and the ones who don't shouldn't use it anyway.

13 years ago2010-11-26 Robert Millan <rmh@gnu.org>
Robert Millan [Fri, 26 Nov 2010 14:35:40 +0000 (15:35 +0100)]
2010-11-26  Robert Millan  <rmh@gnu.org>

* grub-core/term/i386/pc/vga_text.c (VGA_TEXT_SCREEN): Beautify.
Update all users.

13 years agoFix LVM-on-RAID probing.
Colin Watson [Fri, 26 Nov 2010 12:26:37 +0000 (12:26 +0000)]
Fix LVM-on-RAID probing.

* util/grub-probe.c (probe): Remember which disk was detected as
RAID (perhaps an LVM physical volume).  Use that disk's raidname
rather than that of the top-level disk.

13 years ago Fix cmdline argument quotes for setparams command of menuentry
BVK Chaitanya [Thu, 25 Nov 2010 14:29:10 +0000 (19:59 +0530)]
Fix cmdline argument quotes for setparams command of menuentry
definitions.

* grub-core/commands/menuentry.c (setparams_prefix): Use single
quotes for arguments.
* grub-core/lib/legacy_parse.c (grub_legacy_escape): Use
grub_strchrsub function instead.

* include/grub/misc.h (grub_strchrsub): New function.

13 years agomerge with mainline
BVK Chaitanya [Thu, 25 Nov 2010 14:24:50 +0000 (19:54 +0530)]
merge with mainline

13 years agovariable ordering
BVK Chaitanya [Thu, 25 Nov 2010 13:37:02 +0000 (19:07 +0530)]
variable ordering

13 years agofix changelog and doc
BVK Chaitanya [Thu, 25 Nov 2010 13:35:16 +0000 (19:05 +0530)]
fix changelog and doc

13 years agoreplaced with grub_strchrsub function
BVK Chaitanya [Thu, 25 Nov 2010 13:26:20 +0000 (18:56 +0530)]
replaced with grub_strchrsub function

13 years agobetter changelog message
BVK Chaitanya [Thu, 25 Nov 2010 12:55:26 +0000 (18:25 +0530)]
better changelog message

13 years ago* util/deviceiter.c (grub_util_iterate_devices): Save a bit of
Colin Watson [Wed, 24 Nov 2010 19:43:32 +0000 (19:43 +0000)]
* util/deviceiter.c (grub_util_iterate_devices): Save a bit of
effort by skipping "." and ".." entries up-front.
Suggested by: Michael Lazarev.

13 years ago* grub-core/Makefile.core.def (xz_decompress): Move -lgcc from
Colin Watson [Wed, 24 Nov 2010 19:32:49 +0000 (19:32 +0000)]
* grub-core/Makefile.core.def (xz_decompress): Move -lgcc from
ldflags to ldadd, to fix link line ordering.
(none_decompress): Likewise.

13 years ago* grub-core/Makefile.core.def (kernel): Add kern/emu/cache.S for emu
Colin Watson [Wed, 24 Nov 2010 12:07:14 +0000 (12:07 +0000)]
* grub-core/Makefile.core.def (kernel): Add kern/emu/cache.S for emu
platforms.
(grub-emu-lite): Remove kern/emu/cache.S.

13 years ago* util/deviceiter.c (compare_devices): If the by-id link for a
Colin Watson [Tue, 23 Nov 2010 17:42:06 +0000 (17:42 +0000)]
* util/deviceiter.c (compare_devices): If the by-id link for a
device couldn't be resolved, fall back to sorting by the by-id link
rather than segfaulting.
Reported and tested by: Daniel Mierswa.

13 years ago* Makefile.util.def (grub-menulst2cfg): List libraries in ldadd, not
Colin Watson [Tue, 23 Nov 2010 15:56:18 +0000 (15:56 +0000)]
* Makefile.util.def (grub-menulst2cfg): List libraries in ldadd, not
ldflags, to fix link line ordering.

13 years ago* grub-core/Makefile.am (gentrigtables): Put -lm after $<; some
Colin Watson [Tue, 23 Nov 2010 13:00:05 +0000 (13:00 +0000)]
* grub-core/Makefile.am (gentrigtables): Put -lm after $<; some
linkers are picky about this.

13 years ago* grub-core/Makefile.am (command.lst): Adjust sed expression
Colin Watson [Tue, 23 Nov 2010 12:52:40 +0000 (12:52 +0000)]
* grub-core/Makefile.am (command.lst): Adjust sed expression
ordering so that extended and priority commands aren't treated as
ordinary commands.

13 years ago* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
Colin Watson [Tue, 23 Nov 2010 10:48:46 +0000 (10:48 +0000)]
* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
Remove byte-swapping function calls, which are not valid in
structure initialisers.
* grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot): Make
non-const.
(GRUB_MOD_INIT): Byte-swap data1, data2, and data3 fields of
grub_gpt_partition_type_bios_boot.

13 years agoFix test program build on GNU/kFreeBSD.
Colin Watson [Mon, 22 Nov 2010 18:22:50 +0000 (18:22 +0000)]
Fix test program build on GNU/kFreeBSD.

* Makefile.util.def (example_unit_test): Add `$(LIBZFS)
$(LIBNVPAIR)' library dependencies.

13 years agousual e-mail address
Colin Watson [Mon, 22 Nov 2010 18:22:00 +0000 (18:22 +0000)]
usual e-mail address

13 years ago* util/grub-install.in: Fix parsing of --grub-mkrelpath= option.
Colin Watson [Mon, 22 Nov 2010 13:57:16 +0000 (13:57 +0000)]
* util/grub-install.in: Fix parsing of --grub-mkrelpath= option.

13 years ago* util/grub-install.in: Remove excessive quoting that broke
Colin Watson [Mon, 22 Nov 2010 12:20:57 +0000 (12:20 +0000)]
* util/grub-install.in: Remove excessive quoting that broke
installations to RAID devices.

13 years ago * grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the
Vladimir 'phcoder' Serbinenko [Fri, 19 Nov 2010 21:58:06 +0000 (22:58 +0100)]
* grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the
bootloader version instead of 0.

13 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious
Vladimir 'phcoder' Serbinenko [Fri, 19 Nov 2010 21:52:27 +0000 (22:52 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious
warning.

13 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to
Vladimir 'phcoder' Serbinenko [Fri, 19 Nov 2010 21:48:26 +0000 (22:48 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to
retrieve the metadat sector if size isn't known.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.

13 years agoreuse code from legacy parser
BVK Chaitanya [Fri, 19 Nov 2010 13:38:44 +0000 (19:08 +0530)]
reuse code from legacy parser

13 years agoadd changelog entry
BVK Chaitanya [Fri, 19 Nov 2010 04:47:16 +0000 (10:17 +0530)]
add changelog entry

13 years agouse single quotes in menuentry setparams command
BVK Chaitanya [Fri, 19 Nov 2010 04:45:25 +0000 (10:15 +0530)]
use single quotes in menuentry setparams command

13 years ago2010-11-18 Robert Millan <rmh@gnu.org>
Robert Millan [Thu, 18 Nov 2010 15:52:27 +0000 (16:52 +0100)]
2010-11-18  Robert Millan  <rmh@gnu.org>

* grub-core/fs/btrfs.c (grub_btrfs_mount): Replace grub_strncmp()
with grub_memcmp().

13 years ago * grub-core/normal/menu_entry.c (print_up): Fix displacement of up
Vladimir 'phcoder' Serbinenko [Thu, 18 Nov 2010 01:08:01 +0000 (02:08 +0100)]
* grub-core/normal/menu_entry.c (print_up): Fix displacement of up
arrow.
Reported by: Jordan Uggla.

13 years ago Make better UTF compliant.
Vladimir 'phcoder' Serbinenko [Wed, 17 Nov 2010 15:13:16 +0000 (16:13 +0100)]
Make better UTF compliant.

* grub-core/normal/charset.c (grub_utf8_to_utf16): Handle 6- and 7-byte
sequences as incorrect.
(grub_is_valid_utf8): Likewise.
(grub_utf8_to_ucs4): Likewise.
(grub_ucs4_to_utf8): Handle codepoints outside of BMP.
(grub_ucs4_to_utf8_alloc): Likewise.
* include/grub/charset.h (grub_utf16_to_utf8): Likewise.

13 years ago Make legacy_source behave like source.
Vladimir 'phcoder' Serbinenko [Wed, 17 Nov 2010 07:41:18 +0000 (08:41 +0100)]
Make legacy_source behave like source.

* grub-core/commands/legacycfg.c (legacy_file): Don't call
grub_show_menu.
(grub_cmd_legacy_source): Call grub_show_menu if needed.

13 years ago* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.
Colin Watson [Tue, 16 Nov 2010 15:54:18 +0000 (15:54 +0000)]
* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.
(-Wunused implies -Wunused-parameter, but not vice versa).

13 years ago* configure.ac: Make error messages less confusing by testing for
Colin Watson [Tue, 16 Nov 2010 15:50:20 +0000 (15:50 +0000)]
* configure.ac: Make error messages less confusing by testing for
-Wtrampolines rather than -Wno-trampolines (since -Wno-* is always
accepted, but produces a diagnostic if something else is wrong).

13 years ago * grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
Vladimir 'phcoder' Serbinenko [Mon, 15 Nov 2010 09:01:11 +0000 (10:01 +0100)]
* grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
[GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: ifdef-ed out
(now unused).
(grub_keyboard_controller_init)
[GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: Don't attempt to
read the initial state since controller isn't inited yet.

13 years ago * grub-core/lib/relocator.c (malloc_in_range): Take into account that
Vladimir 'phcoder' Serbinenko [Mon, 15 Nov 2010 08:50:58 +0000 (09:50 +0100)]
* grub-core/lib/relocator.c (malloc_in_range): Take into account that
allocate_regbeg may need to create new chunk header.

13 years ago Fix quoting in legacy parser.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 23:33:28 +0000 (00:33 +0100)]
Fix quoting in legacy parser.

* grub-core/lib/legacy_parse.c (grub_legacy_escape): Correctly handle
single quotes.
(grub_legacy_parse): Likewise.
Reported by: Jordan Uggla.
Tested by: Jordan Uggla.

13 years ago Don't add -lgcc on i386 and x86_64.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 22:36:20 +0000 (23:36 +0100)]
Don't add -lgcc on i386 and x86_64.

* configure.ac (LIBS): Don't add -lgcc on i386 and x86_64.
* conf/Makefile.common (LDADD_KERNEL): Likewise.
* grub-core/Makefile.core.def (kernel): Use LDADD_KERNEL.

13 years ago * configure.ac: Add -Wno-trampolines when supported.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 16:13:44 +0000 (17:13 +0100)]
* configure.ac: Add -Wno-trampolines when supported.

13 years ago * grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_
Modestas Vainius [Sun, 14 Nov 2010 16:09:13 +0000 (17:09 +0100)]
* grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_
fakeraid.

13 years ago Add generic logical block size support for UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 16:03:49 +0000 (17:03 +0100)]
Add generic logical block size support for UDF.

* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.

13 years ago Add generic logical block size support for UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 15:58:50 +0000 (16:58 +0100)]
Add generic logical block size support for UDF.

* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.

13 years ago Properly handle deleted files on UDF.
Giuseppe Caizzone [Sun, 14 Nov 2010 15:51:45 +0000 (16:51 +0100)]
Properly handle deleted files on UDF.

* grub-core/fs/udf.c (grub_udf_iterate_dir): Skip directory entries
whose "characteristics" field has the bit GRUB_UDF_FID_CHAR_DELETED
set.

13 years ago Support reading files larger than 2 GiB.
Giuseppe Caizzone [Sun, 14 Nov 2010 15:48:17 +0000 (16:48 +0100)]
Support reading files larger than 2 GiB.

* grub-core/fs/udf.c (grub_udf_iterate_dir): Change type of variable
"offset" to grub_off_t.
(grub_udf_read_file): Likewise for parameter "pos".

13 years ago * docs/grub.texi (Changes from GRUB Legacy): Note when save_env is
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 15:25:28 +0000 (16:25 +0100)]
* docs/grub.texi (Changes from GRUB Legacy): Note when save_env is
unavailable.
(Simple configuration): Refer to Changes from GRUB Legacy about
save_env availability.

13 years ago * util/grub-install.in: Ignore empty partition table detection
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 15:15:41 +0000 (16:15 +0100)]
* util/grub-install.in: Ignore empty partition table detection
instead of trying to include part_ module.

13 years ago * grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 13:13:11 +0000 (14:13 +0100)]
* grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes
LVM on RAID support.

13 years ago Properly define WORDS_BIGENDIAN in wrapped environments.
Vladimir 'phcoder' Serbinenko [Sun, 14 Nov 2010 12:37:59 +0000 (13:37 +0100)]
Properly define WORDS_BIGENDIAN in wrapped environments.

* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): New
definition.
* grub-core/lib/posix_wrap/sys/types.h (WORDS_BIGENDIAN): Likewise.

Reported by: Manoel Rebelo Abranches.
Tested by: Manoel Rebelo Abranches.

13 years ago * util/grub-mkconfig.in: Fix quoting.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:27:29 +0000 (16:27 +0100)]
* util/grub-mkconfig.in: Fix quoting.

13 years ago Support big ext2 files.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:11:24 +0000 (16:11 +0100)]
Support big ext2 files.

* grub-core/fs/ext2.c (grub_ext2_inode): Rename dir_acl to size_high.
(grub_ext2_read_block): Support triple indirect blocks.
(grub_ext2_read_file): Use 64-bit types and read size_high.
(grub_ext2_open): Read size_high.
Reported by: Ximin Luo.
Tested by: Manoel Rebelo Abranches.

13 years ago * util/grub-install.in: Handle filenames containing spaces.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:03:29 +0000 (16:03 +0100)]
* util/grub-install.in: Handle filenames containing spaces.
Reported by: Jordan Uggla.
Tested by: Jordan Uggla.

13 years ago * util/grub-mkconfig.in (grub_script_check): New variable.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 15:00:39 +0000 (16:00 +0100)]
* util/grub-mkconfig.in (grub_script_check): New variable.
Use grub_script_check instead of grub-script-check.
Reported by: Barry Jackson.

13 years ago * docs/grub.texi (menu): Correct the order.
Vladimir 'phcoder' Serbinenko [Sat, 13 Nov 2010 14:56:23 +0000 (15:56 +0100)]
* docs/grub.texi (menu): Correct the order.
Reported by: D. Hugh Redelmeier.

13 years ago * grub-core/kern/i386/pc/startup.S (multiboot_trampoline): Add missing
Vladimir 'phcoder' Serbinenko [Fri, 12 Nov 2010 07:45:16 +0000 (08:45 +0100)]
* grub-core/kern/i386/pc/startup.S (multiboot_trampoline): Add missing
jump.

13 years ago2010-11-08 Manoel Rebelo Abranches <mrabran@br.ibm.com>
Manoel Rebelo Abranches [Mon, 8 Nov 2010 13:14:54 +0000 (11:14 -0200)]
2010-11-08  Manoel Rebelo Abranches <mrabran@br.ibm.com>

        * include/grub/elfload.h (grub_elf32_size): New parameter. All users updated.
        Return maximum segments alignment.
        (grub_elf64_size): Likewise.
        * kern/elf.c (grub_elf32_size): New parameter. All users updated.
        Return maximum segments alignment.
        (grub_elf64_size): Likewise.
        * grub-core/loader/powerpc/ieee1275/linux.c:
        (grub_linux_claimmap_iterate): New function. Uses the "available"property
        in the "memory" node for memory allocation for kernel in the PowerPC loader.
        (grub_linux_load32): Correctly find linux entry point offset.
        (grub_linux_load64): Likewise.

13 years ago2010-11-07 Robert Millan <rmh@gnu.org>
Robert Millan [Sun, 7 Nov 2010 15:29:10 +0000 (16:29 +0100)]
2010-11-07  Robert Millan  <rmh@gnu.org>

On mips-yeeloong, build with -march=loongson2f when this flag is
available (GCC >= 4.4).
* conf/Makefile.common [COND_mips_yeeloong] (CFLAGS_PLATFORM): Remove
`-march=mips3'.
* configure.ac: For mips-yeeloong, add -march=loongson2f if available,
or otherwise add -march=mips3.

13 years ago Suppress shell expansion on echo '*' and echo "*" like cases.
BVK Chaitanya [Sun, 7 Nov 2010 14:52:29 +0000 (20:22 +0530)]
Suppress shell expansion on echo '*' and echo "*" like cases.
Reported by: Jordan Uggla.

* grub-core/script/execute.c (grub_script_arglist_to_argv): Escape
string arguments before shell expansion.
* tests/grub_cmd_echo.in: New testcases.

13 years ago2010-11-07 Robert Millan <rmh@gnu.org>
Robert Millan [Sun, 7 Nov 2010 14:10:09 +0000 (15:10 +0100)]
2010-11-07  Robert Millan  <rmh@gnu.org>

* conf/mips-qemu-mips.rmk: Remove stale file from previous
transition.

13 years agomerge with mainline
BVK Chaitanya [Sun, 7 Nov 2010 13:01:41 +0000 (18:31 +0530)]
merge with mainline

13 years agoadd changelog entry
BVK Chaitanya [Sun, 7 Nov 2010 10:48:29 +0000 (16:18 +0530)]
add changelog entry

13 years agosuppress shell expansion inside quoted strings
BVK Chaitanya [Sun, 7 Nov 2010 10:43:14 +0000 (16:13 +0530)]
suppress shell expansion inside quoted strings

13 years ago * grub-core/kern/emu/hostdisk.c
Vladimir 'phcoder' Serbinenko [Sat, 6 Nov 2010 23:10:49 +0000 (00:10 +0100)]
* grub-core/kern/emu/hostdisk.c
(convert_system_partition_to_system_disk): Handle devices like "sdaa1".