New release candidate for Xen 4.0.1
I have a minor fix for this. BASH_COMPLETION_DIR is used uninitialized in tools/libxl/Makefile which means that xl.sh can end up in / which is not ideal. The patch below sets a sensible default for this variable.
tools/libxl/Makefile renamed from tools/libxl/Makefile.orig +1 -0
@@ -4,6 +4,7 @@ XEN_ROOT = ../.. include $(XEN_ROOT)/tools/Rules.mk +BASH_COMPLETION_DIR ?= /etc/bash_completion.d/ MAJOR = 1.0 MINOR = 0
Shouldn't this be in xen-unstable first, and then backported in the usual way?
K.
Quoted 22 lines · M A Young
I have a minor fix for this.
BASH_COMPLETION_DIRis used uninitialized intools/libxl/Makefilewhich means thatxl.shcan end up in / which is not ideal.
The patch below sets a sensible default for this variable.Signed-off-by Michael Young <[email protected]>tools/libxl/Makefile 2010-07-16 19:39:46.000000000 +0100 renamed from tools/libxl/Makefile.orig 2010-07-16 18:27:14.000000000 +0100 +1
-0@@ -4,6 +4,7 @@ XEN_ROOT = ../.. include $(XEN_ROOT)/tools/Rules.mk +BASH_COMPLETION_DIR ?= /etc/bash_completion.d/ MAJOR = 1.0 MINOR = 0_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 2 lines · Keir Fraser
Shouldn't this be in xen-unstable first, and then backported in the usual way?
If that is the normal process then yes. I haven't checked whether this bug exists in xen-unstable, but a quick glance at the Makefile I am patching suggests that it probably does.
Michael Young
Quoted 8 lines · M A Young
Quoted 2 lines · Keir Fraser
Shouldn't this be in xen-unstable first, and then backported in the usual way?
If that is the normal process then yes. I haven't checked whether this bug exists in xen-unstable, but a quick glance at the
MakefileI am patching suggests that it probably does.
The precise process for toolset patches now is that they get applied to
http://xenbits.xen.org/staging/xen-unstable-tools.hg by Ian Jackson or Stefano Stabellini. I merge that tree into main xen-unstable.hg nearly every day. Then, for 4.0.x and 3.4.x stable branches, Ian and Stefano nominate patches for backport from xen-unstable.
-- Keir
Quoted 1 line
Michael Young
One result of this process is that it makes it difficult to see changes via the xen-changelog mailing list as the pull by Keir into xen-unstable just shows up as a Merge, without any of the changeset title or log detail. Any way to fix this? If necessary, by adding the staging/xen-unstable-tools.hg tree to the changelog mailing list?
Quoted 39 lines
-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: Wednesday, July 21, 2010 4:23 AM
To: M A Young
Cc: Ian Campbell; [email protected]; Stefano Stabellini
Subject: Re: [PATCH] Re: [Xen-devel] New release candidate for Xen 4.0.1Quoted 3 lines · M A Young
Quoted 1 line · Keir Fraser
Shouldn't this be in xen-unstable first, and then backported in the
usual
Quoted 3 lines
Quoted 1 line
way?
If that is the normal process then yes. I haven't checked whether
this
Quoted 2 lines
bug exists in xen-unstable, but a quick glance at the
MakefileI am patching suggests that it probably does.The precise process for toolset patches now is that they get applied to
http://xenbits.xen.org/staging/xen-unstable-tools.hg by Ian Jackson or Stefano Stabellini. I merge that tree into main xen-unstable.hg nearly every
day. Then, for 4.0.x and 3.4.x stable branches, Ian and Stefano nominate
patches for backport from xen-unstable.-- Keir
Quoted 1 line
Michael Young
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Er, no. There's still one email per changeset. You can ignore the merge
changesets: they're all trivial auto merges, and I'm not sure why they end up with an associated diff, it must be how mercurial consolidates and merges a branch.
-- Keir
Quoted 47 lines · Dan Magenheimer
One result of this process is that it makes it difficult to see changes via the xen-changelog mailing list as the pull by Keir into xen-unstable just shows up as a Merge, without any of the changeset title or log detail. Any way to fix this? If necessary, by adding the staging/xen-unstable-tools.hg tree to the changelog mailing list?
Quoted 39 lines
-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: Wednesday, July 21, 2010 4:23 AM
To: M A Young
Cc: Ian Campbell; [email protected]; Stefano Stabellini
Subject: Re: [PATCH] Re: [Xen-devel] New release candidate for Xen 4.0.1Quoted 3 lines · M A Young
Quoted 1 line · Keir Fraser
Shouldn't this be in xen-unstable first, and then backported in the
usual
Quoted 3 lines
Quoted 1 line
way?
If that is the normal process then yes. I haven't checked whether
this
Quoted 2 lines
bug exists in xen-unstable, but a quick glance at the
MakefileI am patching suggests that it probably does.The precise process for toolset patches now is that they get applied to
http://xenbits.xen.org/staging/xen-unstable-tools.hg by Ian Jackson or Stefano Stabellini. I merge that tree into main xen-unstable.hg nearly every
day. Then, for 4.0.x and 3.4.x stable branches, Ian and Stefano nominate
patches for backport from xen-unstable.-- Keir
Quoted 1 line
Michael Young
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Keir Fraser writes ("Re: [PATCH] Re: [Xen-devel] New release candidate for Xen 4.0.1"):
Quoted 4 lines
Er, no. There's still one email per changeset. You can ignore the merge
changesets: they're all trivial auto merges, and I'm not sure why they end up with an associated diff, it must be how mercurial consolidates and merges a branch.
Right.
We could add the separate tools tree to the patchbot but it would result in every tools patch being mailed out twice.
Ian.
Quoted 10 lines · M A Young
I have a minor fix for this.
BASH_COMPLETION_DIRis used uninitialized intools/libxl/Makefilewhich means thatxl.shcan end up in / which is not ideal. The patch below sets a sensible default for this variable.Signed-off-by Michael Young <[email protected]>
tools/libxl/Makefile line 10
Quoted 7 lines
tools/libxl/Makefile renamed from tools/libxl/Makefile.orig +1
-0@@ -4,6 +4,7 @@ XEN_ROOT = ../.. include $(XEN_ROOT)/tools/Rules.mk +BASH_COMPLETION_DIR ?= /etc/bash_completion.d/ MAJOR = 1.0 MINOR = 0
I would rather backport this to xen4.0:
# HG changeset patch
# User Keir Fraser <[email protected]>
# Date 1276064492 -3600
# Node ID 0c10e80e083b115313bfc213e7683f4fc3f761bc
# Parent 87fe942a90b1d96b5e378fa5b221fd8eeba439da
tools: fix install bash-completion files to non-default locations.
Config.mk +1 -1
@@ -29,7 +29,7 @@ include $(XEN_ROOT)/config/$(XEN_TARGET_ SHAREDIR ?= $(PREFIX)/share DOCDIR ?= $(SHAREDIR)/doc/xen MANDIR ?= $(SHAREDIR)/man -BASH_COMPLETION_DIR ?= /etc/bash_completion.d +BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d ifneq ($(EXTRA_PREFIX),) EXTRA_INCLUDES += $(EXTRA_PREFIX)/include
Quoted 22 lines · Stefano Stabellini
I would rather backport this to xen4.0:
# HG changeset patch
# User Keir Fraser <[email protected]>
# Date 1276064492 -3600
# Node ID0c10e80e083b115313bfc213e7683f4fc3f761bc
# Parent87fe942a90b1d96b5e378fa5b221fd8eeba439da
tools: fix install bash-completion files to non-default locations.Signed-off-by Christoph Egger <[email protected]>diff -r
87fe942a90b1-r0c10e80e083bConfig.mkConfig.mk +0
-0@@ -29,7 +29,7 @@ include $(XEN_ROOT)/config/$(XEN_TARGET_SHAREDIR ?= $(PREFIX)/share DOCDIR ?= $(SHAREDIR)/doc/xen MANDIR ?= $(SHAREDIR)/manConfig.mk +1
-1-BASH_COMPLETION_DIR ?= /etc/bash_completion.d +BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d
Quoted 3 lines
ifneq ($(EXTRA_PREFIX),)
EXTRA_INCLUDES+= $(EXTRA_PREFIX)/include
Adding that line at that place looks reasonable, though that patch won't work because there isn't currently a BASH_COMPLETION_DIR line in Config.mk, hence the original bug. It looks like the selective backport
http://xenbits.xensource.com/xen-4.0-testing.hg?rev/b1321a50f626
of xl stuff missed this.
Michael Young
Quoted 24 lines · M A Young
Quoted 22 lines · Stefano Stabellini
I would rather backport this to xen4.0:
# HG changeset patch
# User Keir Fraser <[email protected]>
# Date 1276064492 -3600
# Node ID0c10e80e083b115313bfc213e7683f4fc3f761bc
# Parent87fe942a90b1d96b5e378fa5b221fd8eeba439da
tools: fix install bash-completion files to non-default locations.Signed-off-by Christoph Egger <[email protected]>diff -r
87fe942a90b1-r0c10e80e083bConfig.mkConfig.mk +0
-0@@ -29,7 +29,7 @@ include $(XEN_ROOT)/config/$(XEN_TARGET_SHAREDIR ?= $(PREFIX)/share DOCDIR ?= $(SHAREDIR)/doc/xen MANDIR ?= $(SHAREDIR)/manConfig.mk +1
-1-BASH_COMPLETION_DIR ?= /etc/bash_completion.d +BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d
Quoted 9 lines
Quoted 3 lines
ifneq ($(EXTRA_PREFIX),)
EXTRA_INCLUDES+= $(EXTRA_PREFIX)/includeAdding that line at that place looks reasonable, though that patch won't work because there isn't currently a
BASH_COMPLETION_DIRline in Config.mk, hence the original bug. It looks like the selective backport
http://xenbits.xensource.com/xen-4.0-testing.hg?rev/b1321a50f626
of xl stuff missed this.
Indeed.
Thanks for pointing out this bug.
Quoted 8 lines · Stefano Stabellini
Quoted 5 lines
Adding that line at that place looks reasonable, though that patch won't work because there isn't currently a
BASH_COMPLETION_DIRline in Config.mk, hence the original bug. It looks like the selective backport
http://xenbits.xensource.com/xen-4.0-testing.hg?rev/b1321a50f626
of xl stuff missed this.Indeed.
Thanks for pointing out this bug.
Yeah, I think we need to net effect of xen-unstable changesets 21253, 21517 and 21565 on Config.mk. I can sort that out easy enough, it's still basically a one liner.
-- Keir