spec: disable EFI feature 68/236568/5
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 18 Jun 2020 06:35:09 +0000 (15:35 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Fri, 19 Jun 2020 04:57:30 +0000 (13:57 +0900)
Change-Id: Ia4b0612f77c5bde4615af615bf8747168bb9abda

packaging/systemd.spec

index dcbdae2..c1cdd92 100644 (file)
@@ -193,6 +193,7 @@ cp %{SOURCE9} .
 %if ! %{WITH_RFKILL}
        -Drfkill=false \
 %endif
+       -Defi=false \
        -Dhwdb=false \
        -Dsysusers=false \
        -Dfirstboot=false \
@@ -317,10 +318,8 @@ rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
 
 # Exclude ELF binaries
 rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-debug-generator
-rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-efi-boot-generator
 rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-gpt-auto-generator
 rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-hibernate-resume-generator
-rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-bless-boot-generator
 rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-run-generator
 
 # Marker file for kdbus
@@ -380,7 +379,6 @@ install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysctl.d/
 /usr/bin/ln -sf /dev/null /etc/systemd/network/99-default.link
 
 # Set the smack label of executable binary tools
-chsmack %{_bindir}/bootctl -a "System::Tools"
 chsmack %{_bindir}/busctl -a "System::Tools"
 chsmack %{_bindir}/kernel-install -a "System::Tools"
 %if %{?WITH_MACHINED}
@@ -457,7 +455,6 @@ fi
 %manifest %{name}.manifest
 %license LICENSE.LGPL2.1  LICENSE.GPL2
 %config %{_sysconfdir}/pam.d/systemd-user
-%{_bindir}/bootctl
 %{_bindir}/busctl
 %{_bindir}/kernel-install
 %if %{?WITH_MACHINED}