]> git.pld-linux.org Git - packages/grub2.git/commitdiff
- up to 1.98
authorshadzik <shadzik@pld-linux.org>
Fri, 21 May 2010 21:14:03 +0000 (21:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 0.1 - grub-emu doesn't exist?

Changed files:
    grub-install.in.patch -> 1.2
    grub-mkconfig-diagnostics.patch -> 1.2
    grub-shelllib.patch -> 1.2
    grub2.spec -> 1.77

grub-install.in.patch
grub-mkconfig-diagnostics.patch
grub-shelllib.patch
grub2.spec

index 19e9cfd0e7464404e6d929b32400e9c93c4780a8..64b245d2d81e3ee45ed4093cca8cd9a07b77a146 100644 (file)
@@ -1,15 +1,15 @@
---- grub-1.97.1/util/i386/pc/grub-install.in~  2009-11-17 12:50:34.000000000 +0200
-+++ grub-1.97.1/util/i386/pc/grub-install.in   2009-11-17 12:50:56.247556266 +0200
-@@ -29,7 +29,7 @@
- PACKAGE_VERSION=@PACKAGE_VERSION@
- target_cpu=@target_cpu@
+--- grub-1.98/util/grub-install.in.orig        2010-05-21 22:35:21.921205822 +0200
++++ grub-1.98/util/grub-install.in     2010-05-21 22:42:47.052967731 +0200
+@@ -31,7 +31,7 @@
  platform=@platform@
+ host_os=@host_os@
+ font=@datadir@/@PACKAGE_TARNAME@/ascii.pf2
 -pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
 +pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME} | sed ${transform}`
  
- # for make_system_path_relative_to_its_root()
- . /lib/grub-mkconfig_lib
-@@ -230,23 +230,6 @@
+ grub_setup=${sbindir}/`echo grub-setup | sed ${transform}`
+ if [ "${target_cpu}-${platform}" = "i386-pc" ] || [ "${target_cpu}-${platform}" = "sparc64-ieee1275" ] || [ "${target_cpu}-${platform}" = "mips-yeeloong" ] ; then
+@@ -244,23 +244,6 @@
      exit 1
  fi
  
@@ -22,7 +22,7 @@
 -for file in ${pkglibdir}/*.mod ${pkglibdir}/*.lst; do
 -    cp -f $file ${grubdir} || exit 1
 -done
--if [ "${target_cpu}-${platform}" = "i386-pc" ] ; then
+-if [ "${target_cpu}-${platform}" = "i386-pc" ] || [ "${target_cpu}-${platform}" = "sparc64-ieee1275" ] ; then
 -    for file in ${pkglibdir}/*.img ${pkglibdir}/efiemu??.o; do
 -      if test -f $file; then
 -          cp -f $file ${grubdir} || exit 1
 -    done
 -fi
 -
- # Write device to a variable so we don't have to traverse /dev every time.
- grub_device=`$grub_probe --target=device ${grubdir}`
---- grub-1.97.1/util/i386/efi/grub-install.in~ 2009-11-09 17:48:16.000000000 +0200
-+++ grub-1.97.1/util/i386/efi/grub-install.in  2009-11-17 12:51:29.340886271 +0200
-@@ -29,7 +29,7 @@
- PACKAGE_VERSION=@PACKAGE_VERSION@
+ # Copy gettext files
+ mkdir -p ${grubdir}/locale/
+ for file in ${grubdir}/locale/*.mo ${pkglibdir}/locale/*.mo; do
+--- grub-1.98/util/i386/efi/grub-install.in.orig       2010-03-06 21:51:37.000000000 +0100
++++ grub-1.98/util/i386/efi/grub-install.in    2010-05-21 22:49:13.733969750 +0200
+@@ -30,7 +30,7 @@
  target_cpu=@target_cpu@
  platform=@platform@
+ host_os=@host_os@
 -pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
 +pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME} | sed ${transform}`
  
  grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}`
  grub_mkdevicemap=${sbindir}/`echo grub-mkdevicemap | sed ${transform}`
-@@ -168,16 +168,6 @@
+@@ -170,16 +170,6 @@
      exit 1
  fi
  
 -    cp -f $file ${grubdir} || exit 1
 -done
 -
- # Create the core image. First, auto-detect the filesystem module.
- fs_module=`$grub_probe --target=fs --device-map=${device_map} ${grubdir}`
- if test "x$fs_module" = xfat; then :; else
---- grub-1.97.1/util/ieee1275/grub-install.in~ 2009-11-09 17:48:16.000000000 +0200
-+++ grub-1.97.1/util/ieee1275/grub-install.in  2009-11-17 12:51:47.850884103 +0200
+ # Copy gettext files
+ mkdir -p ${grubdir}/locale/
+ for file in ${grubdir}/locale/*.mo ${pkglibdir}/locale/*.mo; do
+--- grub-1.98/util/ieee1275/grub-install.in.orig       2010-03-06 21:51:37.000000000 +0100
++++ grub-1.98/util/ieee1275/grub-install.in    2010-05-21 22:52:06.437969478 +0200
 @@ -32,7 +32,7 @@
  PACKAGE_VERSION=@PACKAGE_VERSION@
  target_cpu=@target_cpu@
@@ -72,7 +72,7 @@
  
  grub_mkimage=${bindir}/`echo grub-mkelfimage | sed ${transform}`
  grub_mkdevicemap=${sbindir}/`echo grub-mkdevicemap | sed ${transform}`
-@@ -153,16 +153,6 @@
+@@ -154,16 +154,6 @@
      $grub_mkdevicemap --device-map=$device_map $no_floppy || exit 1
  fi
  
 -    cp -f $file ${grubdir} || exit 1
 -done
 -
- # Create the core image. First, auto-detect the filesystem module.
- fs_module=`$grub_probe --target=fs --device-map=${device_map} ${grubdir}`
- if test "x$fs_module" = x -a "x$modules" = x; then
---- grub-1.97.1/util/sparc64/ieee1275/grub-install.in~ 2009-11-17 12:49:04.000000000 +0200
-+++ grub-1.97.1/util/sparc64/ieee1275/grub-install.in  2009-11-17 12:52:06.784216442 +0200
-@@ -29,7 +29,7 @@
- PACKAGE_VERSION=@PACKAGE_VERSION@
- target_cpu=@target_cpu@
- platform=@platform@
--pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
-+pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME} | sed ${transform}`
- # for make_system_path_relative_to_its_root()
- . /lib/grub-mkconfig_lib
-@@ -192,20 +192,6 @@
-     exit 1
+ if ! test -f ${grubdir}/grubenv; then
+     $grub_editenv ${grubdir}/grubenv create
  fi
--# Copy the GRUB images to the GRUB directory.
--for file in ${grubdir}/*.mod ${grubdir}/*.lst ${grubdir}/*.img; do
--    if test -f $file && [ "`basename $file`" != menu.lst ]; then
--      rm -f $file || exit 1
--    fi
--done
--for file in ${pkglibdir}/*.mod ${pkglibdir}/*.lst; do
--    cp -f $file ${grubdir} || exit 1
--done
--
--for file in ${pkglibdir}/*.img; do
--    cp -f $file ${grubdir} || exit 1
--done
--
- # Write device to a variable so we don't have to traverse /dev every time.
- grub_device=`$grub_probe --target=device ${grubdir}`
index 53faee7ce77a44bc9d0cca4ac91f9fe289fc4068..ada105d1d3b749834e8d0ce0b4a232fba4e1d833 100644 (file)
  
    case ${BOOT} in
      chain)
---- grub-1.97.2/util/grub.d/10_freebsd.in~     2010-03-10 18:15:07.000000000 +0200
-+++ grub-1.97.2/util/grub.d/10_freebsd.in      2010-03-10 18:23:16.077575128 +0200
-@@ -38,7 +38,7 @@
- fi
- if [ "x$kfreebsd" != "x" ] ; then
--  echo "Found kernel of FreeBSD: $kfreebsd" >&2
-+  echo "Found kernel of FreeBSD: $kfreebsd" >&3
-   kfreebsd_basename=`basename $kfreebsd`
-   kfreebsd_dirname=`dirname $kfreebsd`
 --- grub-1.97.2/util/grub.d/10_hurd.in~        2010-03-10 18:15:07.000000000 +0200
 +++ grub-1.97.2/util/grub.d/10_hurd.in 2010-03-10 18:23:36.364190317 +0200
 @@ -37,7 +37,7 @@
index a455db346d1e27d0cfc1bcc37cef3d271f3734d7..63464243edc93e35d0e23b578ac3eafa75263b86 100644 (file)
  
  # Do this as early as possible, since other commands might depend on it.
  # (e.g. the `loadfont' command might need lvm or raid modules)
---- grub-1.97.1.shelllib/util/grub.d/10_freebsd.in     2009-11-09 17:48:16.000000000 +0200
-+++ grub-1.97.1/util/grub.d/10_freebsd.in      2009-11-17 12:34:23.164322142 +0200
-@@ -19,7 +19,7 @@
- prefix=@prefix@
- exec_prefix=@exec_prefix@
- libdir=@libdir@
--. ${libdir}/grub/grub-mkconfig_lib
-+. /lib/grub-mkconfig_lib
- case "${GRUB_DISTRIBUTOR}" in
-   Debian)     OS="${GRUB_DISTRIBUTOR} GNU/kFreeBSD" ;;
 --- grub-1.97.1.shelllib/util/grub.d/10_hurd.in        2009-11-09 17:48:16.000000000 +0200
 +++ grub-1.97.1/util/grub.d/10_hurd.in 2009-11-17 12:34:23.160988747 +0200
 @@ -19,7 +19,7 @@
  
  if [ "x$EUID" = "x" ] ; then
    EUID=`id -u`
---- grub-1.97.1.shelllib/util/i386/pc/grub-install.in  2009-11-09 17:48:16.000000000 +0200
-+++ grub-1.97.1/util/i386/pc/grub-install.in   2009-11-17 12:34:23.157655729 +0200
+--- grub-1.97.1.shelllib/util/grub-install.in  2009-11-09 17:48:16.000000000 +0200
++++ grub-1.97.1/util/grub-install.in   2009-11-17 12:34:23.157655729 +0200
 @@ -32,7 +32,7 @@
  pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
  
  
  grub_setup=${sbindir}/`echo grub-setup | sed ${transform}`
  if [ "${target_cpu}-${platform}" = "i386-pc" ] ; then
---- grub-1.97.1.shelllib/util/sparc64/ieee1275/grub-install.in 2009-11-09 17:48:16.000000000 +0200
-+++ grub-1.97.1/util/sparc64/ieee1275/grub-install.in  2009-11-17 12:34:23.160988747 +0200
-@@ -32,7 +32,7 @@
- pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
- # for make_system_path_relative_to_its_root()
--. ${libdir}/grub/grub-mkconfig_lib
-+. /lib/grub-mkconfig_lib
- grub_setup=${sbindir}/`echo grub-setup | sed ${transform}`
- grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}`
 --- grub-1.97.1.shelllib/util/update-grub_lib.in       2009-11-09 17:48:16.000000000 +0200
 +++ grub-1.97.1/util/update-grub_lib.in        2009-11-17 12:34:23.157655729 +0200
 @@ -18,6 +18,6 @@
index aafc92b11ab5666e232b991c8dcf02e18dd917f0..09dbd67ebff6167661537ca1849ee5eec4fd520d 100644 (file)
@@ -12,12 +12,12 @@ Summary(hu.UTF-8):  GRUB2 - rendszerbetöltő x86 és ppc gépekhez
 Summary(pl.UTF-8):     GRUB2 - bootloader dla x86 i ppc
 Summary(pt_BR.UTF-8):  Gerenciador de inicialização GRUB2
 Name:          grub2
-Version:       1.97.2
-Release:       2
+Version:       1.98
+Release:       0.1
 License:       GPL v2
 Group:         Base
 Source0:       http://alpha.gnu.org/gnu/grub/grub-%{version}.tar.gz
-# Source0-md5: db4d23fb8897523a7e484e974ae3d1c9
+# Source0-md5: c0bcf60e524739bb64e3a2d4e3732a59
 Source1:       update-grub
 Source2:       update-grub.8
 Source3:       grub.sysconfig
@@ -180,7 +180,11 @@ export CFLAGS="-Os %{?debug:-g}"
 # mawk stalls at ./genmoddep.awk, so force gawk
 AWK=gawk \
 %configure \
-%{?with_grubemu:--enable-grub-emu} \
+%if %{with grubemu}
+       --enable-grub-emu-usb \
+       --enable-grub-emu-sdl \
+       --enable-grub-emu-pci \
+%endif
        BUILD_CFLAGS="$CFLAGS"
 %{__make} -j1 \
        BUILD_CFLAGS="$CFLAGS" \
@@ -261,8 +265,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/grub-mkelfimage.1*
 %{_mandir}/man8/update-grub.8*
 %if %{with grubemu}
-%attr(755,root,root) %{_sbindir}/grub-emu
-%{_mandir}/man8/grub-emu.8*
+#%attr(755,root,root) %{_sbindir}/grub-emu
+#%{_mandir}/man8/grub-emu.8*
 %endif
 /lib/grub-mkconfig_lib
 
This page took 0.054303 seconds and 4 git commands to generate.