summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2020-06-25 08:57:14 +0900
committerINSUN PYO <insun.pyo@samsung.com>2020-06-25 08:58:08 +0900
commitccdc0b0d94b0fa6d503772192101f9ab4725f607 (patch)
tree1523708a9242744ea0ce06efee6f70e59e824f31
parent5055e880b7ade3052c18bc32041479de1f76dbf4 (diff)
downloadsystemd-ccdc0b0d94b0fa6d503772192101f9ab4725f607.tar.gz
systemd-ccdc0b0d94b0fa6d503772192101f9ab4725f607.tar.bz2
systemd-ccdc0b0d94b0fa6d503772192101f9ab4725f607.zip
Tizen no longer uses /etc/fstab. So we don't need systemd-remount-fs.service and systemd-fstab-generager to handle /etc/fstab. Change-Id: I64a3655f69f80d161b00fad40aef6b0235e71977
-rw-r--r--packaging/systemd.spec3
-rw-r--r--units/systemd-remount-fs.service.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/packaging/systemd.spec b/packaging/systemd.spec
index 353447dafd..d0be362a20 100644
--- a/packaging/systemd.spec
+++ b/packaging/systemd.spec
@@ -320,6 +320,8 @@ rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
# Exclude ELF binaries
rm -f %{buildroot}/%{_prefix}/lib/systemd/systemd-volatile-root
+rm -f %{buildroot}/%{_prefix}/lib/systemd/systemd-remount-fs
+rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-fstab-generator
rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-debug-generator
rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-gpt-auto-generator
rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-run-generator
@@ -604,7 +606,6 @@ fi
%{_prefix}/lib/systemd/catalog/systemd.catalog
%{_prefix}/lib/udev
%{_prefix}/lib/systemd/system-generators/systemd-getty-generator
-%{_prefix}/lib/systemd/system-generators/systemd-fstab-generator
%{_prefix}/lib/systemd/system-generators/systemd-system-update-generator
%{_prefix}/lib/tmpfiles.d/home.conf
%{_prefix}/lib/tmpfiles.d/journal-nocow.conf
diff --git a/units/systemd-remount-fs.service.in b/units/systemd-remount-fs.service.in
index 8c736b89f7..b014db5418 100644
--- a/units/systemd-remount-fs.service.in
+++ b/units/systemd-remount-fs.service.in
@@ -20,5 +20,5 @@ Wants=local-fs-pre.target
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@rootlibexecdir@/systemd-remount-fs
+ExecStart=/usr/bin/true
SmackProcessLabel=System