I don't know whether it could be useful, but in order to have the metapackage created with right arch I modified the file /usr/lib/python2.7/dist-packages/APTonCD/core/metapackage.py as installed from
/usr/lib/python2.7/dist-packages/APTonCD/core/metapackage.py
or $srcdir/APTonCD/core/metapackage.py from aptoncd_0.1.98+bzr117.orig.tar.gz
(they are alike).
I'm on Ubuntu 11.04 x86_64.
Here's an excerpt from attachment (actually I simply added/edited a pair of lines):
I don't know whether it could be useful, but in order to have the metapackage created with right arch I modified the file /usr/lib/ python2. 7/dist- packages/ APTonCD/ core/metapackag e.py as installed from python2. 7/dist- packages/ APTonCD/ core/metapackag e.py APTonCD/ core/metapackag e.py from aptoncd_ 0.1.98+ bzr117. orig.tar. gz
/usr/lib/
or $srcdir/
(they are alike).
I'm on Ubuntu 11.04 x86_64.
Here's an excerpt from attachment (actually I simply added/edited a pair of lines):
@@ -17,6 +17,7 @@
[..]
import gobject
+from APTonCD.core.utils import SystemInfo
class MetaPackage( object) : mtMaintainer = 'APTonCD Auto-Packager <http:// aptoncd. sourceforge. net>'
"""
@@ -24,13 +25,14 @@
"""
[..] def __init__(self, filename=""):
+ util = SystemInfo()
self.fileName = filename
[..]
self.mtPriority = 'optional'
- self.mtArch = 'i386'
+ self.mtArch = util.architecture
self.
It works (at list as far as I tested)