summaryrefslogtreecommitdiff
path: root/Makefile-switchroot.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-06-02 15:36:56 -0400
committerColin Walters <walters@verbum.org>2013-06-02 15:39:20 -0400
commit1e080b9c7370dc6c4e9d95a905d31b4f4dfe83c3 (patch)
tree1af07cd3c54f9c764ce11c8fa6946db79b8ad749 /Makefile-switchroot.am
parent16157c61af6069bc79d0731c3e458ebd17a3adeb (diff)
downloadostree-1e080b9c7370dc6c4e9d95a905d31b4f4dfe83c3.tar.gz
ostree-prepare-root: New binary, used for systemd-in-initramfs setups
Rather than attempting to hack up the "switch-root" functionality of systemd, this binary allows us to simply prepare the root before we switch into it.
Diffstat (limited to 'Makefile-switchroot.am')
-rw-r--r--Makefile-switchroot.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile-switchroot.am b/Makefile-switchroot.am
index cf2cc54c..c75f709b 100644
--- a/Makefile-switchroot.am
+++ b/Makefile-switchroot.am
@@ -17,8 +17,11 @@
if !TRIGGERS_ONLY
sbin_PROGRAMS += ostree-switch-root
+sbin_PROGRAMS += ostree-prepare-root
endif
-ostree_switch_root_SOURCES = src/switchroot/ostree-switch-root.c
+ostree_prepare_root_SOURCES = src/switchroot/ostree-prepare-root.c
+ostree_prepare_root_CFLAGS = $(AM_CFLAGS)
+ostree_switch_root_SOURCES = src/switchroot/ostree-switch-root.c
ostree_switch_root_CFLAGS = $(AM_CFLAGS)