X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=5c4a2e76dd36bf87c077a138bffece214b6c80ae;hp=b005f3aa6784117d7a009228495548f65e76b303;hb=472ff3d64a870dcd767ecf61e07d89d8fb2f272d;hpb=510051fc1264ace4ab657b52ec6fb5e2ccfda740 diff --git a/Makefile.am b/Makefile.am index b005f3aa6..5c4a2e76d 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