community/linux-tools: fix

This commit is contained in:
Kevin Mihelich 2019-01-03 04:12:53 +00:00
parent 6ead29c2f4
commit 6ff06ad1de

View file

@ -126,7 +126,7 @@ build() {
popd
msg2 'bpf'
pushd linux/tools/bpf
pushd linux-$pkgver/tools/bpf
# doesn't compile when we don't first compile bpftool in its directory
cd bpftool
make
@ -274,7 +274,7 @@ package_bpf() {
pkgdesc='BPF tools'
depends=('glibc')
cd linux/tools/bpf
cd linux-$pkgver/tools/bpf
make install prefix=/usr DESTDIR="$pkgdir"
# fix bpftool hard written path
mv "$pkgdir"/usr/sbin/bpftool "$pkgdir"/usr/bin/bpftool