]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/sepia_bt.sh: get sha1,release from t.log if it's not in core 13620/head
authorKefu Chai <kchai@redhat.com>
Wed, 22 Feb 2017 05:16:05 +0000 (13:16 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 24 Feb 2017 03:15:30 +0000 (11:15 +0800)
commitcd0e53830ef734af910465bd63a988d5c1171dc0
treef6518ca48c7651af55c01f0b1de8fe2fedfc2739
parent0f9c15e32daf0a5d13b7e7cc53fa250948c34b6e
script/sepia_bt.sh: get sha1,release from t.log if it's not in core

* sometimes, the coredump comes from python, so we should get the sha1 and
  release in a different and more fragile way.
* also, the distro of Centos7 comes from python is "Centos Linux", so we
  should normalize its distro name and distro version.
* add "-v" option to be more chatty.
* normalize the $prog if $prog is */python*
* fix the pkg_path if the distro is centos7

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/script/sepia_bt.sh