diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index 011e1efc2..d6dfdc171 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -9,6 +9,7 @@ pkgbase=linux-tools pkgname=( + 'bootconfig' 'bpf' 'cgroup_event_listener' 'cpupower' @@ -21,7 +22,7 @@ pkgname=( 'gpio-utils' 'iio-utils' ) -pkgver=5.14 +pkgver=5.15 pkgrel=1 license=('GPL2') arch=('x86_64') @@ -139,12 +140,18 @@ build() { # runqslower, require kernel binary path to build, skip it make -W runqslower popd + + echo ':: bootconfig' + pushd linux/tools/bootconfig + make + popd } package_linux-tools-meta() { pkgdesc='Linux kernel tools meta package' groups=() depends=( + 'bootconfig' 'bpf' 'cgroup_event_listener' 'cpupower' @@ -292,4 +299,13 @@ package_bpf() { make -C bpftool doc-install prefix=/usr/share DESTDIR="$pkgdir" } +package_bootconfig() { + pkgdesc='Apply, delete or show boot config to initrd' + depends=('glibc') + + cd linux/tools/bootconfig + install -dm755 "$pkgdir/usr/bin" + make install DESTDIR="$pkgdir" +} + # vim:set ts=2 sw=2 et: