Sync from SUSE:SLFO:Main kexec-tools revision 07373a30f8dbb34b70e4f803c155ef45

This commit is contained in:
Adrian Schröter 2025-03-22 23:08:14 +01:00
parent b4aa0131d4
commit 5c9833d2f3
6 changed files with 28 additions and 7 deletions

Binary file not shown.

BIN
kexec-tools-2.0.29.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
kexec-tools-2.0.30.tar.sign Normal file

Binary file not shown.

BIN
kexec-tools-2.0.30.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Jan 22 16:24:47 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop rcFOO symlinks for CODE16 (PED-266).
-------------------------------------------------------------------
Wed Jan 1 01:01:01 UTC 2025 - olaf@aepfle.de
- force -std=gnu99 because C99 because the code uses features
-------------------------------------------------------------------
Mon Dec 30 14:17:03 UTC 2024 - Petr Tesařík <ptesarik@suse.com>
- update to 2.0.30:
* arm64: Support UKI image format
* bug fixes
-------------------------------------------------------------------
Fri Sep 13 13:13:13 UTC 2024 - olaf@aepfle.de

@ -1,7 +1,7 @@
#
# spec file for package kexec-tools
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
# Temporarily bump version to aid package split
Name: kexec-tools
Version: 2.0.29
Version: 2.0.30
Release: 0
Summary: Tools for loading replacement kernels into memory
License: GPL-2.0-or-later
@ -67,8 +67,8 @@ the loaded kernel after it panics.
%build
autoreconf -fvi
export CFLAGS="%{optflags} -fPIC"
export BUILD_CFLAGS="%{optflags}"
export CFLAGS="%{optflags} -fPIC -std=gnu99"
export BUILD_CFLAGS="%{optflags} -std=gnu99"
export LDFLAGS="-pie"
%configure
%make_build
@ -77,8 +77,10 @@ export LDFLAGS="-pie"
%make_install
mkdir -p %{buildroot}/%{_unitdir}
install -m644 %{SOURCE3} %{buildroot}/%{_unitdir}
%if 0%{?suse_version} < 1600
mkdir -p %{buildroot}/%{_sbindir}
ln -s service %{buildroot}%{_sbindir}/rckexec-load
%endif
%if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/sbin
ln -s %{_sbindir}/kexec %{buildroot}/sbin
@ -120,7 +122,9 @@ ln -s %{_sbindir}/kexec %{buildroot}/sbin
%if 0%{?suse_version} < 1550
/sbin/kexec
%endif
%if 0%{?suse_version} < 1600
%{_sbindir}/rckexec-load
%endif
%{_sbindir}/kexec
%{_sbindir}/vmcore-dmesg
%{_unitdir}/kexec-load.service