summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-26 23:15:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-26 23:15:07 +0200
commit472ff3d64a870dcd767ecf61e07d89d8fb2f272d (patch)
tree6dd4bab6e879bd47b4fe2ae7de053a87d452c6b8
parent510051fc1264ace4ab657b52ec6fb5e2ccfda740 (diff)
build-sys: fix 'make fedora'
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b005f3aa67..5c4a2e76dd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1248,5 +1248,7 @@ git-tag:
# Opt out from a few services on Fedora for now, as long as rc.sysinit does this job
fedora: install
- rm /lib/systemd/system/local-fs.target.wants/var-run.mount
- rm /lib/systemd/system/local-fs.target.wants/var-lock.mount
+ rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-run.mount
+ rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-lock.mount
+ sed -i -e 's/^#MountAuto=yes$$/MountAuto=no/' \
+ -e 's/^#SwapAuto=yes$$/SwapAuto=no/' $(DESTDIR)/etc/systemd/system.conf