chiark / gitweb /
build-sys: fix 'make fedora'
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Oct 2010 21:15:07 +0000 (23:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Oct 2010 21:15:07 +0000 (23:15 +0200)
Makefile.am

index b005f3a..5c4a2e7 100644 (file)
@@ -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