Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
ensure that /usr/local/bin directory stays in repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Govinda-Fichtner committed Feb 4, 2016
1 parent ae82bb5 commit 29bb080
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/usr/local/bin/.gitignore
@@ -0,0 +1,4 @@
# ignore everything in this directory
*
# Except this file
!.gitignore
2 changes: 2 additions & 0 deletions scripts/build_deb.sh
Expand Up @@ -24,6 +24,8 @@ sed -i'' "s/<DEPENDS>//g" ${BUILD_DIR}/package/${PACKAGE_NAME}/DEBIAN/control

# copy binary that will be packaged to destination folder
cp /workspace/device-init_linux_arm ${BUILD_DIR}/package/${PACKAGE_NAME}/usr/local/bin
# prevent .gitignore from ending up in the package
rm ${BUILD_DIR}/package/${PACKAGE_NAME}/usr/local/bin/.gitignore

# create package with dpkg-deb
cd ${BUILD_DIR}/package && dpkg-deb --build ${PACKAGE_NAME}
Expand Down

0 comments on commit 29bb080

Please sign in to comment.