SHA256
1
0
forked from pool/grub2

Accepting request 264095 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/264095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=105
This commit is contained in:
Dominique Leuenberger 2014-12-05 20:03:44 +00:00 committed by Git OBS Bridge
commit 4ba8455a52
3 changed files with 25 additions and 4 deletions

View File

@ -115,7 +115,7 @@ snapper_snapshots_cfg_refresh () {
hk="" hk=""
[ -z "$hotkey" ] || hk="--hotkey=s" [ -z "$hotkey" ] || hk="--hotkey=s"
for c in `echo -e "${cs}" | sort -Vr`; do for c in `printf "${cs}\n" | sort -Vr`; do
if ! snapshot_submenu "$c" > "${c}/${snapshot_submenu_name}"; then if ! snapshot_submenu "$c" > "${c}/${snapshot_submenu_name}"; then
rm -f "${c}/${snapshot_submenu_name}" rm -f "${c}/${snapshot_submenu_name}"
continue continue

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Dec 4 01:42:39 UTC 2014 - agraf@suse.com
- enable 32bit arm targets for uboot and efi
-------------------------------------------------------------------
Sat Nov 29 18:26:00 UTC 2014 - Led <ledest@gmail.com>
- Replace 'echo -e' command in grub2-snapper-plugin.sh script to
'printf' command. '-e' option of 'echo' command may be
unsupported in some POSIX-complete shells.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 14 16:06:00 UTC 2014 - Led <ledest@gmail.com> Fri Nov 14 16:06:00 UTC 2014 - Led <ledest@gmail.com>

View File

@ -76,11 +76,16 @@ BuildRequires: xen-devel
%define platform emu %define platform emu
%endif %endif
%ifarch %{arm}
%define grubcpu arm
%define platform uboot
%endif
%define grubarch %{grubcpu}-%{platform} %define grubarch %{grubcpu}-%{platform}
# build efi bootloader on some platforms only: # build efi bootloader on some platforms only:
%if ! 0%{?efi:1} %if ! 0%{?efi:1}
%global efi %{ix86} x86_64 ia64 aarch64 %global efi %{ix86} x86_64 ia64 aarch64 %{arm}
%endif %endif
%ifarch aarch64 %ifarch aarch64
%define only_efi 1 %define only_efi 1
@ -93,10 +98,14 @@ BuildRequires: xen-devel
%ifarch aarch64 %ifarch aarch64
%define grubefiarch arm64-efi %define grubefiarch arm64-efi
%else %else
%ifarch %{arm}
%define grubefiarch arm-efi
%else
%define grubefiarch %{_target_cpu}-efi %define grubefiarch %{_target_cpu}-efi
%endif %endif
%endif %endif
%endif %endif
%endif
%if 0%{?suse_version} == 1110 %if 0%{?suse_version} == 1110
%define only_efi %{nil} %define only_efi %{nil}
@ -214,7 +223,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?only_x86_64:1} %if 0%{?only_x86_64:1}
ExclusiveArch: x86_64 ExclusiveArch: x86_64
%else %else
ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le s390x aarch64 ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le s390x aarch64 %{arm}
%endif %endif
%description %description
@ -878,7 +887,7 @@ fi
%{_libdir}/%{name}/%{grubarch}/grub.chrp %{_libdir}/%{name}/%{grubarch}/grub.chrp
%{_libdir}/%{name}/%{grubarch}/bootinfo.txt %{_libdir}/%{name}/%{grubarch}/bootinfo.txt
%endif %endif
%ifnarch ppc ppc64 ppc64le s390x %ifnarch ppc ppc64 ppc64le s390x %{arm}
%{_libdir}/%{name}/%{grubarch}/*.image %{_libdir}/%{name}/%{grubarch}/*.image
%endif %endif
%{_libdir}/%{name}/%{grubarch}/*.img %{_libdir}/%{name}/%{grubarch}/*.img