SHA256
1
0
forked from pool/elilo
OBS User unknown 2007-02-06 23:28:27 +00:00 committed by Git OBS Bridge
parent 8a5346e749
commit 89cdf89ac1
3 changed files with 51 additions and 3 deletions

View File

@ -0,0 +1,35 @@
References: 242702
Increase command line size to 2048 chars.
---
elilo.c | 2 +-
elilo.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: b/elilo.h
===================================================================
--- a/elilo.h
+++ b/elilo.h
@@ -57,7 +57,7 @@
#define ELILO_DEFAULT_TIMEOUT ELILO_TIMEOUT_INFINITY
#define ELILO_TIMEOUT_INFINITY (~0UL)
-#define CMDLINE_MAXLEN 512 /* needed by ia32 */
+#define CMDLINE_MAXLEN 2048 /* needed by ia32 */
#define FILENAME_MAXLEN 256
#define MAX_ARGS 256
/* Just pick an arbitrary number that's high enough for now :o) */
Index: b/elilo.c
===================================================================
--- a/elilo.c
+++ b/elilo.c
@@ -87,7 +87,7 @@ do_kernel_load(CHAR16 *kname, kdesc_t *k
INTN
kernel_load(EFI_HANDLE image, CHAR16 *kname, kdesc_t *kd, memdesc_t *imem, memdesc_t *mmem)
{
- CHAR16 kernel[CMDLINE_MAXLEN];
+ CHAR16 kernel[FILENAME_MAXLEN];
/*
* Do the vm image switch here

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 6 18:33:55 CET 2007 - bwalle@suse.de
- elilo.efi
* increase command line size to 2048 (as in >= 2.6.20-rc6-mm1)
(#242702)
-------------------------------------------------------------------
Fri Nov 10 10:37:13 CET 2006 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package elilo (Version 3.6)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -14,16 +14,17 @@ Name: elilo
URL: http://elilo.sourceforge.net/
Summary: EFI Linux Loader
Version: 3.6
Release: 31
Release: 44
Group: System/Boot
Autoreqprov: on
PreReq: /usr/bin/perl
License: GNU General Public License (GPL) - all versions
License: GNU General Public License (GPL)
Source: http://mesh.dl.sourceforge.net/sourceforge/elilo/elilo-3.6.src.tgz
Source1: elilo.pl
Patch0: elilo-%{version}-asm.diff
Patch1: elilo-%{version}-MAC.diff
Patch2: elilo-%{version}-spelling.diff
Patch3: elilo-longer-commandline.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gnu-efi
@ -44,6 +45,7 @@ Authors:
%patch0 -p1
%patch1 -p1
%patch2
%patch3 -p1
perl -pe 's/\@EDITION\@/%{version}-%{release}/' < %{SOURCE1} > elilo.pl &&
chmod 555 elilo.pl && touch -r %{SOURCE1} elilo.pl
! fgrep '%%{version}-%%{release}' elilo.pl
@ -77,6 +79,10 @@ echo "Please run /sbin/elilo!"
#/usr/share/man/man8/*
%changelog -n elilo
* Tue Feb 06 2007 - bwalle@suse.de
- elilo.efi
* increase command line size to 2048 (as in >= 2.6.20-rc6-mm1)
(#242702)
* Fri Nov 10 2006 - schwab@suse.de
- Fix spelling.
* Thu Feb 02 2006 - rw@suse.de