[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/pygrub: store kernels in /var/run/pygrub



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=<dir> 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.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.