0

I am trying to create a debian package for my software which needs to be installed on a power machine. The output of uname -a on the power machine is:

ppc64le ppc64le ppc64le GNU/Linux

I already have the debian package for amd64 architecure which I create using the dpkg-deb command.
How can I specify the architecure in the dpkg-deb command to resolve this? Or is there a better way to resolve this.

Thanks.

am28
  • 21

2 Answers2

0

never mind. Found the solution.
In the DEBIAN/control file, you need to provide the architecture as follows:
Version: ppc64el and it runs fine on my Power machine.

am28
  • 21
0

In fact, you shouldn't use "Version: ppc64el", but "Architecture: ppc64el" if this is a software for ppc64el only. You can also use "Architecture: any" if your software is able to build on any architecture you try to build it.