public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] New gnu-efi package and new boot loader available
Date: Fri, 06 Apr 2001 15:24:19 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005378@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005375@msgid-missing>

Stephane Eranian <eranian@frankl.hpl.hp.com> writes:

|> Hi,
|> 
|> I have uploaded to the HPLabs FTP site a new version of the gnu-efi 
|> package.  It is available at:
|> 	
|> 	ftp://ftp.hpl.hp.com/pub/linux-ia64/gnu-efi-2.0.tar.gz

Another patch to improve the usefullness of the config file:

--- elilo/config.c
+++ elilo/config.c	2001/04/06 15:02:19
@@ -46,6 +46,7 @@
 } boot_image_t;
 
 boot_image_t *image_head, *default_image;
+static CHAR16 *root;
 
 /*
  * XXX: needs to be cleaned up seriously
@@ -167,12 +168,12 @@
 		} else if (strncmpa(p1, "vga", 3) = 0) {
 			/* FIXME: I think we can actually do this */
 		} else if (strncmpa(p1, "timeout", 7) = 0) {
-			//timeout = Atoi(aToU(p2));
+			elilo_opt.timeout = Atoi(aToU(p2));
 		} else if (strncmpa(p1, "root", 4) = 0) {
 			if (image)
 				image->root = StrDuplicate(aToU(p2));
-			//else
-				//root = StrDuplicate(aToU(p2));
+			else
+				root = StrDuplicate(aToU(p2));
 		} else if (strncmpa(p1, "initrd",6) = 0) {
 			if (image)
 				image->initrd = StrDuplicate(aToU(p2));
@@ -271,16 +272,16 @@
 
 	options[0] = 0;
 
-	if (img->root) {
+	if (img->root || root) {
 		StrCat(options, W2U(L"root="));
-		StrCat(options, img->root);
+		StrCat(options, img->root ? img->root : root);
 	}
 	/* XXX: check max length */
 	if (img->options) {
 		StrCat(options, W2U(L" "));
 		StrCat(options, img->options);
 	}
-	if (img->readonly) {
+	if (img->readonly != -1 ? img->readonly : elilo_opt.readonly) {
 		StrCat(options, W2U(L" ro"));
 	}
 	if (img->initrd) StrCpy(initrd, img->initrd);

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


  parent reply	other threads:[~2001-04-06 15:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-05 23:03 [Linux-ia64] New gnu-efi package and new boot loader available Stephane Eranian
2001-04-06 14:41 ` Andreas Schwab
2001-04-06 15:24 ` Andreas Schwab [this message]
2001-04-06 20:09 ` [Linux-ia64] New gnu-efi package and new boot loader availabl e Stephane Eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590693005378@msgid-missing \
    --to=schwab@suse.de \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox