31 lines
769 B
Plaintext
31 lines
769 B
Plaintext
# Description: User space utility to load and exec another kernel
|
|
# URL: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
# Depends on: zlib
|
|
|
|
name=kexec-tools
|
|
xname=kexec
|
|
version=2.0.24
|
|
release=1
|
|
source=(https://git.kernel.org/pub/scm/utils/kernel/${xname}/\
|
|
${name}.git/snapshot/${name}-${version}.tar.gz
|
|
)
|
|
|
|
build() {
|
|
cd ${name}-${version}
|
|
|
|
./bootstrap
|
|
#LDFLAGS="-static ${LDFLAGS}"
|
|
./configure --prefix=/usr --without-lzma
|
|
make
|
|
make DESTDIR="${PKG}" install
|
|
|
|
#mv "${PKG}"/usr/sbin/kexec "${PKG}"/usr/sbin/kexec.static
|
|
rm -rf \
|
|
"${PKG}"/usr/lib \
|
|
"${PKG}"/usr/sbin/vmcore-dmesg \
|
|
"${PKG}"/usr/share/man/man8/vmcore-dmesg.8
|
|
}
|
|
|
|
# s-sh-mode
|