forked from pool/grub2
53aee3d6df
- grub2-automake-1-11-2.patch : fix grub2 build error on newer autotools (automake >= 1.11.2) - call ./autogen.sh - grub2-probe-disk-mountby.patch : fix grub2-probe fails on probing mount-by devices under /dev/disk/by-(id|uuid|path). (bnc#757746) OBS-URL: https://build.opensuse.org/request/show/116247 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=33
179 lines
5.3 KiB
Diff
179 lines
5.3 KiB
Diff
Index: grub-1.99/Makefile.am
|
|
===================================================================
|
|
--- grub-1.99.orig/Makefile.am
|
|
+++ grub-1.99/Makefile.am
|
|
@@ -101,8 +101,8 @@ CLEANFILES += widthspec.h
|
|
# Install config.h into platformdir
|
|
platform_HEADERS = config.h
|
|
|
|
-pkglib_DATA += grub-mkconfig_lib
|
|
-pkglib_DATA += update-grub_lib
|
|
+pkgdata_DATA += grub-mkconfig_lib
|
|
+pkgdata_DATA += update-grub_lib
|
|
|
|
|
|
if COND_i386_coreboot
|
|
Index: grub-1.99/conf/Makefile.common
|
|
===================================================================
|
|
--- grub-1.99.orig/conf/Makefile.common
|
|
+++ grub-1.99/conf/Makefile.common
|
|
@@ -137,7 +137,7 @@ KERNEL_HEADER_FILES =
|
|
|
|
man_MANS =
|
|
noinst_DATA =
|
|
-pkglib_DATA =
|
|
+pkgdata_DATA =
|
|
bin_SCRIPTS =
|
|
sbin_SCRIPTS =
|
|
bin_PROGRAMS =
|
|
@@ -147,7 +147,7 @@ check_SCRIPTS =
|
|
grubconf_DATA =
|
|
check_PROGRAMS =
|
|
noinst_SCRIPTS =
|
|
-pkglib_SCRIPTS =
|
|
+pkgdata_SCRIPTS =
|
|
noinst_PROGRAMS =
|
|
grubconf_SCRIPTS =
|
|
noinst_LIBRARIES =
|
|
Index: grub-1.99/util/grub-mkconfig.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub-mkconfig.in
|
|
+++ grub-1.99/util/grub-mkconfig.in
|
|
@@ -95,7 +95,7 @@ do
|
|
esac
|
|
done
|
|
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
if [ "x$EUID" = "x" ] ; then
|
|
EUID=`id -u`
|
|
Index: grub-1.99/util/grub.d/00_header.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/00_header.in
|
|
+++ grub-1.99/util/grub.d/00_header.in
|
|
@@ -22,10 +22,11 @@ transform="@program_transform_name@"
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
+datadir=@datadir@
|
|
locale_dir=`echo ${GRUB_PREFIX}/locale | sed ${transform}`
|
|
grub_lang=`echo $LANG | cut -d . -f 1`
|
|
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
# Do this as early as possible, since other commands might depend on it.
|
|
# (e.g. the `loadfont' command might need lvm or raid modules)
|
|
Index: grub-1.99/util/grub.d/10_hurd.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/10_hurd.in
|
|
+++ grub-1.99/util/grub.d/10_hurd.in
|
|
@@ -20,7 +20,8 @@ set -e
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+datadir=@datadir@
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
CLASS="--class gnu --class os"
|
|
|
|
Index: grub-1.99/util/grub.d/10_kfreebsd.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/10_kfreebsd.in
|
|
+++ grub-1.99/util/grub.d/10_kfreebsd.in
|
|
@@ -21,7 +21,8 @@ prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
bindir=@bindir@
|
|
libdir=@libdir@
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+datadir=@datadir@
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
export TEXTDOMAIN=@PACKAGE@
|
|
export TEXTDOMAINDIR=@localedir@
|
|
Index: grub-1.99/util/grub.d/10_linux.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/10_linux.in
|
|
+++ grub-1.99/util/grub.d/10_linux.in
|
|
@@ -21,7 +21,8 @@ prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
bindir=@bindir@
|
|
libdir=@libdir@
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+datadir=@datadir@
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
export TEXTDOMAIN=@PACKAGE@
|
|
export TEXTDOMAINDIR=@localedir@
|
|
Index: grub-1.99/util/grub.d/10_netbsd.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/10_netbsd.in
|
|
+++ grub-1.99/util/grub.d/10_netbsd.in
|
|
@@ -21,7 +21,8 @@ prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
bindir=@bindir@
|
|
libdir=@libdir@
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+datadir=@datadir@
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
export TEXTDOMAIN=@PACKAGE@
|
|
export TEXTDOMAINDIR=@localedir@
|
|
Index: grub-1.99/util/grub.d/10_windows.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/10_windows.in
|
|
+++ grub-1.99/util/grub.d/10_windows.in
|
|
@@ -20,7 +20,8 @@ set -e
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+datadir=@datadir@
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
case "`uname 2>/dev/null`" in
|
|
CYGWIN*) ;;
|
|
Index: grub-1.99/util/grub.d/20_linux_xen.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/20_linux_xen.in
|
|
+++ grub-1.99/util/grub.d/20_linux_xen.in
|
|
@@ -21,7 +21,8 @@ prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
bindir=@bindir@
|
|
libdir=@libdir@
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+datadir=@datadir@
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
export TEXTDOMAIN=@PACKAGE@
|
|
export TEXTDOMAINDIR=@localedir@
|
|
Index: grub-1.99/util/grub.d/30_os-prober.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/30_os-prober.in
|
|
+++ grub-1.99/util/grub.d/30_os-prober.in
|
|
@@ -20,8 +20,9 @@ set -e
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
+datadir=@datadir@
|
|
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
|
|
exit 0
|
|
Index: grub-1.99/util/update-grub_lib.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/update-grub_lib.in
|
|
+++ grub-1.99/util/update-grub_lib.in
|
|
@@ -18,6 +18,6 @@ prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
|
|
-. ${libdir}/grub/grub-mkconfig_lib
|
|
+. ${datadir}/grub/grub-mkconfig_lib
|
|
|
|
grub_warn "update-grub_lib is deprecated, use grub-mkconfig_lib instead"
|