[gpxe] Remove 2 second sleep on startup
Daniel P. Berrange
berrange at fedoraproject.org
Mon Mar 19 12:46:52 UTC 2012
commit 0807c61cc55c373c1151dfb9d759311263c57b12
Author: Daniel P. Berrange <berrange at redhat.com>
Date: Mon Mar 19 12:11:36 2012 +0000
Remove 2 second sleep on startup
gpxe-1.0.1-banner-timeout.patch | 12 ++++++++++++
gpxe.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gpxe-1.0.1-banner-timeout.patch b/gpxe-1.0.1-banner-timeout.patch
new file mode 100644
index 0000000..b63c948
--- /dev/null
+++ b/gpxe-1.0.1-banner-timeout.patch
@@ -0,0 +1,12 @@
+diff -rup gpxe-1.0.1.orig/src/config/general.h gpxe-1.0.1.new/src/config/general.h
+--- gpxe-1.0.1.orig/src/config/general.h 2010-06-29 20:31:33.000000000 +0100
++++ gpxe-1.0.1.new/src/config/general.h 2012-03-19 11:53:36.035138977 +0000
+@@ -31,7 +31,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
+ * Timer configuration
+ *
+ */
+-#define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell
++#define BANNER_TIMEOUT 0 /* Tenths of a second for which the shell
+ banner should appear */
+
+ /*
diff --git a/gpxe.spec b/gpxe.spec
index e24f4d6..96dbd2a 100644
--- a/gpxe.spec
+++ b/gpxe.spec
@@ -10,7 +10,7 @@
Name: gpxe
Version: 1.0.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A network boot loader
Group: System Environment/Base
@@ -20,6 +20,7 @@ URL: http://etherboot.org/
Source0: http://git.etherboot.org/releases/%{name}/%{name}-%{version}.tar.bz2
Source1: USAGE
Patch1: %{name}-1.0.1-virtionet-length.patch
+Patch2: %{name}-%{version}-banner-timeout.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%ifarch %{buildarches}
@@ -75,6 +76,7 @@ DNS, HTTP, iSCSI, etc.
%prep
%setup -q
%patch1 -p1
+%patch2 -p1
cp -a %{SOURCE1} .
%build
@@ -143,6 +145,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Mon Mar 19 2012 Daniel P. Berrange <berrange at redhat.com> - 1.0.1-6
+- Remove 2 second sleep on startup (rhbz #804611)
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list