[pocket-linux] Re: Gained Some Fans (was: Copy Pocket Linux disks to floppy)

David Horton dhorton at speakeasy.net
Fri Feb 27 13:44:59 CST 2004


> -----Original Message-----
> From: Dave Henderson [mailto:hendedav at yahoo.com]
> Sent: Friday, February 27, 2004 04:01 PM
> To: 'Support for Pocket Linux Guide'
> Subject: Re: [pocket-linux] Re: Gained Some Fans (was: Copy Pocket Linux disks	to floppy)
> 
> Dave,
>  
>      I wasn't quite sure about the architect.  I looked at the homepage but don't really understand it.  It looks to me that someone would install this on a system that is already running just to create compressed packages of installed binaries from source?  If this is what it does, does it grab the required libraries for the package also (maybe by cat'ing the ldd command) and add them to the compressed file?
>  
> - Dave Henderson


Here is how to use it:

* Build a development system and install the architect package.
* Download the source for the packages you want.  (You can use the same packages you downloaded for Pocket Linux to start with.)
* Type 'architect PACKAGE-NAME(S)' to build a package or many packages.  (for example 'architect e2fsprogs-1.34 glibc-2.3.2' would build e2fsprogs and glibc)
* Look in the /var/tmp/staging directory for the completed PACKAGE.i386.tar.gz files.
* The i386.tar.gz files can be extracted onto a hard drive to become the basis of a new system.  (Similar to installing a bunch of RPM's to make a new Redhat system.)

You will still have to take care of the configuration files in /etc and the device files in /dev, but you'll know how to do this from working through Pocket Linux.  (Actually if you look in architect's ./extra/system-scripts/ directory there are many of the /etc/init.d files from pocket linux plus a MAKEDEV script to build /dev files.)

To answer your question about libraries, you don't have to worry about running 'ldd'.  The reason is that most of the packages that Architect can build use the libraries from glibc.  As long as you build and install the glibc-2.3.2.i386.tar.gz package you will have your required libraries.

Hope that makes sense.

Dave






More information about the Pocket-Linux mailing list