[packages/systemd] - make enabling tmpfs mount on /tmp possible - rel 11

baggins baggins at pld-linux.org
Thu Feb 27 20:22:00 CET 2014


commit 5f97ec0fbfa720787899f63a5a28a939b971f482
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Feb 27 20:21:24 2014 +0100

    - make enabling tmpfs mount on /tmp possible
    - rel 11

 optional-tmp-on-tmpfs.patch | 9 +++++++++
 systemd.spec                | 7 ++++---
 2 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 695d169..d3280f4 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -16,7 +16,7 @@ Summary(pl.UTF-8):	systemd - zarządca systemu i usług dla Linuksa
 Name:		systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:	208
-Release:	10
+Release:	11
 Epoch:		1
 License:	GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:		Base
@@ -62,6 +62,7 @@ Patch14:	dont-hash-null-keys.patch
 Patch15:	hibernate-to-file.patch
 Patch16:	systemd-configfs.patch
 Patch17:	pld-boot_efi_mount.patch
+Patch18:	optional-tmp-on-tmpfs.patch
 URL:		http://www.freedesktop.org/wiki/Software/systemd
 BuildRequires:	acl-devel
 BuildRequires:	attr-devel
@@ -596,6 +597,7 @@ Uzupełnianie parametrów w zsh dla poleceń udev.
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
+%patch18 -p1
 cp -p %{SOURCE2} src/systemd_booted.c
 
 %build
@@ -719,8 +721,7 @@ cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
 ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
 ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
 
-# and remove tmp on tmpfs mount
-%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount
+# and remove mounting tmp on tmpfs by default
 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
 
 # Install and enable storage subsystems support services (RAID, LVM, etc.)
diff --git a/optional-tmp-on-tmpfs.patch b/optional-tmp-on-tmpfs.patch
new file mode 100644
index 0000000..afda353
--- /dev/null
+++ b/optional-tmp-on-tmpfs.patch
@@ -0,0 +1,9 @@
+--- systemd-208/units/tmp.mount~	2013-08-13 22:02:52.833756462 +0200
++++ systemd-208/units/tmp.mount	2014-02-27 18:48:29.799737745 +0100
+@@ -18,3 +18,6 @@
+ Where=/tmp
+ Type=tmpfs
+ Options=mode=1777,strictatime
++
++[Install]
++WantedBy=local-fs.target
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/5f97ec0fbfa720787899f63a5a28a939b971f482



More information about the pld-cvs-commit mailing list