- Use static syslinux64.exe to avoid a difference in the checksum in x86_64_v2 arch

This commit is contained in:
eabdullin 2024-08-08 11:31:19 +03:00
parent 6e913757e8
commit 17d18ccb8d
3 changed files with 12 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
clog clog
syslinux-*.tar.* syslinux-*.tar.*
*.rpm *.rpm
syslinux64.exe

View File

@ -1 +1,2 @@
f9c956fde0de29be297402ecbc8ff4d0 syslinux-6.04-pre1.tar.xz f9c956fde0de29be297402ecbc8ff4d0 syslinux-6.04-pre1.tar.xz
4ce937277ee3d9a46313ade745db4f7c626d2694 syslinux64.exe

View File

@ -10,10 +10,14 @@ Summary: Simple kernel loader which boots from a FAT filesystem
Name: syslinux Name: syslinux
Version: 6.04 Version: 6.04
%define tarball_version 6.04-pre1 %define tarball_version 6.04-pre1
Release: 0.29%{?dist} Release: 0.29%{?dist}.alma.1
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project 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 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 Patch0001: 0001-Add-install-all-target-to-top-side-of-HAVE_FIRMWARE.patch
Patch0002: 0002-ext4-64bit-feature.patch Patch0002: 0002-ext4-64bit-feature.patch
Patch0003: 0003-include-sysmacros-h.patch Patch0003: 0003-include-sysmacros-h.patch
@ -160,6 +164,8 @@ mkdir -p %{buildroot}/etc
# don't ship libsyslinux, at least, not for now # don't ship libsyslinux, at least, not for now
rm -f %{buildroot}%{_prefix}/lib/libsyslinux* rm -f %{buildroot}%{_prefix}/lib/libsyslinux*
rm -f %{buildroot}%{_includedir}/syslinux.h rm -f %{buildroot}%{_includedir}/syslinux.h
rm -f %{buildroot}%{_datadir}/syslinux/syslinux64.exe
mv %{SOURCE1000} %{buildroot}%{_datadir}/syslinux/syslinux64.exe
%endif %endif
%ifarch %{buildarches} %ifarch %{buildarches}
@ -262,6 +268,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Aug 08 2024 Eduard Abdullin <eabdullin@almalinux.org> - 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 <yselkowi@redhat.com> - 6.04-0.29 * Tue Jul 23 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 6.04-0.29
- Build tftpboot and nonlinux on x86_64 - Build tftpboot and nonlinux on x86_64