Re: Cross-architecture package installs

2013-02-12 Thread Tim Kientzle
I'm working on tools to build ARM system images. Usually, these tools run on x86, which creates a problem for packages. 1) Pre-install/post-install scripts. These obviously don't work since the DESTDIR is for a different architecture. This is imho the main problem, and one of the

Re: Cross-architecture package installs

2013-02-10 Thread Brooks Davis
On Wed, Feb 06, 2013 at 06:20:22AM -0700, Ian Lepore wrote: On Tue, 2013-02-05 at 22:34 -0800, Tim Kientzle wrote: I'm working on tools to build ARM system images. Usually, these tools run on x86, which creates a problem for packages. I would like to install packages onto the image as

Re: Cross-architecture package installs

2013-02-06 Thread Ian Lepore
On Tue, 2013-02-05 at 22:34 -0800, Tim Kientzle wrote: I'm working on tools to build ARM system images. Usually, these tools run on x86, which creates a problem for packages. I would like to install packages onto the image as it's built. So I've been experimenting with variations of pkg

Re: Cross-architecture package installs

2013-02-06 Thread Tim Kientzle
On Feb 5, 2013, at 10:55 PM, Baptiste Daroussin wrote: On Tue, Feb 05, 2013 at 10:34:18PM -0800, Tim Kientzle wrote: I'm working on tools to build ARM system images. Usually, these tools run on x86, which creates a problem for packages. 1) Pre-install/post-install scripts. These

Cross-architecture package installs

2013-02-05 Thread Tim Kientzle
I'm working on tools to build ARM system images. Usually, these tools run on x86, which creates a problem for packages. I would like to install packages onto the image as it's built. So I've been experimenting with variations of pkg -c DESTDIR add package files I'm running into a few problems

Re: Cross-architecture package installs

2013-02-05 Thread Baptiste Daroussin
On Tue, Feb 05, 2013 at 10:34:18PM -0800, Tim Kientzle wrote: I'm working on tools to build ARM system images. Usually, these tools run on x86, which creates a problem for packages. First Yes cross-installation of packages is something we highly want in pkgng and is plan since the beginning,

Re: Cross-architecture package installs

2013-02-05 Thread Mark Linimon
On Tue, Feb 05, 2013 at 10:34:18PM -0800, Tim Kientzle wrote: I'm working on tools to build ARM system images. Usually, these tools run on x86, which creates a problem for packages. fwiw, before the intrusion 3 months ago, I had been able to build native ARM packages with a loaned system.