[packaging] Conform to debian package naming rules (#1647)

* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility
This commit is contained in:
Maneesh Gupta
2019-11-14 11:40:34 +05:30
committed by GitHub
parent 0a74d771b4
commit 2ca1a82036
14 changed files with 102 additions and 58 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ function buildHIP()
make $DASH_JAY
make package
rename -v 's/([a-z0-9_.\-]).deb/$1-amd64.deb/' *.deb;rename -v 's/([a-z0-9_.\-]).rpm/$1.x86_64.rpm/' *.rpm
cp hip_*.deb $WORKING_DIR
sudo dpkg -i hip_base*.deb hip_hcc*.deb hip_sample*.deb hip_doc*.deb
cp hip-*.deb $WORKING_DIR
sudo dpkg -i hip-base*.deb hip-hcc*.deb hip-sample*.deb hip-doc*.deb
popd
rm -rf $BUILD_ROOT
}