Getting ready for new release.

This commit is contained in:
gord 1999-09-30 18:19:06 +00:00
parent 18637363ba
commit d66e649b3f
10 changed files with 64 additions and 40 deletions

View file

@ -1,3 +1,14 @@
1999-09-30 Gordon Matzigkeit <gord@fig.org>
* debian/postinst: New file to call install-info.
* debian/prerm: Likewise.
* debian/rules (binary-arch): Add postinst and prerm, compress the
info files, and call dpkg-shlibdeps.
* stage2/cmdline.c (skip_to): Restructure, and count tabs as
whitespace.
(find_command): Likewise.
1999-09-30 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* grub/getopt.c: Moved to ...

View file

@ -14,7 +14,7 @@ edit configuration files or rerun a special installation program.
NOTE: GRUB does not yet have a simple installation mechanism, but
we're working on this, so please don't report it as a bug. Until
then, read the Texinfo documentation, and copy the binary files in
then, do `info grub', and copy the binary files in
/usr/lib/grub/$(HWARCH) to /boot/grub.
WARNING: Never use the binary files in /usr/lib/grub directly

5
debian/changelog vendored
View file

@ -1,5 +1,10 @@
grub (0.5.93) unstable; urgency=low
* Updated example configurations. (fixes:bug#42136)
* Highlight color set correctly when editing. (fixes:bug#42549)
* dpkg-shlibdeps called on /usr/sbin/grub. (fixes:bug#42704)
* Properly install Texinfo documentation. (fixes:bug#42705,bug#42919)
grub (0.5.92) unstable; urgency=low
* Data files are now in /usr/lib/grub/$(HWARCH).

2
debian/control vendored
View file

@ -1,7 +1,7 @@
Source: grub
Section: base
Priority: extra
Maintainer: Gordon Matzigkeit <gord@debian.org>
Maintainer: GNU GRUB Maintainers <bug-grub@gnu.org>
Standards-Version: 2.5.0.0
Package: grub

2
debian/copyright vendored
View file

@ -24,4 +24,4 @@ GRUB's copyright:
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
On Debian GNU systems, the complete text of the GNU General Public
License can be found in `/usr/doc/copyright/GPL'.
License can be found in `/usr/share/common-licenses/GPL'.

6
debian/postinst vendored Normal file
View file

@ -0,0 +1,6 @@
#! /bin/sh
set -e
install-info --quiet --section Kernel Kernel \
/usr/info/grub.info.gz
install-info --quiet --section Kernel Kernel \
/usr/info/multiboot.info.gz

3
debian/prerm vendored Normal file
View file

@ -0,0 +1,3 @@
#! /bin/sh
install-info --quiet --remove /usr/info/grub.info.gz
install-info --quiet --remove /usr/info/multiboot.info.gz

4
debian/rules vendored
View file

@ -35,6 +35,7 @@ binary-arch: checkroot build
## install files
dir=`cd debian/tmp && pwd` && make install DESTDIR=$$dir
gzip -f9 debian/tmp/usr/info/*
$(INSTALL_DATA) TODO debian/tmp/usr/doc/grub/
$(INSTALL_DATA) BUGS debian/tmp/usr/doc/grub/
@ -47,6 +48,9 @@ binary-arch: checkroot build
$(INSTALL_DATA) debian/copyright debian/tmp/usr/doc/grub/
$(INSTALL_DATA) debian/README.debian debian/tmp/usr/doc/grub/
# Install control files.
$(INSTALL_PROGRAM) debian/postinst debian/prerm debian/tmp/DEBIAN
dpkg-shlibdeps debian/tmp/usr/sbin/grub
dpkg-gencontrol
chown -R root.root debian/tmp
chmod -R go=rX debian/tmp

View file

@ -8,11 +8,11 @@ timeout 30
# By default, boot the first entry.
default 0
# For booting the GNU HURD
title GNU/HURD
# For booting the GNU Hurd
title GNU/Hurd
root (hd0,0)
kernel /boot/gnumach root=hd0s1
module /boot/serverboot
kernel /boot/gnumach.gz root=hd0s1
module /boot/serverboot.gz
# For booting Linux
title GNU/Linux

View file

@ -27,20 +27,15 @@
char *
skip_to (int after_equal, char *cmdline)
{
if (after_equal)
{
while (*cmdline && *cmdline != ' ' && *cmdline != '=')
/* Skip until we hit whitespace, or maybe an equal sign. */
while (*cmdline && *cmdline != ' ' && *cmdline != '\t' &&
! (after_equal && *cmdline == '='))
cmdline ++;
while (*cmdline == ' ' || *cmdline == '=')
/* Skip whitespace, and maybe equal signs. */
while (*cmdline == ' ' || *cmdline == '\t' ||
(after_equal && *cmdline == '='))
cmdline ++;
}
else
{
while (*cmdline && *cmdline != ' ')
cmdline++;
while (*cmdline == ' ')
cmdline++;
}
return cmdline;
}
@ -65,7 +60,7 @@ find_command (char *command)
/* Find the first space and terminate the command name. */
ptr = command;
while (*ptr && *ptr != ' ' && *ptr != '=')
while (*ptr && *ptr != ' ' && *ptr != '\t' && *ptr != '=')
ptr ++;
c = *ptr;
*ptr = 0;