diff options
author | Karol Lewandowski <k.lewandowsk@samsung.com> | 2020-09-28 15:53:24 +0200 |
---|---|---|
committer | Karol Lewandowski <k.lewandowsk@samsung.com> | 2020-09-28 15:53:24 +0200 |
commit | 02ff0670148b110275c52709edc22e770a70f416 (patch) | |
tree | cf1348c1556a2b050301637692d4aebb1f3d9e94 | |
parent | 4ce1c834dfcd5cb864d0c2a6cc99610fbc3391e9 (diff) | |
download | systemd-02ff0670148b110275c52709edc22e770a70f416.tar.gz systemd-02ff0670148b110275c52709edc22e770a70f416.tar.bz2 systemd-02ff0670148b110275c52709edc22e770a70f416.zip |
packaging: Drop unused kernel-install utility
Change-Id: I73301481613fbefc77374fcc42297d10eebe3795
-rw-r--r-- | packaging/systemd.spec | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/packaging/systemd.spec b/packaging/systemd.spec index 8ebb8fc86d..129ef85624 100644 --- a/packaging/systemd.spec +++ b/packaging/systemd.spec @@ -333,6 +333,10 @@ rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.timer 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 @@ -400,7 +404,6 @@ install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysctl.d/ # 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 @@ -486,16 +489,10 @@ fi %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 |