logo       

Re: How to select which packages to download: msg#00009

t2.devel

Subject: Re: How to select which packages to download

Hi,

On 14.03.2008, at 01:50, Joe wrote:

Hi René,

René Rebe wrote:

I think -list lists all package, -list-missing should give you a real overview.
I'm afraid not:

$ ./scripts/Download -list-missing | wc -l
3279
$ head config/default/config
#
# T2 7.0-stable Config File
#
export SDECFG_TARGET='generic'
export SDECFG_PKGSEL_TPL='minimal'
export SDECFG_IMAGE='install'
export SDECFG_ARCH='x86'
export SDECFG_X86_OPT='pentium4'

Hm, interesting, I just verified it should work. Which distribution are you
building on? Maybe there is some AWK/SED GNU'ism we use and thus
the package selection not processed correctly?

By default T2 uses an optimized initrd and for this uses dietlibc and embutils. But
as they are tiny they should be just a tiny percentage of other must-have packages,
such as gcc.
So, how do I, for example, choose sysvinit instead? Would ./scripts/ Build-Target sysvinit bypass the building of initrd and its dependencies or do I have to do something else? And if I wanted to say, use FSF binutils instead of the kernel.org package, would I have to write my own package description?


The initrd would not disable sysvinit. In fact the generic target does use it. You could
select alternative init systems in the expert section at the config entry about the
system C library. If you do not want our kind of very slim and module auto-loading
initrd then you would need to disable the mkinitrd and the few tiny tools it would
put in there (diskutil, embutils, pdksh) in the expert config section at: custom
package selection.

Please note that the targets do sometimes contain code that relies on some of this
feature, which is why you are best off first trying a predefined target to learn T2 and
later start your fresh target if you want to use alternative C libs and init systems or
do even more modifications.

For binutils we indeed only have the kernel.org flavour (as I wrote in some other
mail we decided against the multitude of versions / flavours some years ago).
However, if you do a target, you could override/overload the package in your
target to use the vanilla FSF binutils flavour.

http://www.t2-project.org/handbook/html/t2.target.modifications.html

Yours,

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise