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 b005f3aa6784117d7a009228495548f65e76b303..5c4a2e76dd36bf87c077a138bffece214b6c80ae 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
 
 # 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