Commit Graph

4279 Commits

Author SHA1 Message Date
rmh
b79a767850 * grub-pc.postinst: Generate new grub.cfg when menu.lst exists. 2007-06-06 17:36:43 +00:00
robertmh
fb36dc2693 2007-06-04 Robert Millan <rmh@aybabtu.com>
* conf/i386-efi.rmk (grub_probe_SOURCES): Add partmap/apple.c.

	* conf/i386-pc.rmk (grub_probe_SOURCES): Likewise.

	* conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add partmap/pc.c.
2007-06-04 19:48:53 +00:00
rmh
1d1714d3ee - patches/grub_probe_for_everyone.diff: Remove (merged).
- Fix those nasty powerpc bugs.  (Closes: #422729)
2007-06-04 19:31:38 +00:00
robertmh
0c68c93e62 2007-06-04 Robert Millan <rmh@aybabtu.com>
* conf/powerpc-ieee1275.rmk: Enable grub-mkdevicemap and grub-probe.

	* include/grub/partition.h: Declare grub_apple_partition_map_init and
	grub_apple_partition_map_fini.

	* util/biosdisk.c
	(grub_util_biosdisk_open): Replace BLKGETSIZE with BLKGETSIZE64 (needed
	to access >2 TiB disks).

	Print disk->total_sectors with %llu instead of %lu, since this
	variable is always 64-bit (prevents wrong disk size from being displayed
	on either >2 TiB disk or big-endian CPU).

	(grub_util_biosdisk_get_grub_dev): Convert gpt_partition_map handling
	into a generic case that supports all (sane) partition maps.

	Stop using grub_cpu_to_le32() on dos_part / bsd_part since it actually
	breaks big-endian.

	* util/grub-probe.c: Call grub_apple_partition_map_init() before probe()
	and grub_apple_partition_map_fini() after that.
2007-06-04 18:58:17 +00:00
rmh
2faf2ce6e1 * New CVS snapshot.
- update-grub exports user-defined GRUB_CMDLINE_LINUX.  (Closes: #425453)
2007-06-01 15:23:22 +00:00
robertmh
0f23eb7460 2007-06-01 Robert Millan <rmh@aybabtu.com>
* util/update-grub.in: Export GRUB_CMDLINE_LINUX.

	* util/grub.d/00_header.in: Only enable gfxterm when
	convert_system_path_to_grub_path() succeeds.
2007-06-01 15:21:20 +00:00
rmh
1d6e451e95 Make sure debian/script is always executable. 2007-05-20 09:19:38 +00:00
rmh
72358b97ef Update CVS snapshot date. 2007-05-20 09:12:25 +00:00
rmh
4f74b8e879 * grub-{pc,efi,of}.{dirs,postinst}: Move unifont.pff to /usr/share/grub. 2007-05-20 09:11:34 +00:00
robertmh
42c71976c6 2007-05-20 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in: New file.
	* DISTLIST: Add update-grub_lib.in.
	* conf/common.rmk: Generate update-grub_lib and install it in
	$(lib_DATA).
	* Makefile.in: Add install routine for $(lib_DATA).

	* util/grub.d/00_header.in: Use convert_system_path_to_grub_path()
	function provided by update-grub_lib to support arbitrary paths of
	unifont.pff.
	* util/update-grub.in: Use convert_system_path_to_grub_path() to
	initialize GRUB_DRIVE_BOOT and GRUB_DRIVE_BOOT_GRUB variables.
2007-05-20 09:10:06 +00:00
rmh
e8d00bcc68 Fix syntax error. 2007-05-20 08:40:57 +00:00
rmh
ca1d5ac66b * control: Update XS-Vcs-* fields. Thanks Sam Morris <sam@robots.org.uk>.
(Closes: #425146)
2007-05-20 07:58:05 +00:00
rmh
125badfd13 * patches/partmap_fallback.diff: New. Implement fallback "pc gpt" for partmap
detection failures.  (Closes: #423022)
2007-05-20 07:52:05 +00:00
rmh
1a5b4b14bd * grub-{pc,efi,of}.postinst: Only run update-grub if grub.cfg already exists.
* grub-pc.postinst: Only run GRUB Legacy compat stuff if menu.lst is found.
2007-05-20 07:47:53 +00:00
robertmh
5beb22914d 2007-05-19 Robert Millan <rmh@aybabtu.com>
* commands/i386/cpuid.c: New module.
	* DISTLIST: Add it.
	* conf/i386-efi.rmk: Enable cpuid.mod.
	* conf/i386-pc.rmk: Likewise.
2007-05-20 07:20:43 +00:00
rmh
ecc1272d7c * legacy/update-grub: Get rid of all grub-set-default calls. (Closes: #425054) 2007-05-19 11:09:21 +00:00
rmh
1b14457f5d Close #424985. 2007-05-19 11:07:59 +00:00
rmh
5ff45833c0 Close a pair of bugs fixed in upstream.. 2007-05-19 10:57:37 +00:00
rmh
27d48c1775 Bug #423648 fixed by upstream. 2007-05-19 09:06:22 +00:00
jeroen
7262eca1e3 2007-05-18 Jeroen Dekkers <jeroen@dekkers.cx>
* kern/disk.c (grub_disk_read): Check return value of
	grub_realloc().
2007-05-18 21:40:06 +00:00
jeroen
260ba823e6 2007-05-18 Jeroen Dekkers <jeroen@dekkers.cx>
* util/getroot.c (grub_util_get_grub_dev): Support partitionable
	arrays.
	* disk/raid.c (grub_raid_open): Likewise.
2007-05-17 23:23:03 +00:00
jeroen
1ecb6cf2b4 2007-05-17 Jeroen Dekkers <jeroen@dekkers.cx>
* util/biosdisk.c (linux_find_partition): Allocate real_dev on the
	stack instead of on the heap.

	* kern/disk.c (grub_disk_read): Make sure tmp_buf is big enough
	before doing a read on it.

	* configure.ac: Only use -fno-stack-protector for the target
	environment.
2007-05-17 19:03:42 +00:00
jeroen
21c8cbb1ab 2007-05-17 Jeroen Dekkers <jeroen@dekkers.cx>
* video/i386/pc/vbe.c (grub_video_vbe_create_render_target): Add
	__attribute_ ((unused)) to mode_type argument.

	* util/getroot.c (grub_guess_root_device): Fix #endif.

	* kern/misc.c (memcmp): Fix prototype.

	* include/grub/partition.h [GRUB_UTIL]
	(grub_gpt_partition_map_init): Add prototype.
	(grub_gpt_partition_map_fini): Likewise.

	* fs/jfs.c (struct grub_jfs_inode): Put __attribute__ ((packed)
	at the right place.

	* fs/fat.c (grub_fat_mount): Replace ~0UL with ~0U.
	(grub_fat_read_data): Likewise.
	(grub_fat_find_dir): Likewise.

	* font/manager.c (find_glyph): Make table a const.
	(grub_font_get_glyph): Remove bitmap from if statement.
2007-05-17 15:43:32 +00:00
jeroen
849d55d3d1 2007-05-16 Jeroen Dekkers <jeroen@dekkers.cx>
* util/getroot.c (grub_guess_root_device): Remove RAID and LVM
	code, first search for device in /dev/mapper, then in /dev.
	(grub_util_get_grub_dev): New function.
	* include/grub/util/getroot.h (grub_util_get_grub_dev): Add
	prototype.
	* util/grub-probe.c (probe): Remove check for RAID, call
	grub_util_get_grub_dev() instead of
	grub_util_biosdisk_get_grub_dev().
	* util/grub-emu.c (main): Call grub_util_get_grub_dev() instead of
	grub_util_biosdisk_get_grub_dev().
	* util/i386/pc/grub-setup.c (main): Likewise.
2007-05-16 21:38:44 +00:00
rmh
6db7bc5d0e * New CVS snapshot.
- patches/efi.diff: Remove (merged).
    - patches/grub_probe_for_everyone.diff: Use the new paths for
      util/grub-probe.c, util/biosdisk.c, util/getroot.c.  Enable
      grub-mkdevicemap.
2007-05-16 15:28:33 +00:00
robertmh
8fff7c2f2a 2007-05-16 Robert Millan <rmh@aybabtu.com>
* DISTLIST: Update for the latest changes.
	* conf/i386-pc.rmk: Use the new paths for util/getroot.c,
	util/grub-mkdevicemap.c, util/grub-probe.c and util/biosdisk.c.
	* util/grub-emu.c: Replace grub/i386/pc/util/biosdisk.h with
	grub/util/biosdisk.h.
	* util/i386/pc/grub-setup.c: Replace grub/machine/util/biosdisk.h with
	grub/util/biosdisk.h.
2007-05-16 15:19:38 +00:00
robertmh
48e12b52d3 2007-05-16 Robert Millan <rmh@aybabtu.com>
* util/grub.d/00_header.in: Set default gfxmode to `640x480'.
2007-05-16 15:06:45 +00:00
robertmh
46b9d12846 2007-05-16 Robert Millan <rmh@aybabtu.com>
* util/i386/efi/grub-install.in: New.
	* conf/i386-efi.rmk: Enable grub-mkdevicemap, grub-probe and the
	newly added grub-install.
	* util/biosdisk.c: Remove unnecessary grub/machine/biosdisk.h
	include.
	* util/getroot.c: Replace grub/i386/pc/util/biosdisk.h with
	grub/util/biosdisk.h.
	* util/grub-probe.c: Replace grub/machine/util/biosdisk.h with
	grub/util/biosdisk.h.
2007-05-16 15:05:02 +00:00
robertmh
2d1a40a90c 2007-05-16 Robert Millan <rmh@aybabtu.com>
* include/grub/i386/pc/util/biosdisk.h: Moved to ...
	* include/grub/util/biosdisk.h: ... here.
	* util/i386/pc/biosdisk.c: Moved to ...
	* util/biosdisk.c: ... here.
	* util/i386/pc/getroot.c: Moved to ...
	* util/getroot.c: ... here.
	* util/i386/pc/grub-mkdevicemap.c: Moved to ...
	* util/grub-mkdevicemap.c: ... here.
	* util/i386/pc/grub-probe.c: Moved to ...
	* util/grub-probe.c: ... here.
2007-05-16 14:54:08 +00:00
jeroen
bdc79cd1b3 Regenerate 2007-05-16 13:30:58 +00:00
rmh
e6f4860a63 * Fix some lintian warnings.
- control (grub2): Depend on debconf.
    - README.Debian.in: Fix mispell.
    - grub2.templates: Remove extra dot.
2007-05-15 20:07:33 +00:00
rmh
80c59d6043 * Install the reportbug scripts for grub2 too, since users might still use
it for bugfiling.
    - grub2.dirs
    - grub2.install
2007-05-15 19:52:26 +00:00
robertmh
9e26e3bc68 2007-05-15 Robert Millan <rmh@aybabtu.com>
* util/update-grub.in: Remove duplicated line in grub.cfg header
	message.
2007-05-15 19:25:56 +00:00
rmh
070f908f4a * grub-{pc,efi,of}.{dirs,install}: Install presubj in the right directory
to make it work again (oops).
2007-05-15 18:40:34 +00:00
rmh
9d4980bc7c Misc fixes / changelog entries for bug #423217. 2007-05-15 18:12:48 +00:00
rmh
c692929022 * Misc EFI fixes, including new grub-install. 2007-05-15 17:56:30 +00:00
rmh
bf4de9eb01 Add upstream entry with a few Closes lines. 2007-05-14 09:10:36 +00:00
rmh
8d218555cb Oops. Revert accidentaly-committed files. 2007-05-14 09:00:03 +00:00
rmh
322cca96a6 * New CVS snapshot.
- default/grub: Stop exporting the variables (update-grub does that now).
2007-05-14 08:55:55 +00:00
robertmh
57f9639766 2007-05-13 Robert Millan <rmh@aybabtu.com>
* util/update-grub.in: Fix a few assumptions about the devices holding
	/, /boot and /boot/grub being the same.
	* util/grub.d/00_header.in: Likewise.
	* util/grub.d/10_hurd.in: Likewise.
	* util/grub.d/10_linux.in: Likewise.

	* util/grub.d/10_linux.in: Implement Linux image sorting with arbitrary
	patterns.  Use that to define the `.old' suffix as older than `'.

	* util/grub.d/00_header.in: Set default gfxmode to `800x600x16'.

	* util/update-grub.in: Add a reference to ${sysconfdir}/default/grub in
	the grub.cfg header message.
2007-05-13 19:28:54 +00:00
robertmh
2e610d6273 2007-05-11 Robert Millan <rmh@aybabtu.com>
* util/update-grub.in: Create device.map if it doesn't already exist,
	before attempting to run grub-probe.
	Check for grub-probe and grub-mkdevicemap with the same code
	grub-install is using.
	Remove test mode.
2007-05-11 15:53:02 +00:00
rmh
3ae88f977c Maintain liblzo-dev as an option (for backports). 2007-05-11 14:55:25 +00:00
otavio
75cc5d0792 * Change build-dependency from liblzo-dev to liblzo2-dev. (Closes: #423358) 2007-05-11 12:25:38 +00:00
rmh
29f0c10764 - Redirect grub-install invocation to /dev/null, since it can mislead
users into thinking that MBR was overwritten.
2007-05-10 17:38:23 +00:00
rmh
940f50e190 * grub-pc.postinst: Use grub-mkdevicemap instead of removing device.map,
since update-grub needs it but grub-install is not run unconditionaly.
2007-05-10 17:18:25 +00:00
rmh
65455e472f * grub-pc.postinst: Always run update-grub after grub-install. (part of
#423217)
2007-05-10 16:18:54 +00:00
jeroen
3f6a10ef11 2007-05-09 Jeroen Dekkers <jeroen@dekkers.cx>
* Makefile.in: Add the datarootdir autoconf variable.
2007-05-09 21:24:33 +00:00
robertmh
02e7b75ee8 2007-05-09 Robert Millan <rmh@aybabtu.com>
* util/i386/pc/grub-probe.c (probe): When detecting partition map,
        fail gracefuly if dev->disk->partition == NULL.
2007-05-09 15:09:41 +00:00
otavio
ac0b19535a Fix closes format. 2007-05-09 14:10:37 +00:00
rmh
3a9010c901 * grub-pc.postinst: Remove /boot/grub/device.map before running
grub-install. (Closes: #422851)
2007-05-09 13:30:37 +00:00