On Sun, 8 Mar 2009 17:30:02 +0100 Raphael Hertzog <[email protected]> wrote:
> On Sun, 08 Mar 2009, Neil Williams wrote: > > > I would suggest you to look into using virtualisation or other similar > > > solution instead. > > > > On an iPAQ?? Making cross-installation require Xen is a bizarre idea. > > As I understand, you want to create a root filesystem with dpkg not on the > target device but on your devel machine. Yes, because unpacking .debs onto the target machine takes huge amounts of time compared to merely running 'dpkg --configure -a' after copying the filesystem across. Also, requiring that the .debs exist in the tarball containing the filesystem makes things even more difficult by making the install into a two-stage process. (Unpack the base system on the device, remove all the .debs then download/copy/obtain the rest of the system and unpack it all over again.) If debootstrap took 3 hours per install, would you not prefer a system that turns that into a 15 minute process? All for the sake of delaying the execution of maintainer scripts? > So maybe running dpkg in a qemu > host emulating the architecture of the iPAQ would be a solution. We rejected qemu (or any emulator) long ago - the system needs to be built from source without emulators. Why should dpkg require that cross-installs require emulators or Xen? It's just unpacking .debs, why should that require an emulator? -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
pgp1MnvITiP2M.pgp
Description: PGP signature

