summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-27 17:04:22 +0200
committerLennart Poettering <lennart@poettering.net>2012-03-27 17:04:22 +0200
commit231931ffba1bca9d8759bbd6f797e56f8c6971fa (patch)
treeafb048b0f4768c100ce2b9435e428f1d2dd3d8a7 /Makefile.am
parentd508ac0ba0c43efa8caacdd8050970efb1e30243 (diff)
units: don't mount tmpfs on /media anymore
udisks2 doesn't use /media anymore, instead mounts removable media in a user-private directory beneath /run. /media is hence mostly obsolete and hence it makes little sense to continue to mount a tmpfs to it. Distributions should consider dropping the mount point entirely since nothing uses it anymore.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index abe21506df..0fa38d8ccb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -290,7 +290,6 @@ dist_systemunit_DATA = \
units/sys-kernel-debug.mount \
units/sys-fs-fuse-connections.mount \
units/var-run.mount \
- units/media.mount \
units/remount-rootfs.service \
units/printer.target \
units/sound.target \
@@ -2283,13 +2282,11 @@ systemd-install-data-hook:
rm -f systemd-remount-api-vfs.service \
fsck-root.service \
remount-rootfs.service \
- var-run.mount \
- media.mount && \
+ var-run.mount && \
$(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
$(LN_S) ../fsck-root.service fsck-root.service && \
$(LN_S) ../remount-rootfs.service remount-rootfs.service && \
- $(LN_S) ../var-run.mount var-run.mount && \
- $(LN_S) ../media.mount media.mount )
+ $(LN_S) ../var-run.mount var-run.mount )
( cd $(DESTDIR)$(userunitdir) && \
rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
$(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \