From: Ian Campbell Subject: Re: [PATCH] tools/pygrub: store kernels in /var/run/pygrub Date: Tue, 22 Apr 2014 09:45:58 +0100 Message-ID: <1398156358.31707.13.camel@kazak.uk.xensource.com> References: <1397731926-29636-1-git-send-email-olaf@aepfle.de> <21328.6929.449572.627272@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21328.6929.449572.627272@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Olaf Hering , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-04-17 at 19:18 +0100, Ian Jackson wrote: > Olaf Hering writes ("[PATCH] tools/pygrub: store kernels in /var/run/pygrub"): > > Move location of temporary bootfiles from /var/run/xend/boot to > > /var/run/pygrub. If the directory does not exist create it, unless > > --output-directory= was specified. > > > > 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. > > I don't understand why this necessitates changing the directory. > Surely it should just be created. > > Also, I think pygrub is a piece of Xen and we should be using > /var/run/xen (not xend as xend is obsolete). Yes. FWIW libxl (the only remaining automated caller of this code) always passes --output-directory= ${XEN_RUN_DIR:-/var/run/xen}/bootloader.$domid/dir Ian.