Commit Graph

10293 Commits

Author SHA1 Message Date
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
Colin Watson
5c7d370148 Avoid assuming that gets is declared. 2012-11-18 10:23:03 +00:00
Colin Watson
93df645831 Fix incorrect initrd minimum address calculation (LP: #1055686). 2012-11-18 10:21:46 +00:00
Colin Watson
0b94791fcb * Merge from Ubuntu:
- Ignore symlink traversal failures in grub-mount readdir
    (LP: #1051306).
2012-11-18 10:20:28 +00:00
Colin Watson
26cceb630a Move powerpc-ibm-utils and powerpc-utils dependencies from
grub-ieee1275-bin to grub-ieee1275 (closes: #693400).
2012-11-17 23:15:02 +00:00
Colin Watson
a0c04d6205 Drop grub-ieee1275-bin's dependency on bc in favour of powerpc-ibm-utils
(>= 1.2.12-1) (cf. #625728).
2012-11-16 23:31:47 +00:00
Grégoire Sutre
03711240c8 Fix ordering and tab indentation of NetBSD boot menu entries. 2012-10-28 11:55:22 +01:00
Michael Gilbert
489654c966 * Non-maintainer upload.
* Apply Ubuntu patch fixing some EFI boot failures (closes: #687320)
  - Thanks to Colin Watson.
2012-10-14 04:09:51 -04: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
Christoph Junghans
9e0bee42cd * grub-core/Makefile.am (moddep.lst): Use $(AWK) instead of awk 2012-10-12 15:04:02 +02: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
a9bc269208 Set a file encoding, per PEP 0263. 2012-09-27 13:27:58 +01:00
Colin Watson
425aceeb2f * debian/apport/source_grub2.py:
- Use context managers to avoid (harmless) file descriptor leaks.
2012-09-27 13:26:48 +01:00
Colin Watson
4cfaf5e2a9 releasing version 2.00-7 2012-09-26 17:05:50 +01:00
Colin Watson
f84028752c Avoid getting confused by inaccessible loop device backing paths
(LP: #938724).
2012-09-26 16:03:05 +01:00
Colin Watson
dc50034e02 bug reference 2012-09-26 16:02:05 +01:00
Colin Watson
4e99dc2a14 * Merge from Ubuntu:
- Prefer translations from language packs.  (No-op for Debian, but
    harmless.)
2012-09-26 15:58:40 +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
227bfa7488 Fix tftp endianness problem. 2012-09-26 13:47:00 +01:00
Colin Watson
1c65b2d2f1 fix syntax error in patch header 2012-09-26 13:46:00 +01:00
Colin Watson
e8bcbcfd98 note backport in changelog 2012-09-26 13:44:39 +01:00
Colin Watson
4826e02ee5 Fix stderr leakage from grub-probe in is_path_readable_by_grub. 2012-09-26 13:17:18 +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
403a1744ec releasing version 2.00-6 2012-09-25 23:40:03 +01:00
Colin Watson
7df5156829 merge 1.99-23 2012-09-25 22:46:55 +01:00
Colin Watson
d6ddc32c7f releasing version 1.99-23 2012-09-25 22:38:56 +01:00
Colin Watson
a619b95e5f Manually expand @PACKAGE@ symbols in grub-efi.postinst (closes:
#688725), grub-linuxbios.postinst (closes: #688726), and grub2.postinst
(closes: #688724).
2012-09-25 18:52:09 +01:00
Colin Watson
cb51936d16 Autogenerate packaging files for grub-emu (closes: #688727), in order
that its postinst does not contain unexpanded @PACKAGE@ symbols.
2012-09-25 18:50:25 +01:00
Colin Watson
660b2e4557 Revert gcc-4.6-multilib build-dependency change from 2.00-1, since
kfreebsd-i386 and hurd-i386 don't have gcc-4.6-multilib.  Instead, make
sure to only install efiemu32.o and efiemu64.o on (linux-)i386,
kopensolaris-i386, and any-amd64.
2012-09-25 18:44:27 +01:00
Colin Watson
364bdc0457 Use xz compression for all binaries to save up some space on CD images
(closes: #688773).
2012-09-25 18:27:35 +01: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
9067c8bcd7 * Backport from upstream:
- Fix grub-emu build on FreeBSD.
2012-09-22 21:22:41 +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
ab7da13cef Adjust package descriptions to talk about update-grub, not update-grub2. 2012-09-21 17:21:29 +01:00
Colin Watson
199798b0de releasing version 2.00-5 2012-09-19 10:42:54 +01:00