Browse Source

Add jessie/arm support

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 years ago
parent
commit
f2677b0ac9
2 changed files with 12 additions and 0 deletions
  1. 1 0
      cmake_modules/dependencies/jessie.cmake
  2. 11 0
      cmake_modules/getpackagerevisionarch.sh

+ 1 - 0
cmake_modules/dependencies/jessie.cmake

@@ -0,0 +1 @@
+SET_DEPENDENCIES ( CPACK_DEBIAN_PACKAGE_DEPENDS g++ openssh-client openssh-server expect rsync libapr1 python )

+ 11 - 0
cmake_modules/getpackagerevisionarch.sh

@@ -32,6 +32,10 @@ case "$ARCH" in
      ARCH="i386"
      ARCH2="i386"
      ;;
+   arm*)
+     ARCH="arm"
+     ARCH2="arm"
+     ;;
 esac
 
 
@@ -59,6 +63,13 @@ if [ -e /etc/debian_version ]; then
             OUTPUT="squeeze"
         fi
         ;;
+      8.*)
+        if [ ${NOARCH} -eq 0 ]; then
+            OUTPUT="jessie_${ARCH2}"
+        else
+            OUTPUT="jessie"
+        fi
+        ;;
       "sid")
         if [ ${NOARCH} -eq 0 ]; then
             OUTPUT="sid_${ARCH2}"