diff --git a/.gitignore b/.gitignore index ab70b26..e67bb90 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ clog syslinux-*.tar.* *.rpm +syslinux64.exe diff --git a/sources b/sources index f236593..56c25bd 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ f9c956fde0de29be297402ecbc8ff4d0 syslinux-6.04-pre1.tar.xz +4ce937277ee3d9a46313ade745db4f7c626d2694 syslinux64.exe diff --git a/syslinux.spec b/syslinux.spec index 4600da5..68151cd 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -10,10 +10,14 @@ Summary: Simple kernel loader which boots from a FAT filesystem Name: syslinux Version: 6.04 %define tarball_version 6.04-pre1 -Release: 0.29%{?dist} +Release: 0.29%{?dist}.alma.1 License: GPL-2.0-or-later URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project Source0: http://www.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{tarball_version}.tar.xz +# We have to use static syslinux64.exe to avoid a difference in the checksum in x86_64_v2 arch +# To build it properly, we need to build syslinux64.exe with updates, put it to the sources and rebuilt it +Source1000: syslinux64.exe + Patch0001: 0001-Add-install-all-target-to-top-side-of-HAVE_FIRMWARE.patch Patch0002: 0002-ext4-64bit-feature.patch Patch0003: 0003-include-sysmacros-h.patch @@ -160,6 +164,8 @@ mkdir -p %{buildroot}/etc # don't ship libsyslinux, at least, not for now rm -f %{buildroot}%{_prefix}/lib/libsyslinux* rm -f %{buildroot}%{_includedir}/syslinux.h +rm -f %{buildroot}%{_datadir}/syslinux/syslinux64.exe +mv %{SOURCE1000} %{buildroot}%{_datadir}/syslinux/syslinux64.exe %endif %ifarch %{buildarches} @@ -262,6 +268,9 @@ fi %endif %changelog +* Thu Aug 08 2024 Eduard Abdullin - 6.04-0.29.alma.1 +- Use static syslinux64.exe to avoid a difference in the checksum in x86_64_v2 arch + * Tue Jul 23 2024 Yaakov Selkowitz - 6.04-0.29 - Build tftpboot and nonlinux on x86_64