All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] Add support for (pxe[:server_ip[:gateway_ip]]) and export pxe parameteres into grub environment
Date: Thu, 24 Dec 2009 22:45:08 +0100	[thread overview]
Message-ID: <20091224214508.GO12122@thorin> (raw)
In-Reply-To: <4B2E7A49.5070901@gmail.com>


Hi,

On Sun, Dec 20, 2009 at 08:26:01PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> --- ChangeLog.pxeenv	1970-01-01 00:00:00 +0000
> +++ ChangeLog.pxeenv	2009-12-20 19:23:11 +0000
> @@ -0,0 +1,36 @@
> +2009-12-19  Vladimir Serbinenko  <phcoder@gmail.com>
> +
> +	Support for (pxe[:server[:gateway]]) syntax and
> +	use environment variable for PXE.
> +
> +	* commands/i386/pc/pxecmd.c (options): Removed.
> +	(print_ip): Removed.
> +	(grub_cmd_pxe): Removed
> +	(grub_cmd_pxe_unload): New function.
> +	* fs/i386/pc/pxe.c (grub_pxe_disk_data): New structure.
> +	(grub_pxe_your_ip): Made static.
> +	(grub_pxe_default_server_ip): Likewise.
> +	(grub_pxe_default_gateway_ip): Likewise.
> +	(grub_pxe_blksize): Likewise.
> +	(parse_ip): New function.
> +	(grub_pxe_open): Support server and gateway specification.
> +	(grub_pxe_close): Free disk->data.
> +	(grub_pxefs_open): Use disk->data.
> +	(grub_pxefs_read): Likewise.
> +	(grub_env_write_readonly): New function.
> +	(set_mac_env): Likewise.
> +	(set_env_limn_ro): Likewise.
> +	(parse_dhcp_vendor): Likewise.
> +	(grub_pxe_detect): Set the environment variables.
> +	(set_ip_env): New function.
> +	(write_ip_env): Likewise.
> +	(grub_env_write_pxe_default_server): Likewise.
> +	(grub_env_write_pxe_default_gateway): Likewise.
> +	(grub_env_write_pxe_blocksize): Likewise.
> +	(GRUB_MOD_INIT(pxe)): Set environment variables.
> +	* include/grub/i386/pc/pxe.h (grub_pxe_mac_addr): Rename to ...
> +	(grub_pxe_mac_addr_t): ... this. All users updated.
> +	(grub_pxe_your_ip): Removed.
> +	(grub_pxe_server_ip): Likewise.
> +	(grub_pxe_gateway_ip): Likewise.
> +	(grub_pxe_blksize): Likewise.

This can go directly to trunk, if you consider it suitable.

-- 
Robert Millan

  "Be the change you want to see in the world" -- Gandhi



  reply	other threads:[~2009-12-24 21:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-20 19:26 [PATCH] Add support for (pxe[:server_ip[:gateway_ip]]) and export pxe parameteres into grub environment Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-24 21:45 ` Robert Millan [this message]
2009-12-24 22:14   ` Seth Goldberg

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=20091224214508.GO12122@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.