# $Id: e-smith-grub.spec,v 1.5 2016/06/14 19:08:35 stephdl Exp $ Summary: e-smith module to configure grub2 %define name e-smith-grub Name: %{name} %define version 2.6.1 %define release 1 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz Source1: smeserver10.png BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildRequires: e-smith-devtools BuildArchitectures: noarch Requires: e-smith-lib >= 1.15.3-17 Requires: grub2 Provides: system-logos Obsoletes: e-smith-lilo Provides: e-smith-bootloader Obsoletes: lilo AutoReqProv: no %changelog * Wed Jun 15 2016 stephane de Labrusse 2.6.0-4.sme - New source [SME: 9321] * Tue Jun 14 2016 stephane de Labrusse 2.6.0-4.sme - Adaptation to grub2 [SME: 9321] * Fri Mar 18 2016 Jean-Philipe Pialasse 2.6.0-3.sme - rebuild for Bug [SME: 9347] * Fri Mar 18 2016 JP Pialasse 2.6.0-2.sme - fix Requires grub2 [SME: 9320] * Fri Feb 05 2016 stephane de Labrusse 2.6.0-1.sme - Initial release to sme10 * Wed Jan 20 2016 Daniel Berteaud 2.4.0-4.sme - Remove motd text from grub.cfg [SME: 9161] * Fri Mar 1 2013 Shad L. Lords 2.4.0-3.sme - Revert previous rhgb patch and disable plymouth [SME: 7354] * Tue Feb 19 2013 Shad L. Lords 2.4.0-2.sme - Remove rhgb option from grub [SME: 7354] * Thu Jan 31 2013 Shad L. Lords 2.4.0-1.sme - Roll new stream for sme9 * Wed Nov 4 2009 Jonathan Martens 2.2.0-2.sme - Remove hiddenmenu entry from grub.conf [SME: 5546] * Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme - Roll new stream to separate sme7/sme8 trees [SME: 4633] * Fri Mar 21 2008 Shad L. Lords 1.0.0-7 - Fix up CentOS titles in grub.conf [SME: 4084] * Fri Jul 13 2007 Shad L. Lords 1.0.0-6 - Add smeserver splash screen for grub [SME: 3152] * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Thu Jan 04 2007 Shad L. Lords 1.0.0-5 - Update /etc/sysconfig/kernel on boot too. [SME: 1930] * Thu Dec 07 2006 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Tue Dec 05 2006 Shad L. Lords 1.0.0-03 - Remove grub-install-raid completely as it doesn't handle more than raid1 [SME: 2131] * Thu Mar 16 2006 Gordon Rowell 1.0.0-02 - Rebuild without the test release tag [SME: 1197] * Thu Mar 16 2006 Gordon Rowell 1.0.0-01test01 - Remove grub-install-raid from post-{install,upgrade} [SME: 1197] * Thu Mar 16 2006 Gordon Rowell 1.0.0-01 - Roll stable stream version. [SME: 1016] * Wed Feb 8 2006 Gordon Rowell 0.0.1-24 - Add --no-floppy to the grub --batch calls. Systems with the floppy controller enabled but no floppy drive installed "hang" in post-upgrade otherwise. [SME: 696] * Mon Jan 30 2006 Gordon Rowell 0.0.1-23 - Re-add call to grub-install-raid in post-upgrade [SME: 151] * Mon Jan 30 2006 Gordon Rowell 0.0.1-22 - Add --no-floppy to grub-install call in grub-install-raid [SME: 151] - Don't call grub-install-raid in post-upgrade, only post-install [SME: 151] - Cleaned up old comments in grub-install-raid * Wed Nov 30 2005 Gordon Rowell 0.0.1-21 - Bump release number only * Tue Nov 15 2005 Gordon Rowell - [0.0.1-20] - Add defined test on $EVENT for cleanliness [MN00106104] * Tue Nov 15 2005 Gordon Rowell - [0.0.1-19] - Only update default kernel choice in the local event [MN00106104] - Update dependency on e-smith-lib to require version of generic_template_expand which sets EVENT in the template hash * Sun Nov 13 2005 Gordon Rowell - [0.0.1-18] - Correct path in last fix [SF: 1335937] * Mon Oct 24 2005 Charlie Brady - [0.0.1-17] - Create "update-bootloader" symlink in /sbin/e-smith, for use by add_mirror script. Add "Provides: e-smith-bootloader", so that e-smith-base can add a generic "Requires:". [SF: 1335937] * Fri Oct 21 2005 Charlie Brady - [0.0.1-16] - Expand grub.conf template in post-install and post-upgrade, to correct errant hd1,0 references. [SF: 1233029] * Fri Oct 21 2005 Charlie Brady - [0.0.1-15] - Fix errant hd1,0 references in /boot/grub/grub.conf. This is just a workaround - we should be able to fix anaconda/booty so that they never appear. Tidy up UpdateDefault while we are here. [SF: 1233029] - Update grub-install-raid so that it runs grub for each disk, with each device set as hd0. [SF: 1233029] * Mon Oct 17 2005 Gordon Rowell - [0.0.1-14] - Typo in grub-install-raid log output [MN00100874, SF: 1233029] * Mon Oct 17 2005 Gordon Rowell - [0.0.1-13] - Add grub-install-raid action to force to install onto a RAID1 set [MN00100874, SF: 1233029] * Mon Sep 19 2005 Charlie Brady - [0.0.1-12] - Preserve current default setting in grub.conf template if none of the available kernels matches the currently running kernel. This will allow anaconda SMP detection to determine initial boot setting. [MN00097833] * Tue Aug 30 2005 Charlie Brady - [0.0.1-11] - Move splashscreen symlink into e-smith-support RPM. * Wed Jul 13 2005 Charlie Brady - [0.0.1-10] - Obsolete lilo RPM, so that it is removed on upgrade. [SF: 1232519] * Tue Jul 5 2005 Charlie Brady - [0.0.1-09] - Obsolete e-smith-lilo RPM. [SF: 1232519] * Fri Jun 24 2005 Charlie Brady - [0.0.1-08] - Move grub.conf template.metadata file a well. [SF: 1226839] * Fri Jun 24 2005 Charlie Brady - [0.0.1-07] - Template /boot/grub/grub.conf, not /etc/grub.conf. [SF: 1226839] * Mon Jun 13 2005 Charlie Brady - [0.0.1-06] - Add "Provides: system-logos" to satisfy grub dependency. * Mon Jun 13 2005 Charlie Brady - [0.0.1-05] - Add linuxinside splashscreen. * Mon Jun 13 2005 Charlie Brady - [0.0.1-04] - Add tux splashscreen, and use it for grub config. * Wed Jun 8 2005 Charlie Brady - [0.0.1-03] - Add missing template.metadata file to strip blank lines from grub.conf file. * Tue Jun 7 2005 Charlie Brady - [0.0.1-02] - Fix grub.conf template expansion. - Put splash.xpm.gz in correct place. * Mon Jun 06 2005 Charlie Brady - initial release %description e-smith server enhancement to grub bootloader. %prep %setup cp %{SOURCE1} root/boot/grub %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)