Do not log reboots to utmp 18/241218/1 accepted/tizen/unified/20200820.034651 accepted/tizen/unified/20200824.025956 submit/tizen/20200819.013928 submit/tizen/20200820.014911
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 18 Aug 2020 20:51:28 +0000 (22:51 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 18 Aug 2020 20:51:28 +0000 (22:51 +0200)
This functionality is not used by Tizen services.  Users can find
reboots using standard log facilities (journal).

Change-Id: Ie8926606ebb386684ba321ef4560eaec9143e4cf

packaging/systemd.spec

index 3333032..75d75c8 100644 (file)
@@ -309,7 +309,9 @@ rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/sysinit.target.wants/sys-fs-fu
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/sysinit.target.wants/systemd-ask-password-console.path
+rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/sysinit.target.wants/systemd-update-utmp.service
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/multi-user.target.wants/systemd-ask-password-wall.path
+rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/systemd-update-utmp.service
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/systemd-volatile-root.service
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/systemd-tmpfiles-clean.timer
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/systemd-tmpfiles-clean.service
@@ -319,6 +321,7 @@ rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
 
 # Exclude ELF binaries
+rm -f %{buildroot}/%{_prefix}/lib/systemd/systemd-update-utmp
 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