Up to [cvs.NetBSD.org] / pkgsrc / sysutils / grub
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
sysutils: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
sysutils: Remove SHA1 hashes for distfiles
Add SHA512 digests for distfiles for sysutils category Problems found with existing digests: Package memconf distfile memconf-2.16/memconf.gz b6f4b736cac388dddc5070670351cf7262aba048 [recorded] 95748686a5ad8144232f4d4abc9bf052721a196f [calculated] Problems found locating distfiles: Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9 Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Apply patch: Fix problem with systems with more than 2 GB memory (notably, x86_64-based systems). Thanks Goswin Brederlow. From Debian via Andrew Daugherity in PR 36627. Bump PKGREVISION. pkglint cleanup while here.
Fix build problems with GCC 4.x if netboot support is enabled. Patches provided by Dieter Roelants in PR pkg/36549.
Make it clear how to boot a Multiboot-enabled kernel. Per suggestion in PR pkg/34936. Bump PKGREVISION to 7.
stage2/pc_slice.h: add the missing disklabel FS_TYPE #defines and RF_PROTECTED_SECTORS. stage2/disk_io.c: adjust the partition start and size by RF_PROTECTED sectors for partitions of type FS_RAID. stage2/fsys_ffs.c: accept partitions of type FS_RAID as candidates for FFS, too. stage2/fsys_ufs2.c: accept partitions of type FS_RAID as candidates for FFSv2, too. This allows grub to directly boot from NetBSD RAID1 partitions the same way as with the native bootloader. Bump PKGREVISION.
Workaround a bug that prevents GRUB to load ELF kernels that explicitly specify load addresses in their Multiboot header. (E.g., NetBSD.) This has already been sent to GRUB's bug tracking system: http://savannah.gnu.org/bugs/?func=detailitem&item_id=15590 Bump PKGREVISION to 4.
On NetBSD, recognize ld(4) disk devices attached to HW raid controllers, e.g. aac(4), amr(4), twe(4), etc., so that we can install grub onto them. Bump PKGREVISION of sysutils/grub to 0.97nb3.
Restored the original RCS Id from reboot.h into patch-ad and enclosed it by % instead of $. Fixes a pkglint warning about possible RCS tag.
Instead of trying to workaround the possible conflict between grub's internal term.h and ncurses' term.h, just rename grub's to grubterm.h and avoid the potential problems altogether.
Apply patches to recognize boot options passed to NetBSD kernels. Bump PKGREVISION to 1. From Piotr Meyer in PR pkg/30834. As GRUB 0.x is in maintenance-only status now, I assume there is no chance to get them incorporated mainstream. We'll keep them here though, as they seem useful (could have really helped me in some situations when needing to boot single user).
Update to 0.97. Changes: * Fix the prototypes and the definitions of nested functions. This was required for gcc-4. * Implement a more robust workaround for buggy BIOSes which don't pass boot drive correctly (notably for HP Vectra).
Add RMD160 digests.
Update to 0.96: New in 0.96 - 2005-01-30: * The command "fallback" supports mutiple fallback entries. * The command "savedefault" supports an optional argument which is the number of next boot entry or the special keyword `fallback'. * New utility "grub-set-default". * New section "Making your system robust" in the manual.
Update sysutils/grub to 0.95, and remove obsoleted options GRUB_USE_UFS2/GRUB_USE_ISO9660, they are not longer needed. New in 0.95 - 2004-06-13: * Add support for ReiserFS 3. * Fix support for FreeBSD 5. * Support ATARAID for Linux in the grub shell and grub-install. * Add CDROM support for El Torito with no emulation mode. You can use (cd) as a CDROM drive in the config file. * Option --no-mem-option is implied for Linux 2.4.18 and newer. * Add support for UFS2.
Add support for UFS2 from FreeBSD. Patch provided by FUKAUMI Naoki in PR pkg/25434.
Apply an optional patch for eltorito support, so you can boot grub via a cdrom. It can be enabled with the option "GRUB_ISO9660" and is disabled by default.
Update grub to 0.94: * Support building on x86-64 with gcc -m32. * Use a BIOS call to turn on/off Gate A20. This should solve various problems related to Gate A20 in modern BIOSes. * Add a workaround for buggy BIOSes (notably HP Vectra series) which don't pass the boot drive correctly. * Display "GNU GRUB" instead of "GRUB" in the menu. * Add support for QNX RTP into the grub shell. * Add support for the initrd max address of a kernel header in Linux. * Support 32 bit and 64 bit dev_t. * Add support for an install device in GRUB's notation with no parenthesis (e.g. grub-install hd0). * Improve the manual a lot. While here, add a new build definition, GRUB_PRESET_COMMAND, which can be set to a single command that will be embedded in grub's stage2 and executed during bootup (useful for automated diskless setups). Also make use of BUILD_DEFS properly. And pick up maintainership, as requested by tron@.
Solve the problem with the missing memcpy differently (Forward patch from the fix that finally went into grub's CVS) The old way had problems finding disks and formatting curses output properly. Fixes PR pkg/24214.
Fix compilation on -current (gcc3): 1) remove superfluous long in stage2/fsys_reiserfs.c (forward port from current version in grub CVS) 2) provide an explicit memcpy stub so the memcpy inserted by gcc3 as consequence of a pass-by-value can be linked against (patch from Joachim Kainz in grub bug report 3343)
Fix grub-install problem reported in PR 22049 by Soren Jacobsen. While here, convert to USE_NEW_TEXINFO, and make it compile. [freestanding, but using nested functions; gcc emits __enable_exec_stack, which lives in libgcc, but is not linked because the program is supposed to be freestanding. Provide dummy __enable_exec_stack function.] Bump PKGREVISION.
Replace uses of -fno-builtin with -ffreestanding. -ffreestanding also implies -fno-builtin, but also conveys additional information ("not in a hosted environment"). This is 1/2 of the fix for PR toolchain/19265.
Update grub to 0.93. Changes in this version: * Define the behavior of the boot loader when the load end address is zero and the bss end address is zero in the Multiboot Specification. Also, add the support into GRUB. * Finally, we have a Bug Tracking System! Now the preferable way to report bugs is to use the BTS rather than sending e-mail to bug-grub. See <http://bugcomm.enbug.org/?project=grub&mode=project>, for more details. * The appendix "FAQ" in the manual is removed. See the GNU GRUB FAQ on the web <http://www.gnu.org/software/grub/grub-faq.html> instead. * The terminal handling code is rewritten radically, and many bugfixes are made at the same time. * The command "color" is effective even in the command-line. * The command "terminal" takes two new options, ``--no-echo'' and ``--no-edit''. If you specify ``--no-echo'', GRUB won't echo back input characters. If you specify ``--no-edit'', GRUB will disable the BASH-like editing feature. These options are useful when using an intelligent terminal (such as the comint mode in GNU Emacs). * The utility ``grub-md5-crypt'' prompts to retype a password and checks if the passwords match. * Support for booting Linux is rewritten, so GRUB now supports large-EBDA systems. * The menu interfaces supports Page Up, Page Down, and Right Key. * New command "terminfo", for vt100-incompatible terminals. * New options, ``-D'', ``-g'' and ``-m'' are supported for FreeBSD.
Update to 0.92: * The command "displaymem" uses only hex digits for consistency. * The netboot code goes back to the progress bars instead of dots, for the notation of data transfers. And, that is displayed only in debug mode, that is to say, nothing is displayed by default. Remember that you can turn on debug mode via the command "debug". * The command "help" doesn't show all the available commands by default, when no argument is specified. Rarely used commands (such as "testload") and useless commands in interactive use (such as "savedefault") are hidden. If you want to see help messages for those commands, specify the new option "--all". * A built-in, `more'-like pager is added. When a command prints too many lines to fit the screen, GRUB waits until you hit return key. This feature can be turned off by the new command "pager". * The command "terminal" accepts a new option, "--lines=LINES". You can set the maximum number of lines arbitrarily with this option. If you don't specify it, the maximum number will be 24. * The command "terminal" accepts another new option, "--silent". You can suppress the "Press any key to continue" message with this option. * The mem= option for Linux is recognized and used to limit the maximum address of initrd. * A fallback entry is executed immediately after a default entry, without prompting a user's intervention, as the manual has ever been saying. * The utility ``grub-install'' makes sure that GRUB images have been written to a physical disk completely. To assist this feature, a new command "dump" is added.
Import new package grub. Submitted by jgoerzen@complete.org in pkg/15065. I updated it to 0.91 and removed patch-aa which the submitter already sent to the grub people. GRUB is the GRand Unified Bootloader. Briefly, bootloader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the operating system kernel software (such as NetBSD orLinux). GRUB understands ffs, FAT{16,32}, ext2fs, ReiserFS, minixfs, and VSTafs. It can directly boot NetBSD, FreeBSD, OpenBSD and Linux without any other bootloader, loading a.out and ELF kernels from the disk and passing along necessary arguments (in most cases). It can also boot any operating system (the above, plus eg Windows, OS/2) by chaining to that operating system's specific loader. Grub features a runtime command line and loads its configuration at boot rather than requiring rerunning of a separate utility. Other features are TFTP booting, serial console support, large disk support, support for both DOS MBR label and BSD disklabel simultaneously, booting from hard drive or floppy. GRUB is available for the i386 architecture only.
Initial revision