SHA256
1
0
forked from pool/grub2

Accepting request 126597 from devel:openSUSE:Factory

- Add configuration support for serial terminal consoles. This will
  set the maximum screen size so that text is not overwritten. 

- don't enable grub-emu-usb on ppc ppc641 (forwarded request 126572 from k0da)

OBS-URL: https://build.opensuse.org/request/show/126597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=38
This commit is contained in:
Stephan Kulow
2012-06-29 12:19:02 +00:00
committed by Git OBS Bridge
parent 248261f8d1
commit 8440629747
3 changed files with 174 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ Patch3: use-grub2-as-a-package-name.patch
Patch4: grub2-linux-submenu.patch
Patch6: grub2-iterate-and-hook-for-extended-partition.patch
Patch7: grub2-install-opt-skip-fs-probe.patch
Patch8: grub2-ppc-terminfo.patch
PreReq: perl-Bootloader
Requires: gettext-runtime
Requires: os-prober
@@ -137,6 +138,7 @@ cd grub-%{version}
#%%patch4 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
cd ..
# README.openSUSE
@@ -186,12 +188,16 @@ export CFLAGS CXXFLAGS FFLAGS
%define _target_platform i386-%{_vendor}-%{_target_os}%{?_gnu}
%endif
%ifnarch ppc ppc64
%define extraconfigure --enable-grub-emu-usb
%endif
# -static is needed so that autoconf script is able to link
# test that looks for _start symbol on 64 bit platforms
%configure TARGET_LDFLAGS=-static \
--target=%{_target_platform} \
--with-platform=%{platform} \
--enable-grub-emu-usb \
%{extraconfigure} \
--program-transform-name=s,grub,%{name},
make %{?_smp_mflags}
@@ -317,7 +323,9 @@ fi
%{_bindir}/%{name}-script-check
%dir %{_libdir}/%{name}/
%dir %{_libdir}/%{name}/*/
%ifnarch ppc ppc64
%{_libdir}/%{name}/*/*.image
%endif
%{_libdir}/%{name}/*/*.img
%{_libdir}/%{name}/*/*.lst
%{_libdir}/%{name}/*/*.mod