Documentation and various fixes to osstest.
PATCH 1/1 Documentation and various fixes to osstest.
Hey,
Two little fixes, nothing major - but things I spotted as I was setting up osstest.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 1/2 README: Also mention other requirements.
From: Konrad Rzeszutek Wilk <[email protected]>
Mainly dctrl-grep which is in the dctrl-tools.
--- README | 1 + 1 file changed, 1 insertion(+)
README +1 -0
@@ -253,6 +253,7 @@ To run osstest in standalone mode: netcat chiark-utils-bin libxml-libxml-perl + dctrl-tools - Optional: ipmitool -- for hosts which use IPMI for power control
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 1/2] README: Also mention other requirements.
Konrad Rzeszutek Wilk writes ("[PATCH 1/2] README: Also mention other requirements."):
Quoted 3 lines
From: Konrad Rzeszutek Wilk <[email protected]>
Mainly dctrl-grep which is in the dctrl-tools.
Thanks,
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 2/2 s/HttpProxy/DebianMirrorProxy/
In reply to Konrad Rzeszutek WilkFrom: Konrad Rzeszutek Wilk <[email protected]>
where appropiate.
When constructing Debian related items we should be using the DebianMirrorProxy instead of all catch HttpProxy.
Or alternatively support the case where are no HttProxy at all.
--- mg-debian-installer-update | 4 ++-- mgi-common | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
mg-debian-installer-update +2 -2
@@ -64,8 +64,8 @@ dstroot=`getconfig TftpPath`/`getconfig TftpDiBase`/ date=`date +%Y-%m-%d` dst=$arch/$date-$suite -case "`getconfig HttpProxy`" in -?*) export http_proxy=`getconfig HttpProxy` ;; +case "`getconfig DebianMirrorProxy`" in +?*) export http_proxy=`getconfig DebianMirrorProxy` ;; esac cd $dstroot
mgi-common +1 -1
@@ -27,7 +27,7 @@ fetch () { # and (2) if we are explicitly using a proxy to avoid getting # stale data (bearing in mind that we run this interactively only) : ${mg_update_proxy=$( - cd $mg_update_org_pwd && getconfig HttpProxy + cd $mg_update_org_pwd && getconfig DebianMirrorProxy )} curl -s -H 'Pragma: no-cache' \ ${mg_update_proxy+-x} ${mg_update_proxy} \
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 2/2] s/HttpProxy/DebianMirrorProxy/
Konrad Rzeszutek Wilk writes ("[PATCH 2/2] s/HttpProxy/DebianMirrorProxy/"):
Quoted 1 line
From: Konrad Rzeszutek Wilk <[email protected]>
...
Quoted 2 lines
When constructing Debian related items we should be using the DebianMirrorProxy instead of all catch HttpProxy.
I don't think this is right, because apt-cachers and the like are only required to support apt's uses, and not wgets of bits of installer.
But:
Quoted 1 line
Or alternatively support the case where are no HttProxy at all.
This is right. So I think the patch below is better.
Ian.
From 85741f132e62e0cdaef66860d417fa80e9df7a13 Mon Sep 17 00:00:00 2001
From: Ian Jackson <[email protected]>
Date: Tue, 18 Oct 2016 16:46:20 +0100
Subject: [OSSTEST PATCH] mgi-common: Support empty (unset) HttpProxy properly
mg_update_proxy ends up being set to the empty string so the {...:+-x} form is needed to expand only non-empty values to `-x'.
--- mgi-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mgi-common +1 -1
@@ -30,7 +30,7 @@ fetch () { cd $mg_update_org_pwd && getconfig HttpProxy )} curl -s -H 'Pragma: no-cache' \ - ${mg_update_proxy+-x} ${mg_update_proxy} \ + ${mg_update_proxy:+-x} ${mg_update_proxy} \ $1 }
Signature · 7 lines
2.9.3 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 2/2] s/HttpProxy/DebianMirrorProxy/
Quoted 8 lines · Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH 2/2] s/HttpProxy/DebianMirrorProxy/"):
Quoted 1 line
From: Konrad Rzeszutek Wilk <[email protected]>
...
Quoted 2 lines
When constructing Debian related items we should be using the DebianMirrorProxy instead of all catch HttpProxy.
I don't think this is right, because apt-cachers and the like are only required to support apt's uses, and not wgets of bits of installer.
Yup!
Quoted 14 lines
But:
Quoted 1 line
Or alternatively support the case where are no HttProxy at all.
This is right. So I think the patch below is better.
Ian.
Quoted 1 line
From
85741f132e62e0cdaef66860d417fa80e9df7a13Mon Sep 17 00:00:00 2001From: Ian Jackson <[email protected]>
Date: Tue, 18 Oct 2016 16:46:20 +0100
Subject: [OSSTEST PATCH] mgi-common: Support empty (unset) HttpProxy properly
Quoted 5 lines
mg_update_proxyends up being set to the empty string so the {...:+-x} form is needed to expand only non-empty values to `-x'.Signed-off-by Ian Jackson <[email protected]>Reported-by Konrad Rzeszutek Wilk <[email protected]>
And Tested-by: Konrad Rzeszutek Wilk <[email protected]>
Quoted 21 lines
CC Marcos Matsunaga <[email protected]>--- mgi-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)mgi-common +1
-1@@ -30,7 +30,7 @@ fetch () { cd $mg_update_org_pwd && getconfig HttpProxy )} curl -s -H 'Pragma: no-cache' \ - ${mg_update_proxy+-x} ${mg_update_proxy} \ + ${mg_update_proxy:+-x} ${mg_update_proxy} \ $1 }Signature · 1 line
2.9.3
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel