Hi,

when you look into the T-Resc technology demo you will notice that all this 
kind of stuff is missing in the image, static libraries, libtool archives, 
gcc, gnu assembler and co.

This is archived by proprocessing of the final image. Since I did not made up 
my mind how to implement this in a most generic sollution it is however not 
yet in SVN:

--- target/share/livecd/build_image.sh  (revision 21930)
+++ target/share/livecd/build_image.sh  (working copy)
@@ -23,11 +23,17 @@

 echo "Creating root file-system file lists ..."

-pkg_skip=" ccache distcc "
+# completely skip
+pkg_skip=" ccache distcc binutils bison flex m4 autoconf automake libtool 
groff make cmake scons grep sed "
+pkg_libs=" gcc libtiff libpng libungif libxslt libjpeg "
+
 for pkg in `grep '^X ' $base/config/$config/packages | cut -d ' ' -f 5`; do
        # include the package?
-       if [ "${pkg_skip/ $pkg /}" == "$pkg_skip" ] ; then
-               cut -d ' ' -f 2 $build_root/var/adm/flists/$pkg || true
+       if [ "${pkg_libs/ $pkg /}" != "$pkg_libs"  ]; then
+               echo $pkg just libs 1>&2
+               cut -d ' ' -f 2- $build_root/var/adm/flists/$pkg | 
grep -E '/lib[^/]*/lib'
+       elif [ "${pkg_skip/ $pkg /}" == "$pkg_skip" ]; then
+               cut -d ' ' -f 2- $build_root/var/adm/flists/$pkg || true
        fi
 done | (
        # quick and dirty filter

@@ -46,7 +52,22 @@
 echo "TOOLCHAIN
 proc/*
 dev/*
+# for testing
+*.a
+*.la
+*.o
+*/include/*
+*/man/*
+*/info/*
+*/aclocal*/*
+*/autoconf*/*
+*/automake*/*
+*.gch*
+*.pc
 */share/doc/*
+lib*/python2.5*/test/*
+# all for now
+var/adm
 var/adm/olist
 var/adm/logs
 var/adm/dep-debug

This is needed because the current t-resc is cross build.

In the embedded target this is archived in a different way and works since the 
6.0 releases. In the embedded target the gcc, binutils et al. are just 
selected to build in the toolchain stage and thus the iamge is not 
contaminated with those files in the first place.

On Wednesday 17 January 2007 15:22, [EMAIL PROTECTED] wrote:
> Hello,
>
> the aim is, a package selection without any program needed for development
> like gcc, gdb, flex, etc. I need this for an computer witch will be used
> only as an terminal for ssh, X and rdp connections. This kind of computer
> sometimes known as Thinclient. I try to disable this kind of packages in
> the packagemanager but this don't work because many dependencys are not
> solved. Thanks for any hind to reach my goal.

-- 
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name
  +49 (0)30 / 255 897 45

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to