xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Allow building of XEN from source on a system without internet access.
@ 2013-10-04 13:17 Don Slutz
  2013-10-04 13:24 ` Jan Beulich
  0 siblings, 1 reply; 7+ messages in thread
From: Don Slutz @ 2013-10-04 13:17 UTC (permalink / raw)
  To: xen-devel, ian.jackson, stefano.stabellini, ian.campbell; +Cc: Don Slutz

Do the same with XEN_EXTFILES_URL, QEMU_REMOTE, IPXE_GIT_URL, and IPXE_TARBALL_URL as QEMU_UPSTREAM_URL, SEABIOS_UPSTREAM_URL, etc.

Signed-off-by: Don Slutz <dslutz@verizon.com>
---
 Config.mk                         |    6 +++---
 tools/firmware/etherboot/Makefile |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Config.mk b/Config.mk
index a26c7c0..8bbab8a 100644
--- a/Config.mk
+++ b/Config.mk
@@ -212,15 +212,15 @@ EMBEDDED_EXTRA_CFLAGS += -fno-exceptions
 XSM_ENABLE ?= n
 FLASK_ENABLE ?= $(XSM_ENABLE)
 
-XEN_EXTFILES_URL=http://xenbits.xen.org/xen-extfiles
+XEN_EXTFILES_URL ?= http://xenbits.xen.org/xen-extfiles
 # All the files at that location were downloaded from elsewhere on
 # the internet.  The original download URL is preserved as a comment
 # near the place in the Xen Makefiles where the file is used.
 
 ifeq ($(GIT_HTTP),y)
-QEMU_REMOTE=http://xenbits.xen.org/git-http/qemu-xen-unstable.git
+QEMU_REMOTE ?= http://xenbits.xen.org/git-http/qemu-xen-unstable.git
 else
-QEMU_REMOTE=git://xenbits.xen.org/qemu-xen-unstable.git
+QEMU_REMOTE ?= git://xenbits.xen.org/qemu-xen-unstable.git
 endif
 
 ifeq ($(GIT_HTTP),y)
diff --git a/tools/firmware/etherboot/Makefile b/tools/firmware/etherboot/Makefile
index 15561fc..a0578d2 100644
--- a/tools/firmware/etherboot/Makefile
+++ b/tools/firmware/etherboot/Makefile
@@ -5,14 +5,14 @@ include $(XEN_ROOT)/tools/Rules.mk
 include Config
 
 ifeq ($(GIT_HTTP),y)
-IPXE_GIT_URL := http://git.ipxe.org/ipxe.git
+IPXE_GIT_URL ?= http://git.ipxe.org/ipxe.git
 else
-IPXE_GIT_URL := git://git.ipxe.org/ipxe.git
+IPXE_GIT_URL ?= git://git.ipxe.org/ipxe.git
 endif
 
 IPXE_GIT_TAG := 9a93db3f0947484e30e753bbd61a10b17336e20e
 
-IPXE_TARBALL_URL := $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
+IPXE_TARBALL_URL ?= $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
 
 D=ipxe
 T=ipxe.tar.gz
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] Allow building of XEN from source on a system without internet access.
  2013-10-04 13:17 [PATCH] Allow building of XEN from source on a system without internet access Don Slutz
@ 2013-10-04 13:24 ` Jan Beulich
  2013-10-04 18:43   ` Don Slutz
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Beulich @ 2013-10-04 13:24 UTC (permalink / raw)
  To: Don Slutz; +Cc: xen-devel, ian.jackson, ian.campbell, stefano.stabellini

>>> On 04.10.13 at 15:17, Don Slutz <dslutz@verizon.com> wrote:
> Do the same with XEN_EXTFILES_URL, QEMU_REMOTE, IPXE_GIT_URL, and 
> IPXE_TARBALL_URL as QEMU_UPSTREAM_URL, SEABIOS_UPSTREAM_URL, etc.
> 
> Signed-off-by: Don Slutz <dslutz@verizon.com>
> ---
>  Config.mk                         |    6 +++---
>  tools/firmware/etherboot/Makefile |    6 +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/Config.mk b/Config.mk
> index a26c7c0..8bbab8a 100644
> --- a/Config.mk
> +++ b/Config.mk
> @@ -212,15 +212,15 @@ EMBEDDED_EXTRA_CFLAGS += -fno-exceptions
>  XSM_ENABLE ?= n
>  FLASK_ENABLE ?= $(XSM_ENABLE)
>  
> -XEN_EXTFILES_URL=http://xenbits.xen.org/xen-extfiles 
> +XEN_EXTFILES_URL ?= http://xenbits.xen.org/xen-extfiles 

Given the change here and further down - what is it that doesn't
work when you run "make XEN_EXTFILES_URL=..."? I understand
that you may want to pass these settings through the environment,
but if the command line approach works the patch title is wrong.

Jan

>  # All the files at that location were downloaded from elsewhere on
>  # the internet.  The original download URL is preserved as a comment
>  # near the place in the Xen Makefiles where the file is used.
>  
>  ifeq ($(GIT_HTTP),y)
> -QEMU_REMOTE=http://xenbits.xen.org/git-http/qemu-xen-unstable.git 
> +QEMU_REMOTE ?= http://xenbits.xen.org/git-http/qemu-xen-unstable.git 
>  else
> -QEMU_REMOTE=git://xenbits.xen.org/qemu-xen-unstable.git
> +QEMU_REMOTE ?= git://xenbits.xen.org/qemu-xen-unstable.git
>  endif
>  
>  ifeq ($(GIT_HTTP),y)
> diff --git a/tools/firmware/etherboot/Makefile 
> b/tools/firmware/etherboot/Makefile
> index 15561fc..a0578d2 100644
> --- a/tools/firmware/etherboot/Makefile
> +++ b/tools/firmware/etherboot/Makefile
> @@ -5,14 +5,14 @@ include $(XEN_ROOT)/tools/Rules.mk
>  include Config
>  
>  ifeq ($(GIT_HTTP),y)
> -IPXE_GIT_URL := http://git.ipxe.org/ipxe.git 
> +IPXE_GIT_URL ?= http://git.ipxe.org/ipxe.git 
>  else
> -IPXE_GIT_URL := git://git.ipxe.org/ipxe.git
> +IPXE_GIT_URL ?= git://git.ipxe.org/ipxe.git
>  endif
>  
>  IPXE_GIT_TAG := 9a93db3f0947484e30e753bbd61a10b17336e20e
>  
> -IPXE_TARBALL_URL := $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
> +IPXE_TARBALL_URL ?= $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
>  
>  D=ipxe
>  T=ipxe.tar.gz
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org 
> http://lists.xen.org/xen-devel 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Allow building of XEN from source on a system without internet access.
  2013-10-04 13:24 ` Jan Beulich
@ 2013-10-04 18:43   ` Don Slutz
  2013-10-14 15:52     ` Ian Jackson
  2013-10-31 19:04     ` Ian Campbell
  0 siblings, 2 replies; 7+ messages in thread
From: Don Slutz @ 2013-10-04 18:43 UTC (permalink / raw)
  To: Jan Beulich
  Cc: xen-devel, ian.jackson, ian.campbell, Don Slutz,
	stefano.stabellini

On 10/04/13 09:24, Jan Beulich wrote:
>>>> On 04.10.13 at 15:17, Don Slutz <dslutz@verizon.com> wrote:
>> Do the same with XEN_EXTFILES_URL, QEMU_REMOTE, IPXE_GIT_URL, and
>> IPXE_TARBALL_URL as QEMU_UPSTREAM_URL, SEABIOS_UPSTREAM_URL, etc.
>>
>> Signed-off-by: Don Slutz <dslutz@verizon.com>
>> ---
>>   Config.mk                         |    6 +++---
>>   tools/firmware/etherboot/Makefile |    6 +++---
>>   2 files changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/Config.mk b/Config.mk
>> index a26c7c0..8bbab8a 100644
>> --- a/Config.mk
>> +++ b/Config.mk
>> @@ -212,15 +212,15 @@ EMBEDDED_EXTRA_CFLAGS += -fno-exceptions
>>   XSM_ENABLE ?= n
>>   FLASK_ENABLE ?= $(XSM_ENABLE)
>>   
>> -XEN_EXTFILES_URL=http://xenbits.xen.org/xen-extfiles
>> +XEN_EXTFILES_URL ?= http://xenbits.xen.org/xen-extfiles
> Given the change here and further down - what is it that doesn't
> work when you run "make XEN_EXTFILES_URL=..."? I understand
> that you may want to pass these settings through the environment,
> but if the command line approach works the patch title is wrong.
>
> Jan
Yes, these are passed via the environment.  Will fix the patch title.
    -Don Slutz
>>   # All the files at that location were downloaded from elsewhere on
>>   # the internet.  The original download URL is preserved as a comment
>>   # near the place in the Xen Makefiles where the file is used.
>>   
>>   ifeq ($(GIT_HTTP),y)
>> -QEMU_REMOTE=http://xenbits.xen.org/git-http/qemu-xen-unstable.git
>> +QEMU_REMOTE ?= http://xenbits.xen.org/git-http/qemu-xen-unstable.git
>>   else
>> -QEMU_REMOTE=git://xenbits.xen.org/qemu-xen-unstable.git
>> +QEMU_REMOTE ?= git://xenbits.xen.org/qemu-xen-unstable.git
>>   endif
>>   
>>   ifeq ($(GIT_HTTP),y)
>> diff --git a/tools/firmware/etherboot/Makefile
>> b/tools/firmware/etherboot/Makefile
>> index 15561fc..a0578d2 100644
>> --- a/tools/firmware/etherboot/Makefile
>> +++ b/tools/firmware/etherboot/Makefile
>> @@ -5,14 +5,14 @@ include $(XEN_ROOT)/tools/Rules.mk
>>   include Config
>>   
>>   ifeq ($(GIT_HTTP),y)
>> -IPXE_GIT_URL := http://git.ipxe.org/ipxe.git
>> +IPXE_GIT_URL ?= http://git.ipxe.org/ipxe.git
>>   else
>> -IPXE_GIT_URL := git://git.ipxe.org/ipxe.git
>> +IPXE_GIT_URL ?= git://git.ipxe.org/ipxe.git
>>   endif
>>   
>>   IPXE_GIT_TAG := 9a93db3f0947484e30e753bbd61a10b17336e20e
>>   
>> -IPXE_TARBALL_URL := $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
>> +IPXE_TARBALL_URL ?= $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
>>   
>>   D=ipxe
>>   T=ipxe.tar.gz
>> -- 
>> 1.7.1
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
>
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Allow building of XEN from source on a system without internet access.
  2013-10-04 18:43   ` Don Slutz
@ 2013-10-14 15:52     ` Ian Jackson
  2013-10-15 15:39       ` Don Slutz
  2013-10-31 19:04     ` Ian Campbell
  1 sibling, 1 reply; 7+ messages in thread
From: Ian Jackson @ 2013-10-14 15:52 UTC (permalink / raw)
  To: Don Slutz; +Cc: xen-devel, ian.campbell, Jan Beulich, stefano.stabellini

Don Slutz writes ("Re: [Xen-devel] [PATCH] Allow building of XEN from source on a system without internet access."):
> On 10/04/13 09:24, Jan Beulich wrote:
...
> >> -XEN_EXTFILES_URL=http://xenbits.xen.org/xen-extfiles
> >> +XEN_EXTFILES_URL ?= http://xenbits.xen.org/xen-extfiles
> > Given the change here and further down - what is it that doesn't
> > work when you run "make XEN_EXTFILES_URL=..."? I understand
> > that you may want to pass these settings through the environment,
> > but if the command line approach works the patch title is wrong.
>
> Yes, these are passed via the environment.  Will fix the patch title.

Right, thanks.

FAOD I approve of this kind of change, but did you know that you can
put settings like this in .config in the root of the Xen tree ?

Ian.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Allow building of XEN from source on a system without internet access.
  2013-10-14 15:52     ` Ian Jackson
@ 2013-10-15 15:39       ` Don Slutz
  0 siblings, 0 replies; 7+ messages in thread
From: Don Slutz @ 2013-10-15 15:39 UTC (permalink / raw)
  To: Ian Jackson
  Cc: xen-devel, stefano.stabellini, Jan Beulich, Don Slutz,
	ian.campbell

On 10/14/13 11:52, Ian Jackson wrote:
> Don Slutz writes ("Re: [Xen-devel] [PATCH] Allow building of XEN from source on a system without internet access."):
>> On 10/04/13 09:24, Jan Beulich wrote:
> ...
>>>> -XEN_EXTFILES_URL=http://xenbits.xen.org/xen-extfiles
>>>> +XEN_EXTFILES_URL ?= http://xenbits.xen.org/xen-extfiles
>>> Given the change here and further down - what is it that doesn't
>>> work when you run "make XEN_EXTFILES_URL=..."? I understand
>>> that you may want to pass these settings through the environment,
>>> but if the command line approach works the patch title is wrong.
>> Yes, these are passed via the environment.  Will fix the patch title.
> Right, thanks.
>
> FAOD I approve of this kind of change, but did you know that you can
> put settings like this in .config in the root of the Xen tree ?
I did.  So how about a title of "Allow building of XEN from source on a 
system without internet access by specifying external stuff in .config"?
    -Don Slutz
> Ian.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Allow building of XEN from source on a system without internet access.
  2013-10-04 18:43   ` Don Slutz
  2013-10-14 15:52     ` Ian Jackson
@ 2013-10-31 19:04     ` Ian Campbell
  2013-11-05  2:01       ` Don Slutz
  1 sibling, 1 reply; 7+ messages in thread
From: Ian Campbell @ 2013-10-31 19:04 UTC (permalink / raw)
  To: Don Slutz; +Cc: xen-devel, ian.jackson, Jan Beulich, stefano.stabellini

On Fri, 2013-10-04 at 14:43 -0400, Don Slutz wrote:

> Yes, these are passed via the environment.  Will fix the patch title.

I don't think I saw this, did I miss it or is it still pending?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Allow building of XEN from source on a system without internet access.
  2013-10-31 19:04     ` Ian Campbell
@ 2013-11-05  2:01       ` Don Slutz
  0 siblings, 0 replies; 7+ messages in thread
From: Don Slutz @ 2013-11-05  2:01 UTC (permalink / raw)
  To: Ian Campbell
  Cc: xen-devel, ian.jackson, Jan Beulich, Don Slutz,
	stefano.stabellini


[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]

On 10/31/13 15:04, Ian Campbell wrote:
> On Fri, 2013-10-04 at 14:43 -0400, Don Slutz wrote:
>
>> Yes, these are passed via the environment.  Will fix the patch title.
> I don't think I saw this, did I miss it or is it still pending?
>
>
Sorry about the slow response.

It was still pending (v2 is out).  I was not happy with the title:

    Allow building of XEN from source on a system without internet
    access by specifying external stuff in .config


I think the newer one is better.  Also I spent time on kexec stuff 1st.
     -Don Slutz

[-- Attachment #1.2: Type: text/html, Size: 1136 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-11-05  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 13:17 [PATCH] Allow building of XEN from source on a system without internet access Don Slutz
2013-10-04 13:24 ` Jan Beulich
2013-10-04 18:43   ` Don Slutz
2013-10-14 15:52     ` Ian Jackson
2013-10-15 15:39       ` Don Slutz
2013-10-31 19:04     ` Ian Campbell
2013-11-05  2:01       ` Don Slutz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).