1 (edited by ratel 2012-02-14 23:48:48)

Topic: Added support for Debian squeeze armel architecture

With this patch Debian's squeeze ARM (armel) architecture will be supported.
This is tested on Global Scale's Dreamplug.

copy patch to iredmail directory.
apply patch with; patch -p0 -i patch_armel_20120214

*** conf/global    Sun Jan  8 15:44:17 2012
--- conf.new/global    Tue Feb 14 16:46:25 2012
***************
*** 127,135 ****
  case $arch in
      i[3456]86) export ARCH='i386' ;;
      x86_64|amd64) export ARCH='x86_64' ;;
      *)
          echo "Your architecture is not supported yet: ${arch}."
!         echo "Both i386 and x86_64 are supported by ${PROG_NAME}."
          exit 255
          ;;
  esac
--- 127,136 ----
  case $arch in
      i[3456]86) export ARCH='i386' ;;
      x86_64|amd64) export ARCH='x86_64' ;;
+     armv5tel) export ARCH='armel' ;;
      *)
          echo "Your architecture is not supported yet: ${arch}."
!         echo "Armel, i386 and x86_64 are supported by ${PROG_NAME}." 
          exit 255
          ;;
  esac
Post's attachments

patch_armel_20120214 742 b, 89 downloads since 2012-02-14 

You don't have the permssions to download the attachments of this post.

2

Re: Added support for Debian squeeze armel architecture

Hi ratel,

Thanks for your sharing, will merge it into iRedMail soon. smile

3

Re: Added support for Debian squeeze armel architecture

Hi ratel,

i have some questions before merging your patch:

- Can i get the same machine type with command 'uname -m' on all Debian ARM machines?
- Do you have ARM machine running as mail server?

4

Re: Added support for Debian squeeze armel architecture

Hi,

This patch just add ARM to the arch test in iRedMail script.
I've tried to install iRedMail on ARM machine powered by a debian wheezy and it seems to work nice.
However i've only test it for 2 hours I do not have the experience necessary to affirm it working perfectly in time.

QNAP 219P+
Debian wheezy
Linux xxx 3.2.0-4-kirkwood #1 Debian 3.2.46-1 armv5tel GNU/Linux

Why do you have to lock iRedMail on specifics arch ?

By the way, thank you very much for iRedMail.

Fabien

5

Re: Added support for Debian squeeze armel architecture

fabiin wrote:

Why do you have to lock iRedMail on specifics arch ?

*) There maybe some differences between different arches.
*) We don't have hardware for testing, and we didn't test it before, so we cannot say it works on that arch.