[Soekris] Using Debian to compile, transfer exec to Soekris

Arnau Sanchez arnau at ehas.org
Mon Nov 27 15:24:51 UTC 2006


Adam S escribió:

> I was wondering if I used Debian to compile my software and then 
> transfer it to the Soekris card would that work, considering Pyramid is 
> a light weight version of Debian. Pyramid does not have a gcc compiler 
> so I need to compile my software and get it on the card. Also would it 
> be easier to set up pyramid on a partion on a laptop put everything I 
> need on it that , create and img, then transfer to my Soekris card. If 
> so how do I set up pyramid on a laptop?

I've never used Pyramid, but I assume you can follow the standard 
procedure: uncompress the binary distro (possibly a tar.gz?) on your 
laptop and chroot to it:

tar xvzf file.tar.gz
chroot directory

Inside the chroot jail you install the software you need (to compile 
packages from sources you normally would install "build-essential"). 
Notice that it's not necessary to copy all this new data to destination, 
it's enough to move and install the new DEBs on the Soekris card.

If you want to create a new tar.gz image from there recompress with tar 
(remember to use the --numeric-owner option). There are also many ways 
to copy from/to the Soekris without reinstalling: scp, rsync, nc...

regards
arnau


More information about the Soekris-tech mailing list