Re: Development platform under (Tiny) Gentoo

Forums Network Management ZeroShell Missing source code Re: Development platform under (Tiny) Gentoo


Hi all,

I am back with the idea of a development platform. I tried going the hard way in the past and following Fulvio LFS method but this is rather annoying and will not be manageable in the long term.
So at last I give it a try with Tiny Gentoo. This looks good so far except for the configuration and the way ZeroShell boots but one can go through it nevertheless.
The good thing is that gentoo takes care of the compiling, using the latest version if one wants and all this done through keywords.
Therefore it is rather easy to have it all work with

    latest kernel

Moreover it can provide packaging in the form of compressed tar files, which I used to create the final directory containing all the file for the new ZeroShell.
What I do is having a package list of the thing to be installed in a specified directory, adding excludes to remove unwanted files such as headers, static libraries, gentoo stuff, etc.
Then I merge Fulvio’s specific data such as the root directory and the boot scripts.

The idea is to have a vmware image that runs a gentoo system rather simple but still able to add packages and have scripts creating the new directory ZeroShell that can be tested under a chroot.
For the time being we will have to rely upon no real boot and partition mounting but everything else should allowed to be tested.

Do not be fooled , there are still plenty of things to do but I am a bit stuck by some dependencies within the template configuration files. Indeed, some applications are not given source code and furthermore, they depend on C++.
Although I tested providing the shared libraries (names do not conflict with uclibc) taken from ZeroShell standard image but this results in segfault.
So far it seems there is a little issue between uclibc and libstdc++ but I think it is rather easy to circumvent.
Ideally I would go without C++, possibly rewriting some code such as kerbynet and render, others may exist as well.