Bug#351822: grub: Building grub 0.97-4 in stable (backport)
David Golombek
daveg at permabit.com
Tue Feb 7 17:51:31 UTC 2006
Package: grub
Version: 0.97-4
Severity: normal
While trying to backport grub 0.97-4 to a stable system, I found a
small bug in the rules file that prohibited it from building. There's
existing code in that file:
> # Add backward compatibility to allow backport to stable
> ifeq ($(DEB_HOST_GNU_SYSTEM), linux)
> DEB_HOST_GNU_SYSTEM=linux-gnu
> endif
to handle the old DEB_HOST_GNU_SYSTEM definition, but the old
DEB_BUILD_GNU_SYSTEM definition is not handled, which results in
${filesystems} not being defined, which breaks the install-arch rule
later on. With the attached diff, the package will build on stable:
-------------- next part --------------
--- grub-0.97/debian/rules 2006-02-07 12:47:51.000000000 -0500
+++ /permabit/user/daveg/rules 2006-02-07 12:48:20.000000000 -0500
@@ -36,6 +36,9 @@
ifeq ($(DEB_HOST_GNU_SYSTEM), linux)
DEB_HOST_GNU_SYSTEM=linux-gnu
endif
+ifeq ($(DEB_BUILD_GNU_SYSTEM), linux)
+DEB_BUILD_GNU_SYSTEM=linux-gnu
+endif
GRUB_VERSION=0.97
GRUB_DISK_IMAGE=grub-${GRUB_VERSION}-$(DEB_BUILD_GNU_CPU)-pc
-------------- next part --------------
Thanks,
Dave
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.31pcore-a.13
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages grub depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libncurses5 5.5-1 Shared libraries for terminal hand
-- no debconf information
More information about the Pkg-grub-devel
mailing list