- 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
This commit is contained in:
Thomas Renninger 2014-08-13 13:07:45 +00:00 committed by Git OBS Bridge
parent 3e02276e34
commit ac13e1df99
3 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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 .

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75346826ad1410543de2f70a6e158f4a878881839682387ca42c8a39c4edebbb
size 17028
oid sha256:4f59526debcd30d97130f6b8d247908110a82bff60eb776e513ac998b70304da
size 21640