Re: [rock-user] custom package selection
"Alan J.Wylie" <ebpxyvahk-gCrXjPrFnW/[email protected]> 09 Jun 2004 19:06:17 +0100
| Newsgroups | gmane.linux.distributions.rock.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 09 Jun 2004 12:04:04 +0200, Benoit Auquier <[email protected]> said: > I would like to do a custom rock build with only the packages i need > and their dependancies , but i don't understand how i can change > this in the config tool . Is there any documantation on how to > achieve it anywhere ? For three examples - two trivial, one complex, of custom builds, see http://wylie.me.uk/static/rock/ - target "alan" - just remove some unwanted packages, "nogk" - as alan, but no Gnome or KDE, and "frog" - a minimal web server. Basically, you want a sed script in config.in that filters the incoming package details, either deleting the lines entirely, or replacing the "X" (enabled) at the beginning of the line with "O" (disabled). The details are read from the .desc files for each package and written to config/xxx/packages. Note how the [P] line matches the start of the line in .../packages. Thus packages can be disabled either in the .desc file if the character after "[P] " is O, or by the sed script. You can also set the configuration variables that you see as check boxes when running the configure script by adding a line such as ROCKCFGSET_PKG_PERL5_USE_DB3='0' to your config.in file - this will set the environment variable ROCKCFG_PKG_PERL5_USE_DB3 in config/xxx/config You can add a custom linux kernel .config by copying it to kernel.conf in your target/xxx directory -- Alan J. Wylie http://www.wylie.me.uk/ "Perfection [in design] is achieved not when there is nothing left to add, but rather when there is nothing left to take away." -- Antoine de Saint-Exupery