Skip to content

Commit

Permalink
build: Override systemd unit directory for distcheck
Browse files Browse the repository at this point in the history
distcheck tests that all the files are installed under $prefix. That
doesn't work with the systemd unit directory since the path comes from
pkg-config. Override the setting to be under $prefix in that case.

Closes: #372
Approved by: cgwalters
  • Loading branch information
dbnicholson authored and rh-atomic-bot committed Jun 27, 2016
1 parent a945301 commit 8933c93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile-boot.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ endif
if BUILDOPT_SYSTEMD
systemdsystemunit_DATA = src/boot/ostree-prepare-root.service \
src/boot/ostree-remount.service

# Allow the distcheck install under $prefix test to pass
AM_DISTCHECK_CONFIGURE_FLAGS += --with-systemdsystemunitdir='$${libdir}/systemd/system'
endif

if !BUILDOPT_BUILTIN_GRUB2_MKCONFIG
Expand Down

0 comments on commit 8933c93

Please sign in to comment.