xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: xen-devel@lists.xen.org
Cc: Wei Liu <wei.liu2@citrix.com>,
	ian.jackson@eu.citrix.com, ian.campbell@citrix.com
Subject: [PATCH OSSTEST 5/6] ts-debian-fixup: remove dead code
Date: Fri, 20 Sep 2013 10:15:45 +0100	[thread overview]
Message-ID: <1379668546-5267-6-git-send-email-wei.liu2@citrix.com> (raw)
In-Reply-To: <1379668546-5267-1-git-send-email-wei.liu2@citrix.com>

Per c7910040 ("Osstest.pm, toolstack()->; always use "cfg", not separate
xl configs"), we only pick the config file with .cfg suffix.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 ts-debian-fixup |   18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/ts-debian-fixup b/ts-debian-fixup
index d8b51b7..f001418 100755
--- a/ts-debian-fixup
+++ b/ts-debian-fixup
@@ -163,23 +163,6 @@ sub writecfg () {
     target_putfile_root($ho,10, $cfgstash, $cfgfile);
 }
 
-sub xlcfg () {
-    my $cfg_xend= target_var($gho,'cfgpath');
-    my $cfg_xl= "/etc/xen/$gho->{Name}.xl";
-    store_runvar("$gho->{Guest}_xlpath", $cfg_xl);
-    target_editfile_root($ho, $cfg_xend, undef, $cfg_xl, sub {
-        local ($/)= undef;
-        $_= <EI>;
-        s/^ [ \t]* memory [ \t]* \= [ \t]* ['"] (.+) ['"] [ \t]*
-          $/memory=$1/mx;
-        s/([[,])\s*\n/$1/g;
-        s/,\s*\]/\]/g;
-        s/([^#\n].*)\n/$1;\n/mg;
-        s/\n\n+/\n/g;
-        print EO or die $!;
-    });
-}
-
 savecfg();
 ether();
 target_kernkind_check($gho);
@@ -188,5 +171,4 @@ console();
 filesystems();
 otherfixupcfg();
 writecfg();
-xlcfg();
 unmount();
-- 
1.7.10.4

  parent reply	other threads:[~2013-09-20  9:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-20  9:15 [PATCH OSSTEST 0/6] Improvement, cleanup and enable Wheezy to run test jobs Wei Liu
2013-09-20  9:15 ` [PATCH OSSTEST 1/6] README: add curl and netcat to requirement list Wei Liu
2013-09-20  9:15 ` [PATCH OSSTEST 2/6] README: describe job dependence Wei Liu
2013-09-20  9:15 ` [PATCH OSSTEST 3/6] Osstest: purge Lenny branches Wei Liu
2013-09-23 13:13   ` Ian Campbell
2013-10-11 11:43     ` Ian Jackson
2013-10-11 11:59       ` Wei Liu
2013-09-20  9:15 ` [PATCH OSSTEST 4/6] Debian: install libc6-dev-i386 for Wheezy amd64 Wei Liu
2013-09-20  9:15 ` Wei Liu [this message]
2013-09-20  9:15 ` [PATCH OSSTEST 6/6] ts-debian-install: pass 'Mb' as memory size Wei Liu
2013-09-23 11:09   ` Ian Campbell
2013-09-23 11:14     ` Wei Liu
2013-10-14 14:40 ` [PATCH OSSTEST 0/6] Improvement, cleanup and enable Wheezy to run test jobs Wei Liu
2013-10-14 16:54   ` Ian Jackson
2013-10-14 17:05     ` Wei Liu
2013-10-14 17:10       ` Ian Jackson

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=1379668546-5267-6-git-send-email-wei.liu2@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.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 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).