From ac13e1df99841034b90ebbc4f85c80c8f3bcc1c3b910dc8122f42769e052f256 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Wed, 13 Aug 2014 13:07:45 +0000 Subject: [PATCH] - Fix cpupower_export_tarball_from_git.sh script and make sure msr-index.h is included in the turbostat tarball. OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=44 --- cpupower.changes | 6 ++++++ cpupower_export_tarball_from_git.sh | 3 ++- turbostat-3.17.tar.bz2 | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/cpupower.changes b/cpupower.changes index fc8c17b..205e6ce 100644 --- a/cpupower.changes +++ b/cpupower.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 13 13:06:27 UTC 2014 - trenn@suse.de + +- Fix cpupower_export_tarball_from_git.sh script and make sure msr-index.h + is included in the turbostat tarball. + ------------------------------------------------------------------- Tue Aug 12 13:49:16 UTC 2014 - trenn@suse.de diff --git a/cpupower_export_tarball_from_git.sh b/cpupower_export_tarball_from_git.sh index 82e2572..0d2d00e 100644 --- a/cpupower_export_tarball_from_git.sh +++ b/cpupower_export_tarball_from_git.sh @@ -60,7 +60,8 @@ set -x git archive --format=tar $GIT_TAG tools/power/x86/turbostat |tar -x mv tools/power/x86/turbostat turbostat${VERSION} mkdir turbostat${VERSION}/asm -cp "${GIT_DIR}"/../../../../../arch/x86/include/uapi/asm/msr-index.h turbostat${VERSION}/asm +[ ! -e "$GIT_DIR"/../arch/x86/include/uapi/asm/msr-index.h ] && echo "msr-index.h does not exist" && exit 1 +cp "$GIT_DIR"/../arch/x86/include/uapi/asm/msr-index.h turbostat${VERSION}/asm tar -cvjf turbostat${VERSION}.tar.bz2 turbostat${VERSION} popd mv "$DIR/cpupower${VERSION}".tar.bz2 . diff --git a/turbostat-3.17.tar.bz2 b/turbostat-3.17.tar.bz2 index 1dc9384..ecffeb4 100644 --- a/turbostat-3.17.tar.bz2 +++ b/turbostat-3.17.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:75346826ad1410543de2f70a6e158f4a878881839682387ca42c8a39c4edebbb -size 17028 +oid sha256:4f59526debcd30d97130f6b8d247908110a82bff60eb776e513ac998b70304da +size 21640