[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to install iceweasel on a Linux device without using Debian installer?



On Tue, Feb 03, 2009 at 03:33:47PM -0800, Weidong Li wrote:
> >From the Makefile in the src dir, I can find some info.  But there are
> too many of them and I suspect they are not used for real installation
> on embedded devices.  

It's how Debian itself gets the thing built.

> Now I have a released version of *.deb package of the browser for ARM,
> but the Debian tools are not available on the small device.  What is the
> best way to install it?  In general, am I supposed to also get a version
> of the Debian tool to put on the ARM device before I can cleanly install
> the iceweasel on it?

Well, "the Debian tool" is... Debian.  You might be thinking of dpkg, which
isn't *technically* required, but it's a lot easier with it.  Unfortunately,
jamming dpkg into a different distro is likely to be an interesting
endeavour.

What will probably be more productive is using debootstrap to create a base
Debian tree, move that onto the device, then chroot into there to do your
Debian stuff like installing Iceweasel.  This process is fairly painless,
although it's likely that you'll need a bit of expertise to fix up niggling
little issues.  http://wiki.dns323.info/howto:chroot_debian is an example
procedure, tailored for the DNS-323.

Of course, what you're far better off doing is porting Debian to run on the
device natively, and then chroots and all that entertaining stuff are
unnecessary.  I've written an article on doing that for the DNS-323 at
http://www.hezmatt.org/~mpalmer/blog/general/porting_d-i_to_the_dns_323.html

- Matt


Reply to: