Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Commit

Permalink
FOGL-2772 Centralised DEB packaging fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-jabble committed May 29, 2019
1 parent 45e9818 commit eb0761e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 197 deletions.
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Package Build
packages/build
# vi
*.swp

# MacOS Finder
.DS_Store
._*

# IDE
*.idea
24 changes: 11 additions & 13 deletions Package
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,19 @@ requirements="foglamp,python3-envirophat"

case "$arch" in
x86_64)
;;
armhf)
;;
echo "${plugin_name} is not supported on Intel architectures as it requires ARM GPIO support"
exit 1
;;
armv7l)
;;
aarch64)
;;
;;
esac
case "$package_manager" in
deb)
if [ "$arch" != "armhf" ]; then
echo "Deb Package building for ${plugin_name} is only supported on armhf architecture!!"
exit 0
fi
deb)
;;
rpm)
echo "RPM Package building for ${plugin_name} is not supported on $arch architecture!!"
exit 0
;;
rpm)
echo "RPM Package building for ${plugin_name} is not supported on $arch architecture!!"
exit 0
;;
esac
131 changes: 0 additions & 131 deletions make_deb

This file was deleted.

10 changes: 0 additions & 10 deletions packages/Debian/armhf/DEBIAN/control

This file was deleted.

41 changes: 0 additions & 41 deletions packages/Debian/armhf/DEBIAN/postinst

This file was deleted.

0 comments on commit eb0761e

Please sign in to comment.