diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2018-08-07 09:25:45 +0900 |
---|---|---|
committer | INSUN PYO <insun.pyo@samsung.com> | 2018-08-07 13:56:13 +0900 |
commit | 091eca9bbfe09099958e1454d6c3774cebb3c14a (patch) | |
tree | 5d0a0557133f219f7d73ecd75c90682fe64ebb5f | |
parent | f753a0e0f63ecd38992eb1550be1e673fb380e29 (diff) | |
download | system-plugin-091eca9bbfe09099958e1454d6c3774cebb3c14a.tar.gz system-plugin-091eca9bbfe09099958e1454d6c3774cebb3c14a.tar.bz2 system-plugin-091eca9bbfe09099958e1454d6c3774cebb3c14a.zip |
Add a new feature-namespace rpmsubmit/tizen/20180807.045816
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ib89713829adabf193cf8ea51169467e9c3a20fdd
-rw-r--r-- | packaging/system-plugin.spec | 17 | ||||
-rw-r--r-- | units/namespace.conf | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index 78fd80a..2bf9e5e 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -101,6 +101,14 @@ BuildArch: noarch %description feature-image-reduction This package provides system configuration files for reducing image size. +%package feature-namespace +Summary: System configuration files for namespace separation +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description feature-namespace +This package provides namespace separation of user sessions. + %package config-env-headless Summary: System configuration files for headless images Requires: %{name} = %{version}-%{release} @@ -235,6 +243,10 @@ ln -s ../opt-usr.mount %{buildroot}%{_unitdir}/local-fs.target.wants/opt-usr.mou ln -s ../wait-mount@.service %{buildroot}%{_unitdir}/local-fs.target.wants/wait-mount@opt-usr.service ln -s ../wait-mount@.service %{buildroot}%{_userunitdir}/basic.target.wants/wait-mount@opt-usr.service +# namespace +mkdir -p %{buildroot}%{_unitdir}/user@.service.d +install -m 644 units/namespace.conf %{buildroot}%{_unitdir}/user@.service.d/ + %clean rm -rf %{buildroot} @@ -349,6 +361,11 @@ rm -f %{_bindir}/dbus-uuidgen # platform/upstream/e2fsprogs rm -f %{_sbindir}/e4crypt +%files feature-namespace +%manifest %{name}.manifest +%license LICENSE.Apache-2.0 +%{_unitdir}/user@.service.d/namespace.conf + %files config-env-headless %manifest %{name}.manifest %license LICENSE.Apache-2.0 diff --git a/units/namespace.conf b/units/namespace.conf new file mode 100644 index 0000000..b422d60 --- /dev/null +++ b/units/namespace.conf @@ -0,0 +1,2 @@ +[Service] +MountFlags=slave |