summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2018-05-30 14:57:15 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2018-06-01 11:57:49 +0000
commite59169dc70e5de91589cd1c10ed01758a2bea97f (patch)
treead89b7934d52f2ebc1e8bfe38398980142dcfedc /packaging
parente10cf3e16f204e59e11d48f25b2cf9d30d0fef0c (diff)
downloadsystem-plugin-e59169dc70e5de91589cd1c10ed01758a2bea97f.tar.gz
system-plugin-e59169dc70e5de91589cd1c10ed01758a2bea97f.tar.bz2
system-plugin-e59169dc70e5de91589cd1c10ed01758a2bea97f.zip
Add a new feature-init_wrapper_overlayfs packagesubmit/tizen/20180619.052936accepted/tizen/unified/20180619.142054
This can provide writable overlayfs on read-only compressed fs like squashfs. Change-Id: I6c40af46a096a0f02bb9ed0acf1950894ff00c54 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/system-plugin.spec20
1 files changed, 20 insertions, 0 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index ccc2c80..48136d8 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -67,6 +67,15 @@ BuildArch: noarch
%description feature-init_wrapper
This package provides init.wrapper and init symlink file for init wrapper booting.
+%package feature-init_wrapper_overlayfs
+Summary: Support init.wrapper and overlayfs booting.
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description feature-init_wrapper_overlayfs
+This package provides init.wrapper and init symlink file for init wrapper booting.
+In addition, overlayfs is mounted upon the rootfs.
+
%package feature-lazymount
Summary: Library for lazy mount feature
Requires(post): /usr/bin/vconftool
@@ -198,6 +207,7 @@ install -m 775 -D scripts/fixed-multi-user.sh %{buildroot}%{_datadir}/fixed_mult
# init_wrapper
mkdir -p %{buildroot}%{_sbindir}
install -m 755 scripts/init.wrapper %{buildroot}%{_sbindir}
+install -m 755 scripts/init.wrapper.overlayfs %{buildroot}%{_sbindir}
# headless
mkdir -p %{buildroot}%{_sbindir}
@@ -279,6 +289,16 @@ systemctl daemon-reload
rm -f /sbin/init
ln -s /sbin/init.wrapper /sbin/init
+%files feature-init_wrapper_overlayfs
+%license LICENSE.Apache-2.0
+%{_sbindir}/init.wrapper.overlayfs
+
+%posttrans feature-init_wrapper_overlayfs
+rm -f /sbin/init
+ln -s /sbin/init.wrapper.overlayfs /sbin/init
+mkdir -p /.overlayfs_merged
+mkdir -p /.rootfs_old
+
%files feature-lazymount
%defattr(-,root,root,-)
%manifest liblazymount.manifest