dfd1e20460
fix efi sub-package. It should be working now. OBS-URL: https://build.opensuse.org/request/show/127110 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=39
101 lines
3.3 KiB
Diff
101 lines
3.3 KiB
Diff
From: Michael Chang <mchang@gmail.com>
|
|
Date: Wed, 4 Jun 2012 18:33:52 +0800
|
|
Subject: [PATCH] use grub2-efi as a package name
|
|
|
|
References: bnc#769916
|
|
Patch-Mainline: no
|
|
|
|
Use grub2-efi as package name when building grub2-efi package, this
|
|
fixes inconsistent @PACKAGE@ used by the scripts, for example.
|
|
|
|
Just fix those scripts one-by-one is probably not a good idea and
|
|
maybe tedious, as we can't know how many potential problem related
|
|
with it, better use same approach building grub2 to prevent such
|
|
discrete result.
|
|
|
|
Index: grub-2.00/configure
|
|
===================================================================
|
|
--- grub-2.00.orig/configure
|
|
+++ grub-2.00/configure
|
|
@@ -558,10 +558,10 @@ MFLAGS=
|
|
MAKEFLAGS=
|
|
|
|
# Identity of this package.
|
|
-PACKAGE_NAME='GRUB2'
|
|
-PACKAGE_TARNAME='grub2'
|
|
+PACKAGE_NAME='GRUB2-EFI'
|
|
+PACKAGE_TARNAME='grub2-efi'
|
|
PACKAGE_VERSION='2.00'
|
|
-PACKAGE_STRING='GRUB2 2.00'
|
|
+PACKAGE_STRING='GRUB2-EFI 2.00'
|
|
PACKAGE_BUGREPORT='bug-grub@gnu.org'
|
|
PACKAGE_URL=''
|
|
|
|
@@ -1904,7 +1904,7 @@ if test "$ac_init_help" = "long"; then
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
cat <<_ACEOF
|
|
-\`configure' configures GRUB2 2.00 to adapt to many kinds of systems.
|
|
+\`configure' configures GRUB2-EFI 2.00 to adapt to many kinds of systems.
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
@@ -1952,7 +1952,7 @@ Fine tuning of the installation director
|
|
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
- --docdir=DIR documentation root [DATAROOTDIR/doc/grub2]
|
|
+ --docdir=DIR documentation root [DATAROOTDIR/doc/grub2-efi]
|
|
--htmldir=DIR html documentation [DOCDIR]
|
|
--dvidir=DIR dvi documentation [DOCDIR]
|
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
@@ -1975,7 +1975,7 @@ fi
|
|
|
|
if test -n "$ac_init_help"; then
|
|
case $ac_init_help in
|
|
- short | recursive ) echo "Configuration of GRUB2 2.00:";;
|
|
+ short | recursive ) echo "Configuration of GRUB2-EFI 2.00:";;
|
|
esac
|
|
cat <<\_ACEOF
|
|
|
|
@@ -2108,7 +2108,7 @@ fi
|
|
test -n "$ac_init_help" && exit $ac_status
|
|
if $ac_init_version; then
|
|
cat <<\_ACEOF
|
|
-GRUB2 configure 2.00
|
|
+GRUB2-EFI configure 2.00
|
|
generated by GNU Autoconf 2.68
|
|
|
|
Copyright (C) 2010 Free Software Foundation, Inc.
|
|
@@ -2812,7 +2812,7 @@ cat >config.log <<_ACEOF
|
|
This file contains any messages produced by compilers while
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
-It was created by GRUB2 $as_me 2.00, which was
|
|
+It was created by GRUB2-EFI $as_me 2.00, which was
|
|
generated by GNU Autoconf 2.68. Invocation command line was
|
|
|
|
$ $0 $@
|
|
@@ -3789,7 +3789,7 @@ fi
|
|
|
|
|
|
# Define the identity of the package.
|
|
- PACKAGE='grub2'
|
|
+ PACKAGE='grub2-efi'
|
|
VERSION='2.00'
|
|
|
|
|
|
Index: grub-2.00/configure.ac
|
|
===================================================================
|
|
--- grub-2.00.orig/configure.ac
|
|
+++ grub-2.00/configure.ac
|
|
@@ -32,7 +32,7 @@ dnl type, so there is no conflict. Varia
|
|
dnl (such as TARGET_CC, TARGET_CFLAGS, etc.) are used for the target
|
|
dnl type.
|
|
|
|
-AC_INIT([GRUB2],[2.00],[bug-grub@gnu.org])
|
|
+AC_INIT([GRUB2-EFI],[2.00],[bug-grub@gnu.org])
|
|
|
|
AC_CONFIG_AUX_DIR([build-aux])
|
|
|