1 From 8598715564c7c8d7b7ed75e98bd57cc44b16b318 Mon Sep 17 00:00:00 2001
2 From: William Douglas <william.douglas@intel.com>
3 Date: Fri, 20 Apr 2012 14:20:14 -0700
4 Subject: [PATCH 1/3] add tmp.mount to mount /tmp as tmpfs
7 Makefile.am | 7 +++++++
8 units/tizen/tmp.mount | 10 ++++++++++
9 2 files changed, 17 insertions(+)
10 create mode 100644 units/tizen/tmp.mount
12 diff --git a/Makefile.am b/Makefile.am
13 index 9762da1..d24649e 100644
16 @@ -380,6 +380,11 @@ systemgenerator_PROGRAMS += \
17 systemd-rc-local-generator
21 +dist_systemunit_DATA += \
22 + units/tizen/tmp.mount
26 dist_systemunit_DATA += \
27 units/mandriva/prefdm.service \
28 @@ -2433,6 +2438,8 @@ if TARGET_MEEGO
30 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
32 + ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
33 + $(LN_S) $(systemunitdir)/tmp.mount tmp.mount )
34 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
36 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
37 diff --git a/units/tizen/tmp.mount b/units/tizen/tmp.mount
39 index 0000000..7c3e98c
41 +++ b/units/tizen/tmp.mount
45 +Description=Runtime Directory
46 +Before=local-fs.target
52 +Options=relatime,nodev,nosuid,noexec,size=128M