From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 07/13] tools/pygrub: store kernels in /var/run/xen/pygrub Date: Tue, 26 Aug 2014 21:04:14 +0100 Message-ID: <1409083454.28009.23.camel@citrix.com> References: <1406538316-29087-1-git-send-email-olaf@aepfle.de> <1406538316-29087-8-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1406538316-29087-8-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Keir Fraser , Stefano Stabellini , Tim Deegan , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich , Samuel Thibault List-Id: xen-devel@lists.xenproject.org On Mon, 2014-07-28 at 11:05 +0200, Olaf Hering wrote: > Move location of temporary bootfiles from /var/run/xend/boot to > /var/run/xen/pygrub. Create the subdirectory if does not exist. > The argument --output-directory must be an existing directory. > > The reason for this change is that all entrys below /var/run have to be > created at runtime in case /var/run is cleared on every boot. > > Signed-off-by: Olaf Hering > --- > tools/pygrub/src/pygrub | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub > index 2618e11..9d8c5a1 100644 > --- a/tools/pygrub/src/pygrub > +++ b/tools/pygrub/src/pygrub > @@ -14,6 +14,7 @@ > # > > import os, sys, string, struct, tempfile, re, traceback > +import errno Isn't this unused? If so then with it removed: Acked-by: Ian Campbell If it is used then the ack applies to the patch unchanged ;-)