diff options
author | Duncan Guthrie <dguthrie@posteo.net> | 2017-12-13 20:43:19 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-12-15 12:57:52 +0000 |
commit | a07614e21ddeabc11100c670a2d2eea4da04c421 (patch) | |
tree | c9514ae3406abc0b7e14e6d6ec5b7d869f34676b /testing/kexec-tools | |
parent | 5680654057811ed634f5c6b041e2518b5584dae6 (diff) | |
download | aports-a07614e21ddeabc11100c670a2d2eea4da04c421.tar.bz2 aports-a07614e21ddeabc11100c670a2d2eea4da04c421.tar.xz |
testing/kexec-tools
Directly boot into a new kernel over a currently running one
https://kernel.org/pub/linux/utils/kernel/kexec
Diffstat (limited to 'testing/kexec-tools')
-rw-r--r-- | testing/kexec-tools/APKBUILD | 39 | ||||
-rw-r--r-- | testing/kexec-tools/kexec-tools-2.0.16-fix-config-sub.patch | 10 |
2 files changed, 49 insertions, 0 deletions
diff --git a/testing/kexec-tools/APKBUILD b/testing/kexec-tools/APKBUILD new file mode 100644 index 0000000000..fab9be8f81 --- /dev/null +++ b/testing/kexec-tools/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Duncan Guthrie <dguthrie@posteo.net> +# Maintainer: Duncan Guthrie <dguthrie@posteo.net> +pkgname=kexec-tools +pkgver=2.0.16 +pkgrel=0 +pkgdesc="Directly boot into a new kernel over a currently running one" +url="https://kernel.org/pub/linux/utils/kernel/kexec/" +arch="x86_64" +license="GPL2" +depends="xz zlib" +makedepends="zlib-dev xz-dev linux-headers" +subpackages="$pkgname-doc" +source="https://www.kernel.org/pub/linux/utils/kernel/kexec/$pkgname-$pkgver.tar.xz + kexec-tools-2.0.16-fix-config-sub.patch" +builddir="$srcdir/$pkgname-$pkgver" +options="!check" + +build() { + cd "$builddir" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-zlib \ + --with-lzma + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="f2f06e7702fef20c8d7d6aabe1b264e2e2689e5c38cc00dbc2186dd7fa0479edb2dc9e307dd2ad7f03db47015e966e577f11576172604ef01c1bcca471fe2c24 kexec-tools-2.0.16.tar.xz +3c87540309dceda4c074d5822fd1a5d709ad533baed91dfd77aa64ebfe3850fc099c4b3d2bcc887c81ae53dc5940d17ccf34be25609beb37ed5ef7ed75862d43 kexec-tools-2.0.16-fix-config-sub.patch" diff --git a/testing/kexec-tools/kexec-tools-2.0.16-fix-config-sub.patch b/testing/kexec-tools/kexec-tools-2.0.16-fix-config-sub.patch new file mode 100644 index 0000000000..bd30fde656 --- /dev/null +++ b/testing/kexec-tools/kexec-tools-2.0.16-fix-config-sub.patch @@ -0,0 +1,10 @@ +--- kexec-tools-2.0.16.old/config/config.sub 2016-12-09 09:42:06.000000000 +0000 ++++ kexec-tools-2.0.16/config/config.sub 2017-12-13 19:35:19.248376862 +0000 +@@ -124,6 +124,7 @@ + case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ ++ linux-musl* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) |