From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Myqd6-0001mO-Iu for mharc-grub-devel@gnu.org; Fri, 16 Oct 2009 13:30:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Myqd4-0001kp-Ap for grub-devel@gnu.org; Fri, 16 Oct 2009 13:30:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Myqcy-0001fG-Pi for grub-devel@gnu.org; Fri, 16 Oct 2009 13:30:12 -0400 Received: from [199.232.76.173] (port=44263 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Myqcy-0001f3-HS for grub-devel@gnu.org; Fri, 16 Oct 2009 13:30:08 -0400 Received: from mail-fx0-f228.google.com ([209.85.220.228]:33292) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Myqcy-0003pI-1C for grub-devel@gnu.org; Fri, 16 Oct 2009 13:30:08 -0400 Received: by fxm28 with SMTP id 28so2659552fxm.42 for ; Fri, 16 Oct 2009 10:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=xbKYzQ+tMVfpWPjGuFV0gs82Yp2gHFYf/rJi1d9e4wY=; b=W0BE74MT0+HWfPvStIkik+cSgzSkvSRzvbexSSnQggSMRINDbQNh1PMM9mnQJjmO8c 6FkuXtsmSZ0OtoqXF+xkPJlakINeOoZj9UfFMyVyiEx2f/50LJ721brH49rSUdJor13Q L6Ht4ssRifh3P94aUby6dHQ46ZXwOy2tE3R9s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=IpeYdJEKpbbs/VMKohAHKWSxbiIOBgMDjuYrcn9LuqHZOgCU5eBrWv54CUf4PdNHO1 81kB7fZtzgH3O5eFZDDfc1ve4WEZ/q5vsURlYy4vj0y+LdKt0xZur3VoeM1IFdSkV3YL QR/xlBVUc7twI0+WQE8hCtD00oRgok2gO9q5k= Received: by 10.204.34.84 with SMTP id k20mr1575036bkd.199.1255714206698; Fri, 16 Oct 2009 10:30:06 -0700 (PDT) Received: from debian.bg45.phnet (vpn-global-dhcp1-34.ethz.ch [129.132.208.34]) by mx.google.com with ESMTPS id d13sm1893865fka.22.2009.10.16.10.30.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Oct 2009 10:30:05 -0700 (PDT) Message-ID: <4AD8AD9B.4000304@gmail.com> Date: Fri, 16 Oct 2009 19:30:03 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <4AD8909E.4080207@gmail.com> <4AD8A3B3.6030101@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] Support PXE option and new command pxecfg X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 17:30:14 -0000 Bean wrote: > On Sat, Oct 17, 2009 at 12:47 AM, Vladimir 'phcoder' Serbinenko > wrote: > >> Bean wrote: >> >>> On Fri, Oct 16, 2009 at 11:26 PM, Vladimir 'phcoder' Serbinenko >>> wrote: >>> >>> >>>> Hello. Could you send this as a patch? >>>> >>>> >>> Hi, >>> >>> This function depends on my menu branch, it can't be applied to svn >>> head, so patch file is not very useful. >>> >>> >>> >> Could you explain me why PXE depends on menu? >> > > Hi, > > The pxecfg command use the the same config file parser as menu. > Could you perhaps send only the part without pxecfg then? > >>>> Bean wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> Extends pxe command: >>>>> >>>>> -i (--info) now shows mac and dhcp options >>>>> -e (--export) export a dhcp option as grub variable, for example: >>>>> >>>>> pxe -e 150 >>>>> >>>>> >>>>> >>>>> >>>> Why can't this be exported unconditionally on pxe system startup? >>>> >>>> >>> Right, perhaps we can export PXE_IP, PXE_MAC and PXE_150 by default, >>> but this function is also useful in case we need to use other string >>> option. >>> >>> >>> >> Is it possible just enumerate all available options and export them to >> PXE.