Commit Graph

6719 Commits

Author SHA1 Message Date
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
otavio
3a12e08d1c * Add Robert Millan as uploader. 2007-05-09 12:46:55 +00:00
otavio
b06452a499 * Add support to DEB_BUILD_OPTIONS=noopt. Thanks to Sam Morris
<sam@robots.org.uk> for the patch. Closes: #423005.
2007-05-09 12:46:21 +00:00
otavio
cac037759d * Move debian/update-grub to debian/legacy/update-grub otherwise the
source gets messy.
2007-05-07 21:49:12 +00:00
rmh
baca1f0e6d unifont.pff should be in /boot/grub, not /boot. 2007-05-07 21:31:17 +00:00
rmh
41c91e25f9 Fix clean rule not to remove static files (oops). 2007-05-07 21:00:29 +00:00
rmh
d6105ccd76 On grub-pc, if menu.lst is found, regenerate it to include our core.img. 2007-05-07 20:49:25 +00:00
rmh
6c11a0d2e9 * On grub-pc, if there's no core.img setup, create one (but do not
risk writing to MBR).
2007-05-07 20:38:19 +00:00
rmh
1133125b64 * Enable gfxterm/unifont support. 2007-05-07 20:08:10 +00:00
robertmh
75f396ccfa 2007-05-07 Robert Millan <rmh@aybabtu.com>
* util/i386/pc/grub-probe.c: Add `grub-probe -t partmap' parameter to
	determine partition map module.
	* util/i386/pc/grub-install.in: Use this feature to decide which
	partition module to load, instead of hardcoding pc and gpt.
2007-05-07 19:54:46 +00:00
rmh
365e3558eb Fix debhelper files to ensure each package gets the right thing. 2007-05-07 19:39:45 +00:00