[systemd-devel] [PATCH] machine-id: add --root option to operate on an alternate fs tree

Greg KH gregkh at linuxfoundation.org
Fri Mar 14 09:41:19 PDT 2014


On Fri, Mar 14, 2014 at 12:47:53PM +0100, Tom Gundersen wrote:
> On Fri, Mar 14, 2014 at 5:43 AM, Greg KH <gregkh at linuxfoundation.org> wrote:
> > This makes it possible to initialize the /etc/machine-id file on an
> > arbitrary filesystem hierarchy.  This helps systems that wish to run
> > this at image creation time in a subdirectory, or from initramfs before
> > pivot-root is called.
> 
> Thanks. Applied, with a little tweak: I used the _cleanup_free_
> macros.

Ah, nice, I forgot about that feature.

> Please have a look in case I messed something up.

Looks great, thanks for merging it.

greg k-h


More information about the systemd-devel mailing list