rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
+# Drop kernel-install as it's not used by Tizen kernel scripts
+rm -rf %{buildroot}/%{_bindir}/kernel-install
+rm -rf %{buildroot}/%{_prefix}/lib/kernel
+
# Exclude ELF binaries
rm -f %{buildroot}/%{_prefix}/lib/systemd/systemd-update-utmp
rm -f %{buildroot}/%{_prefix}/lib/systemd/systemd-volatile-root
# Set the smack label of executable binary tools
chsmack %{_bindir}/busctl -a "System::Tools"
-chsmack %{_bindir}/kernel-install -a "System::Tools"
%if %{?WITH_MACHINED}
chsmack %{_bindir}/machinectl -a "System::Tools"
%endif
%license LICENSE.LGPL2.1 LICENSE.GPL2
%config %{_sysconfdir}/pam.d/systemd-user
%{_bindir}/busctl
-%{_bindir}/kernel-install
%if 0%{?WITH_MACHINED}
%{_bindir}/machinectl
%endif
%{_bindir}/systemd-run
-%dir %{_prefix}/lib/kernel
-%dir %{_prefix}/lib/kernel/install.d
-%{_prefix}/lib/kernel/install.d/00-entry-directory.install
-%{_prefix}/lib/kernel/install.d/50-depmod.install
-%{_prefix}/lib/kernel/install.d/90-loaderentry.install
%if 0%{?WITH_HOSTNAMED}
%{_bindir}/hostnamectl
%endif