diff options
author | Greg KH <gregkh@linuxfoundation.org> | 2014-03-14 04:43:04 +0000 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-14 12:44:17 +0100 |
commit | 92f2f92edcad46ce4098ee26504edca0a1dad68e (patch) | |
tree | 9ad2337000ed976c22f42adf19595800671824a2 /src/core/machine-id-setup.h | |
parent | 06f021a8048583d66202e3ac5cd0a12386d33ac2 (diff) |
machine-id: add --root option to operate on an alternate fs tree
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.
[tomegun: converted to using _cleanup_free_ macros]
Diffstat (limited to 'src/core/machine-id-setup.h')
-rw-r--r-- | src/core/machine-id-setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/machine-id-setup.h b/src/core/machine-id-setup.h index b9e6b4d674..b0583eefc8 100644 --- a/src/core/machine-id-setup.h +++ b/src/core/machine-id-setup.h @@ -21,4 +21,4 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -int machine_id_setup(void); +int machine_id_setup(const char *root); |