Accepting request 786172 from home:lnussel:branches:Base:System
- move *.module files to separate -debug subpackage (boo#1166578) - Downgrade mtools to Suggests for consistency with xorriso (boo#1165839) - remove info requirements, file triggers are used now (boo#1152105) OBS-URL: https://build.opensuse.org/request/show/786172 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=351
This commit is contained in:
parent
4199d06bb8
commit
f9380bffdc
@ -1,9 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 16 11:42:08 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
- move *.module files to separate -debug subpackage (boo#1166578)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 12 08:29:55 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
Thu Mar 12 08:29:55 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
- Fix EFI console detection to make it a runtime decision (bsc#1164385)
|
- Fix EFI console detection to make it a runtime decision (bsc#1164385)
|
||||||
* grub2-SUSE-Add-the-t-hotkey.patch
|
* grub2-SUSE-Add-the-t-hotkey.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 10 11:59:23 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
- Downgrade mtools to Suggests for consistency with xorriso (boo#1165839)
|
||||||
|
- remove info requirements, file triggers are used now (boo#1152105)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 28 16:36:57 UTC 2020 - rw@suse.com
|
Fri Feb 28 16:36:57 UTC 2020 - rw@suse.com
|
||||||
|
|
||||||
|
61
grub2.spec
61
grub2.spec
@ -300,10 +300,8 @@ Recommends: os-prober
|
|||||||
# xorriso not available using grub2-mkrescue (bnc#812681)
|
# xorriso not available using grub2-mkrescue (bnc#812681)
|
||||||
# downgrade to suggest as minimal system can't afford pulling in tcl/tk and half of the x11 stack (bsc#1102515)
|
# downgrade to suggest as minimal system can't afford pulling in tcl/tk and half of the x11 stack (bsc#1102515)
|
||||||
Suggests: libburnia-tools
|
Suggests: libburnia-tools
|
||||||
Recommends: mtools
|
Suggests: mtools
|
||||||
%endif
|
%endif
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun):/sbin/install-info
|
|
||||||
%if ! 0%{?only_efi:1}
|
%if ! 0%{?only_efi:1}
|
||||||
Requires: grub2-%{grubarch} = %{version}-%{release}
|
Requires: grub2-%{grubarch} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -378,6 +376,20 @@ bootloader with modular architecture. It supports rich variety of kernel format
|
|||||||
file systems, computer architectures and hardware devices. This subpackage
|
file systems, computer architectures and hardware devices. This subpackage
|
||||||
provides support for %{platform} systems.
|
provides support for %{platform} systems.
|
||||||
|
|
||||||
|
%package %{grubarch}-debug
|
||||||
|
Summary: Debug symbols for %{grubarch}
|
||||||
|
Group: System/Boot
|
||||||
|
%if %{platform} != emu
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
Requires: %{name}-%{grubarch} = %{version}
|
||||||
|
|
||||||
|
%description %{grubarch}-debug
|
||||||
|
Debug information for %{name}-%{grubarch}
|
||||||
|
|
||||||
|
Information on how to debug grub can be found online:
|
||||||
|
https://www.cnblogs.com/coryxie/archive/2013/03/12/2956807.html
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{efi}
|
%ifarch %{efi}
|
||||||
@ -408,6 +420,20 @@ bootloader with modular architecture. It supports rich variety of kernel format
|
|||||||
file systems, computer architectures and hardware devices. This subpackage
|
file systems, computer architectures and hardware devices. This subpackage
|
||||||
provides support for EFI systems.
|
provides support for EFI systems.
|
||||||
|
|
||||||
|
%package %{grubefiarch}-debug
|
||||||
|
Summary: Debug symbols for %{grubefiarch}
|
||||||
|
Group: System/Boot
|
||||||
|
%if %{platform} != emu
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
Requires: %{name}-%{grubefiarch} = %{version}
|
||||||
|
|
||||||
|
%description %{grubefiarch}-debug
|
||||||
|
Debug symbols for %{name}-%{grubefiarch}
|
||||||
|
|
||||||
|
Information on how to debug grub can be found online:
|
||||||
|
https://www.cnblogs.com/coryxie/archive/2013/03/12/2956807.html
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
@ -901,8 +927,6 @@ perl -ni -e '
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post grub2-once.service
|
%service_add_post grub2-once.service
|
||||||
/sbin/install-info %{_infodir}/grub-dev.info %{_infodir}/dir || :
|
|
||||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
||||||
|
|
||||||
%if ! 0%{?only_efi:1}
|
%if ! 0%{?only_efi:1}
|
||||||
|
|
||||||
@ -1001,14 +1025,11 @@ exit 0
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun grub2-once.service
|
%service_del_preun grub2-once.service
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/grub-dev.info %{_infodir}/dir || :
|
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
||||||
|
|
||||||
# We did not add core.img to grub1 menu.lst in new update-bootloader macro as what
|
# We did not add core.img to grub1 menu.lst in new update-bootloader macro as what
|
||||||
# the old %%post ever did, then the %%preun counterpart which removed the added core.img
|
# the old %%post ever did, then the %%preun counterpart which removed the added core.img
|
||||||
# entry from old %%post can be skipped entirely if having new macro in use.
|
# entry from old %%post can be skipped entirely if having new macro in use.
|
||||||
%if ! 0%{?update_bootloader_posttrans:1}%{?only_efi:1}
|
%if ! 0%{?update_bootloader_posttrans:1}%{?only_efi:1}
|
||||||
|
if [ $1 = 0 ]; then
|
||||||
# To check by current loader settings
|
# To check by current loader settings
|
||||||
if [ -f %{_sysconfdir}/sysconfig/bootloader ]; then
|
if [ -f %{_sysconfdir}/sysconfig/bootloader ]; then
|
||||||
. %{_sysconfdir}/sysconfig/bootloader
|
. %{_sysconfdir}/sysconfig/bootloader
|
||||||
@ -1036,8 +1057,8 @@ if [ $1 = 0 ]; then
|
|||||||
# we have no idea what's been installed. (And a blind remove is dangerous
|
# we have no idea what's been installed. (And a blind remove is dangerous
|
||||||
# to remove user's or other package's file accidently ..)
|
# to remove user's or other package's file accidently ..)
|
||||||
fi
|
fi
|
||||||
%endif
|
|
||||||
fi
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%service_del_postun grub2-once.service
|
%service_del_postun grub2-once.service
|
||||||
@ -1175,14 +1196,18 @@ fi
|
|||||||
%{_datadir}/%{name}/%{grubarch}/*.img
|
%{_datadir}/%{name}/%{grubarch}/*.img
|
||||||
%{_datadir}/%{name}/%{grubarch}/*.lst
|
%{_datadir}/%{name}/%{grubarch}/*.lst
|
||||||
%{_datadir}/%{name}/%{grubarch}/*.mod
|
%{_datadir}/%{name}/%{grubarch}/*.mod
|
||||||
%{_datadir}/%{name}/%{grubarch}/*.module
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%{_datadir}/%{name}/%{grubarch}/efiemu*.o
|
%{_datadir}/%{name}/%{grubarch}/efiemu*.o
|
||||||
%endif
|
%endif
|
||||||
%{_datadir}/%{name}/%{grubarch}/gdb_grub
|
|
||||||
%{_datadir}/%{name}/%{grubarch}/gmodule.pl
|
|
||||||
%{_datadir}/%{name}/%{grubarch}/kernel.exec
|
%{_datadir}/%{name}/%{grubarch}/kernel.exec
|
||||||
%{_datadir}/%{name}/%{grubarch}/modinfo.sh
|
%{_datadir}/%{name}/%{grubarch}/modinfo.sh
|
||||||
|
|
||||||
|
%files %{grubarch}-debug
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/%{name}/%{grubarch}/gdb_grub
|
||||||
|
%{_datadir}/%{name}/%{grubarch}/gmodule.pl
|
||||||
|
%{_datadir}/%{name}/%{grubarch}/*.module
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{efi}
|
%ifarch %{efi}
|
||||||
@ -1197,9 +1222,6 @@ fi
|
|||||||
%{_datadir}/%{name}/%{grubefiarch}/*.img
|
%{_datadir}/%{name}/%{grubefiarch}/*.img
|
||||||
%{_datadir}/%{name}/%{grubefiarch}/*.lst
|
%{_datadir}/%{name}/%{grubefiarch}/*.lst
|
||||||
%{_datadir}/%{name}/%{grubefiarch}/*.mod
|
%{_datadir}/%{name}/%{grubefiarch}/*.mod
|
||||||
%{_datadir}/%{name}/%{grubefiarch}/*.module
|
|
||||||
%{_datadir}/%{name}/%{grubefiarch}/gdb_grub
|
|
||||||
%{_datadir}/%{name}/%{grubefiarch}/gmodule.pl
|
|
||||||
%{_datadir}/%{name}/%{grubefiarch}/kernel.exec
|
%{_datadir}/%{name}/%{grubefiarch}/kernel.exec
|
||||||
%{_datadir}/%{name}/%{grubefiarch}/modinfo.sh
|
%{_datadir}/%{name}/%{grubefiarch}/modinfo.sh
|
||||||
%dir %{sysefibasedir}
|
%dir %{sysefibasedir}
|
||||||
@ -1219,6 +1241,13 @@ fi
|
|||||||
%{sysefidir}/grub.der
|
%{sysefidir}/grub.der
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files %{grubefiarch}-debug
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/%{name}/%{grubefiarch}/gdb_grub
|
||||||
|
%{_datadir}/%{name}/%{grubefiarch}/gmodule.pl
|
||||||
|
%{_datadir}/%{name}/%{grubefiarch}/*.module
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files snapper-plugin
|
%files snapper-plugin
|
||||||
|
Loading…
Reference in New Issue
Block a user