summaryrefslogtreecommitdiff
path: root/packaging/system-plugin-mount.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/system-plugin-mount.spec')
-rwxr-xr-xpackaging/system-plugin-mount.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/system-plugin-mount.spec b/packaging/system-plugin-mount.spec
index 88498e5..5b1d01b 100755
--- a/packaging/system-plugin-mount.spec
+++ b/packaging/system-plugin-mount.spec
@@ -31,6 +31,9 @@ cp -f LICENSE %{buildroot}/usr/share/license/%{name}
#resize2fs service file for systemd
install -m0755 -d %{buildroot}%{_unitdir}/local-fs.target.wants
ln -s ../resize2fs-root.service %{buildroot}%{_unitdir}/local-fs.target.wants/resize2fs-root.service
+ln -s ../resize2fs-opt.service %{buildroot}%{_unitdir}/local-fs.target.wants/resize2fs-opt.service
+ln -s ../resize2fs-opt-usr.service %{buildroot}%{_unitdir}/local-fs.target.wants/resize2fs-opt-usr.service
+
%files
/bin/with-dev-root-do
@@ -41,4 +44,8 @@ ln -s ../resize2fs-root.service %{buildroot}%{_unitdir}/local-fs.target.wants/re
/usr/share/license/%{name}
%{_unitdir}/resize2fs-root.service
%{_unitdir}/local-fs.target.wants/resize2fs-root.service
+%{_unitdir}/resize2fs-opt.service
+%{_unitdir}/local-fs.target.wants/resize2fs-opt.service
+%{_unitdir}/resize2fs-opt-usr.service
+%{_unitdir}/local-fs.target.wants/resize2fs-opt-usr.service
%{_unitdir}/resize2fs@.service