- Rename %{gnu-efi} into %{sd_boot}
Build conditionals (%bcond_with and %bcond_without) are used to define a specific feature of systemd. "gnu-efi" is rather an implemenation detail. Also not really sure what "efi" option alone is useful for since systemd-boot & co depends on "gnu-efi". - Enable sd_boot support for aarch64 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1202
This commit is contained in:
parent
40636e3824
commit
4bd5e376d8
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 15 11:38:41 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Rename %{gnu-efi} into %{sd_boot}
|
||||||
|
|
||||||
|
Build conditionals (%bcond_with and %bcond_without) are used to
|
||||||
|
define a specific feature of systemd. "gnu-efi" is rather an
|
||||||
|
implemenation detail. Also not really sure what "efi" option alone
|
||||||
|
is useful for since systemd-boot & co depends on "gnu-efi".
|
||||||
|
|
||||||
|
- Enable sd_boot support for aarch64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 15 09:27:00 UTC 2021 - Franck Bui <fbui@suse.com>
|
Fri Oct 15 09:27:00 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
%define suse_version +suse.39.g7a5801342f
|
%define suse_version +suse.39.g7a5801342f
|
||||||
%define _testsuitedir /usr/lib/systemd/tests
|
%define _testsuitedir /usr/lib/systemd/tests
|
||||||
|
|
||||||
%bcond_with gnuefi
|
|
||||||
%if 0%{?bootstrap}
|
%if 0%{?bootstrap}
|
||||||
%bcond_with coredump
|
%bcond_with coredump
|
||||||
%bcond_with importd
|
%bcond_with importd
|
||||||
@ -38,20 +37,23 @@
|
|||||||
%bcond_with networkd
|
%bcond_with networkd
|
||||||
%bcond_with portabled
|
%bcond_with portabled
|
||||||
%bcond_with resolved
|
%bcond_with resolved
|
||||||
|
%bcond_with sd_boot
|
||||||
%bcond_with sysvcompat
|
%bcond_with sysvcompat
|
||||||
%bcond_with experimental
|
%bcond_with experimental
|
||||||
%bcond_with testsuite
|
%bcond_with testsuite
|
||||||
%else
|
%else
|
||||||
%bcond_without coredump
|
%bcond_without coredump
|
||||||
%ifarch %{ix86} x86_64
|
|
||||||
%bcond_without gnuefi
|
|
||||||
%endif
|
|
||||||
%bcond_without importd
|
%bcond_without importd
|
||||||
%bcond_without journal_remote
|
%bcond_without journal_remote
|
||||||
%bcond_without machined
|
%bcond_without machined
|
||||||
%bcond_without networkd
|
%bcond_without networkd
|
||||||
%bcond_without portabled
|
%bcond_without portabled
|
||||||
%bcond_without resolved
|
%bcond_without resolved
|
||||||
|
%ifarch %{ix86} x86_64 aarch64
|
||||||
|
%bcond_without sd_boot
|
||||||
|
%else
|
||||||
|
%bcond_with sd_boot
|
||||||
|
%endif
|
||||||
%bcond_without sysvcompat
|
%bcond_without sysvcompat
|
||||||
%bcond_without experimental
|
%bcond_without experimental
|
||||||
%bcond_without testsuite
|
%bcond_without testsuite
|
||||||
@ -117,7 +119,7 @@ BuildRequires: pkgconfig(zlib)
|
|||||||
BuildRequires: pkgconfig(libcurl)
|
BuildRequires: pkgconfig(libcurl)
|
||||||
BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
|
BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
|
||||||
%endif
|
%endif
|
||||||
%if %{with gnuefi}
|
%if %{with sd_boot}
|
||||||
BuildRequires: gnu-efi
|
BuildRequires: gnu-efi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -652,8 +654,12 @@ Have fun with these services at your own risk.
|
|||||||
%if %{without coredump}
|
%if %{without coredump}
|
||||||
-Dcoredump=false \
|
-Dcoredump=false \
|
||||||
%endif
|
%endif
|
||||||
%if %{without gnuefi}
|
%if %{without sd_boot}
|
||||||
|
-Defi=false \
|
||||||
-Dgnu-efi=false \
|
-Dgnu-efi=false \
|
||||||
|
%else
|
||||||
|
-Defi=true \
|
||||||
|
-Dgnu-efi=true \
|
||||||
%endif
|
%endif
|
||||||
%if %{without importd}
|
%if %{without importd}
|
||||||
-Dimportd=false \
|
-Dimportd=false \
|
||||||
@ -1367,7 +1373,7 @@ fi
|
|||||||
|
|
||||||
%{_pam_moduledir}/pam_systemd.so
|
%{_pam_moduledir}/pam_systemd.so
|
||||||
|
|
||||||
%if %{with gnuefi}
|
%if %{with sd_boot}
|
||||||
%dir %{_prefix}/lib/systemd/boot
|
%dir %{_prefix}/lib/systemd/boot
|
||||||
%dir %{_prefix}/lib/systemd/boot/efi
|
%dir %{_prefix}/lib/systemd/boot/efi
|
||||||
%{_prefix}/lib/systemd/boot/efi/*.efi
|
%{_prefix}/lib/systemd/boot/efi/*.efi
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 15 11:38:41 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Rename %{gnu-efi} into %{sd_boot}
|
||||||
|
|
||||||
|
Build conditionals (%bcond_with and %bcond_without) are used to
|
||||||
|
define a specific feature of systemd. "gnu-efi" is rather an
|
||||||
|
implemenation detail. Also not really sure what "efi" option alone
|
||||||
|
is useful for since systemd-boot & co depends on "gnu-efi".
|
||||||
|
|
||||||
|
- Enable sd_boot support for aarch64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 15 09:27:00 UTC 2021 - Franck Bui <fbui@suse.com>
|
Fri Oct 15 09:27:00 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
20
systemd.spec
20
systemd.spec
@ -27,7 +27,6 @@
|
|||||||
%define suse_version +suse.39.g7a5801342f
|
%define suse_version +suse.39.g7a5801342f
|
||||||
%define _testsuitedir /usr/lib/systemd/tests
|
%define _testsuitedir /usr/lib/systemd/tests
|
||||||
|
|
||||||
%bcond_with gnuefi
|
|
||||||
%if 0%{?bootstrap}
|
%if 0%{?bootstrap}
|
||||||
%bcond_with coredump
|
%bcond_with coredump
|
||||||
%bcond_with importd
|
%bcond_with importd
|
||||||
@ -36,20 +35,23 @@
|
|||||||
%bcond_with networkd
|
%bcond_with networkd
|
||||||
%bcond_with portabled
|
%bcond_with portabled
|
||||||
%bcond_with resolved
|
%bcond_with resolved
|
||||||
|
%bcond_with sd_boot
|
||||||
%bcond_with sysvcompat
|
%bcond_with sysvcompat
|
||||||
%bcond_with experimental
|
%bcond_with experimental
|
||||||
%bcond_with testsuite
|
%bcond_with testsuite
|
||||||
%else
|
%else
|
||||||
%bcond_without coredump
|
%bcond_without coredump
|
||||||
%ifarch %{ix86} x86_64
|
|
||||||
%bcond_without gnuefi
|
|
||||||
%endif
|
|
||||||
%bcond_without importd
|
%bcond_without importd
|
||||||
%bcond_without journal_remote
|
%bcond_without journal_remote
|
||||||
%bcond_without machined
|
%bcond_without machined
|
||||||
%bcond_without networkd
|
%bcond_without networkd
|
||||||
%bcond_without portabled
|
%bcond_without portabled
|
||||||
%bcond_without resolved
|
%bcond_without resolved
|
||||||
|
%ifarch %{ix86} x86_64 aarch64
|
||||||
|
%bcond_without sd_boot
|
||||||
|
%else
|
||||||
|
%bcond_with sd_boot
|
||||||
|
%endif
|
||||||
%bcond_without sysvcompat
|
%bcond_without sysvcompat
|
||||||
%bcond_without experimental
|
%bcond_without experimental
|
||||||
%bcond_without testsuite
|
%bcond_without testsuite
|
||||||
@ -115,7 +117,7 @@ BuildRequires: pkgconfig(zlib)
|
|||||||
BuildRequires: pkgconfig(libcurl)
|
BuildRequires: pkgconfig(libcurl)
|
||||||
BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
|
BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
|
||||||
%endif
|
%endif
|
||||||
%if %{with gnuefi}
|
%if %{with sd_boot}
|
||||||
BuildRequires: gnu-efi
|
BuildRequires: gnu-efi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -650,8 +652,12 @@ Have fun with these services at your own risk.
|
|||||||
%if %{without coredump}
|
%if %{without coredump}
|
||||||
-Dcoredump=false \
|
-Dcoredump=false \
|
||||||
%endif
|
%endif
|
||||||
%if %{without gnuefi}
|
%if %{without sd_boot}
|
||||||
|
-Defi=false \
|
||||||
-Dgnu-efi=false \
|
-Dgnu-efi=false \
|
||||||
|
%else
|
||||||
|
-Defi=true \
|
||||||
|
-Dgnu-efi=true \
|
||||||
%endif
|
%endif
|
||||||
%if %{without importd}
|
%if %{without importd}
|
||||||
-Dimportd=false \
|
-Dimportd=false \
|
||||||
@ -1365,7 +1371,7 @@ fi
|
|||||||
|
|
||||||
%{_pam_moduledir}/pam_systemd.so
|
%{_pam_moduledir}/pam_systemd.so
|
||||||
|
|
||||||
%if %{with gnuefi}
|
%if %{with sd_boot}
|
||||||
%dir %{_prefix}/lib/systemd/boot
|
%dir %{_prefix}/lib/systemd/boot
|
||||||
%dir %{_prefix}/lib/systemd/boot/efi
|
%dir %{_prefix}/lib/systemd/boot/efi
|
||||||
%{_prefix}/lib/systemd/boot/efi/*.efi
|
%{_prefix}/lib/systemd/boot/efi/*.efi
|
||||||
|
Loading…
Reference in New Issue
Block a user