fix again linux-tools

This commit is contained in:
AlmAck 2018-08-13 21:00:39 +02:00
parent d60b432c73
commit 72b02bf2f0
2 changed files with 10 additions and 10 deletions

View File

@ -136,7 +136,7 @@ package_libtraceevent() {
pkgdesc='Linux kernel trace event library' pkgdesc='Linux kernel trace event library'
depends=('glibc') depends=('glibc')
cd linux/tools/lib/traceevent cd linux-${pkgver}/tools/lib/traceevent
install -dm 755 "$pkgdir/usr/lib" install -dm 755 "$pkgdir/usr/lib"
install -m 644 libtraceevent.so "$pkgdir/usr/lib" install -m 644 libtraceevent.so "$pkgdir/usr/lib"
} }
@ -147,7 +147,7 @@ package_perf() {
'numactl' 'audit') 'numactl' 'audit')
optdepends=('gtk2: support GTK2 browser for perf report') optdepends=('gtk2: support GTK2 browser for perf report')
cd linux/tools/perf cd linux-${pkgver}/tools/perf
make -f Makefile.perf \ make -f Makefile.perf \
prefix=/usr \ prefix=/usr \
lib=lib/perf \ lib=lib/perf \
@ -175,7 +175,7 @@ package_cpupower() {
depends=('bash' 'pciutils') depends=('bash' 'pciutils')
install=cpupower.install install=cpupower.install
pushd linux/tools/power/cpupower pushd linux-${pkgver}/tools/power/cpupower
make \ make \
DESTDIR="$pkgdir" \ DESTDIR="$pkgdir" \
sbindir='/usr/bin' \ sbindir='/usr/bin' \
@ -194,7 +194,7 @@ package_x86_energy_perf_policy() {
pkgdesc='Read or write MSR_IA32_ENERGY_PERF_BIAS' pkgdesc='Read or write MSR_IA32_ENERGY_PERF_BIAS'
depends=('glibc') depends=('glibc')
cd linux/tools/power/x86/x86_energy_perf_policy cd linux-${pkgver}/tools/power/x86/x86_energy_perf_policy
install -Dm 755 x86_energy_perf_policy "$pkgdir/usr/bin/x86_energy_perf_policy" install -Dm 755 x86_energy_perf_policy "$pkgdir/usr/bin/x86_energy_perf_policy"
install -Dm 644 x86_energy_perf_policy.8 "$pkgdir/usr/share/man/man8/x86_energy_perf_policy.8" install -Dm 644 x86_energy_perf_policy.8 "$pkgdir/usr/share/man/man8/x86_energy_perf_policy.8"
} }
@ -203,7 +203,7 @@ package_usbip() {
pkgdesc='An USB device sharing system over IP network' pkgdesc='An USB device sharing system over IP network'
depends=('glib2' 'sysfsutils' 'libsystemd') depends=('glib2' 'sysfsutils' 'libsystemd')
pushd linux/tools/usb/usbip pushd linux-${pkgver}/tools/usb/usbip
make install DESTDIR="$pkgdir" make install DESTDIR="$pkgdir"
popd popd
# module loading # module loading
@ -217,7 +217,7 @@ package_tmon() {
pkgdesc='Monitoring and Testing Tool for Linux kernel thermal subsystem' pkgdesc='Monitoring and Testing Tool for Linux kernel thermal subsystem'
depends=('glibc' 'ncurses') depends=('glibc' 'ncurses')
cd linux/tools/thermal/tmon cd linux-${pkgver}/tools/thermal/tmon
make install INSTALL_ROOT="$pkgdir" make install INSTALL_ROOT="$pkgdir"
} }
@ -225,7 +225,7 @@ package_cgroup_event_listener() {
pkgdesc='Simple listener of cgroup events' pkgdesc='Simple listener of cgroup events'
depends=('glibc') depends=('glibc')
cd linux/tools/cgroup cd linux-${pkgver}/tools/cgroup
install -Dm755 cgroup_event_listener "$pkgdir/usr/bin/cgroup_event_listener" install -Dm755 cgroup_event_listener "$pkgdir/usr/bin/cgroup_event_listener"
} }
@ -233,7 +233,7 @@ package_turbostat() {
pkgdesc='Report processor frequency and idle statistics' pkgdesc='Report processor frequency and idle statistics'
depends=('glibc') depends=('glibc')
cd linux/tools/power/x86/turbostat cd linux-${pkgver}/tools/power/x86/turbostat
make install DESTDIR="$pkgdir" make install DESTDIR="$pkgdir"
} }
@ -241,7 +241,7 @@ package_hyperv() {
pkgdesc='Hyper-V tools' pkgdesc='Hyper-V tools'
depends=('glibc') depends=('glibc')
cd linux/tools/hv cd linux-${pkgver}/tools/hv
for _p in hv_fcopy_daemon hv_kvp_daemon hv_vss_daemon; do for _p in hv_fcopy_daemon hv_kvp_daemon hv_vss_daemon; do
install -Dm755 "$_p" "$pkgdir/usr/bin/$_p" install -Dm755 "$_p" "$pkgdir/usr/bin/$_p"
done done

View File

@ -10,7 +10,7 @@
# packages in the right order to solve # packages in the right order to solve
# the dependencies correctly # the dependencies correctly
# #
# GitLab-CI:2 # GitLab-CI:3
#core_packages #core_packages
linux linux