summaryrefslogtreecommitdiff
path: root/Makefile-boot.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-04-28 11:34:27 -0400
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-05-01 10:25:19 +0000
commit831e9dcdeac28b56c29e84f58ae90fb70e73626c (patch)
tree53f2234e12f1ad100c81e4f020ad5a9fc2f49d6c /Makefile-boot.am
parent72abe6237093e6db2f34a434696c9b53cdd52827 (diff)
downloadostree-831e9dcdeac28b56c29e84f58ae90fb70e73626c.tar.gz
build: Introduce --with-dracut=yesbutnoconf
It's actually just easier for build systems (e.g. rpm-ostree) using dracut to use `--add ostree` rather than indirecting through the conf file. This makes it easier for yum-managed systems to install ostree without side effects. Closes: #279 Approved by: gatispaeglis
Diffstat (limited to 'Makefile-boot.am')
-rw-r--r--Makefile-boot.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile-boot.am b/Makefile-boot.am
index 7ec54fa3..8b62d1ba 100644
--- a/Makefile-boot.am
+++ b/Makefile-boot.am
@@ -21,7 +21,8 @@ if BUILDOPT_DRACUT
# Not using $(libdir) here is intentional, dracut modules go in prefix/lib
dracutmoddir = $(prefix)/lib/dracut/modules.d/98ostree
dracutmod_SCRIPTS = src/boot/dracut/module-setup.sh
-
+endif
+if BUILDOPT_DRACUT_CONF
dracutconfdir = $(sysconfdir)/dracut.conf.d
dracutconf_DATA = src/boot/dracut/ostree.conf
endif