[Voyage-linux] Adding other installed packages to the image

Voy User (spam-protected)
Thu Jan 13 19:38:31 HKT 2011


Hi,
 I am using 0.6.5 image. I have it stored on my server at
/myimage/voyage-0.6.5.

I cd to /myimage/voyage-0.6.5/usr/local/sbin & use the ./voyage.update
script to burn the image on to a Compact Flash & then boot an appliance
with the flash.

Now I want to know if there is an easy way of adding installed packages to
the image. This is how I currently do it but it doesn't seem to be an
elegant way of doing it.

I cd to /myimage/voyage-0.6.5
mount -t proc proc proc
chroot .

point my sources.list to debian lenny &
then apt-get update
and
apt-get install whatevrpkg

I have a few problems with this because I have some directories
soft linked to dirs inside /lib/init/rw & those become available
only after actually booting & aren't available through chroot.
So I have to do all kinds of kludges to have apt-get install
suceed & then I revert back those kludges.

Is there a better or recommended way of adding installed packages
to the image?





More information about the Voyage-linux mailing list