From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: xen-devel@lists.xenproject.org, ian.jackson@citrix.com
Cc: Marcos.Matsunaga@oracle.com,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: [PATCH] standalone-reset: Check for TftpPxeDir
Date: Wed, 26 Oct 2016 14:51:45 -0400 [thread overview]
Message-ID: <1477507905-85518-1-git-send-email-konrad.wilk@oracle.com> (raw)
In-Reply-To: <1477505649-84103-4-git-send-email-konrad.wilk@oracle.com>
While patch: "README: Mention the / requirement in Tftp[Dir|Tmp]Dir"
we should also double-check that the directory actually exists.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
standalone-reset | 3 +++
1 file changed, 3 insertions(+)
diff --git a/standalone-reset b/standalone-reset
index c587e60..69a3226 100755
--- a/standalone-reset
+++ b/standalone-reset
@@ -101,6 +101,9 @@ else
tftptmp=`getconfig TftpTmpDir`
ensure_dir "$tftp$tftptmp"
+ tftpconfig=`getconfig TftpPxeDir`
+ ensure_dir "$tftp$tftpconfig"
+
dibase=`getconfig TftpDiBase`
suite=`getconfig DebianSuite`
diver=`getconfig_TftpDiVersion_suite $suite`
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-10-26 15:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 18:14 [PATCH OSSTEST] Various fixes when using standalone Konrad Rzeszutek Wilk
2016-10-26 18:14 ` [PATCH 1/3] DhcpWatch: Print what is wrong with the line Konrad Rzeszutek Wilk
2016-10-26 15:10 ` Ian Jackson
2016-10-26 15:15 ` Konrad Rzeszutek Wilk
2016-10-26 18:14 ` [PATCH 2/3] standalong-reset: Use the $suite when recreating soft links Konrad Rzeszutek Wilk
2016-10-26 18:14 ` [PATCH 3/3] README: Mention the / requirement in Tftp[Dir|Tmp]Dir Konrad Rzeszutek Wilk
2016-10-26 15:12 ` Ian Jackson
2016-10-26 15:16 ` Konrad Rzeszutek Wilk
2016-10-26 15:38 ` Ian Jackson
2016-10-26 18:51 ` Konrad Rzeszutek Wilk [this message]
2016-10-26 15:48 ` [PATCH] standalone-reset: Check for TftpPxeDir Ian Jackson
2016-10-26 15:52 ` Konrad Rzeszutek Wilk
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=1477507905-85518-1-git-send-email-konrad.wilk@oracle.com \
--to=konrad.wilk@oracle.com \
--cc=Marcos.Matsunaga@oracle.com \
--cc=ian.jackson@citrix.com \
--cc=xen-devel@lists.xenproject.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).