# HG changeset patch # User Hans-G?nter Theisgen # Date 1647240356 -3600 # Node ID 9d7e40cf4a41a734fd66ef54ae6bf95907cbc7fe # Parent 1a39a3d55d0eb84de041ced372f392a96f01d807 updated kexec-tools (2.0.17 -> 2.0.23) diff -r 1a39a3d55d0e -r 9d7e40cf4a41 kexec-tools/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kexec-tools/description.txt Mon Mar 14 07:45:56 2022 +0100 @@ -0,0 +1,1 @@ +Kexec is a soft-reboot and crash-dump facility provided by both Linux and Xen. diff -r 1a39a3d55d0e -r 9d7e40cf4a41 kexec-tools/receipt --- a/kexec-tools/receipt Sun Mar 13 19:47:29 2022 +0000 +++ b/kexec-tools/receipt Mon Mar 14 07:45:56 2022 +0100 @@ -1,18 +1,20 @@ # SliTaz package receipt. PACKAGE="kexec-tools" -VERSION="2.0.17" +VERSION="2.0.23" CATEGORY="system-tools" SHORT_DESC="Directly boot into a new kernel." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/" WGET_URL="${WEB_SITE}$TARBALL" -HOST_ARCH="i486 arm x86_64" DEPENDS="zlib" -BUILD_DEPENDS="wget zlib-dev liblzma-dev" +BUILD_DEPENDS="liblzma-dev zlib-dev" + +HOST_ARCH="i486 arm x86_64" # What is the latest version available today? current_version() @@ -25,6 +27,7 @@ compile_rules() { export LDFLAGS="$LDFLAGS -lpthread" + case "$ARCH" in i?86) ./configure prefix=/usr \ @@ -37,7 +40,7 @@ --host=$HOST_SYSTEM ;; esac && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Important cross compiled package so run readelf. @@ -50,6 +53,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs - rm -rf $fs/usr/share + cook_copy_folders lib + cook_copy_folders sbin }