1 Star 0 Fork 0

third_code/dlt-viewer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build_viewer_debs.sh 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# building DLT Viewer debian packages on Ubuntu 18.04 / Bionic Beaver
# script created 19.6.2018, Gernot Wirschal
set -e
rm -rf debtmp
DTLREV=`git rev-list --all --count`
cp -r bionic/debian .
sed -i '/#define PACKAGE_REVISION/c #define PACKAGE_REVISION "'$DTLREV'"' src/version.h
DLT_VERSION=`cat src/version.h | grep "PACKAGE_VERSION" | grep -v PACKAGE_VERSION_STATE | awk '{print $3}' | tr -d \" `
sed -i '/genivi-dlt-viewer/c genivi-dlt-viewer ('${DLT_VERSION}') stable; urgency=low' ./debian/changelog
echo "DLT_VERSION: ${DLT_VERSION}, $DTLREV"
mkdir -p ./debtmp/dlt-viewer-${DLT_VERSION}
rsync -a --exclude=debtmp --exclude=*.sh --exclude=*.bat --exclude=cache --exclude=parser --exclude=bionic * debtmp/dlt-viewer-${DLT_VERSION}
cd debtmp/dlt-viewer-${DLT_VERSION}
echo "#############################################"
echo "Create tarball ../genivi-dlt-viewer_${version}.orig.tar.gz"
echo "#############################################"
tar -czf ../genivi-dlt-viewer_${DLT_VERSION}.orig.tar.gz *
echo "y" | debuild -uc -us
#make -j8 install
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/third_code/dlt-viewer.git
[email protected]:third_code/dlt-viewer.git
third_code
dlt-viewer
dlt-viewer
master

搜索帮助