Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
foo-miniconfig - bloat-free kernel config everytime.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
SlashBeast
Moderator
Moderator


Joined: 23 May 2006
Posts: 2831

PostPosted: Wed Dec 25, 2013 9:20 pm    Post subject: foo-miniconfig - bloat-free kernel config everytime. Reply with quote

If anyone desire as small kernel image as possible, without all the pain going from 'make allnoconfig' to boot, this small script may be solution.

Simply, it does enable whatever was choosen from miniconfig sets and its deps, nothing more. See the README - https://bitbucket.org/piotrkarbowski/foo-miniconfig

After crafting new kernel config, you will need to add your storage drivers (SATA/PATA/SCSI), file systems, network adapters, GFX support if thats not a headless server etc. You can also (and should) forge your own mini config so every update instead of copying .config you can generate new one, without all the new default-on crap.

Imho quite an alternative to kernel-seeds, miniconfig seems to be common knowledge but not often spoken about thus some of you may not know how awesome is that. Enjoy.
_________________
BitBucket -- better-initramfs
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1395
Location: Bardowick, Germany

PostPosted: Sat Dec 28, 2013 12:31 pm    Post subject: Reply with quote

Nice work, but alas, the default options always worked out for me:
kernel make help wrote:
Configuration targets:
config - Update current config utilising a line-oriented program
nconfig - Update current config utilising a ncurses menu based program
menuconfig - Update current config utilising a menu based program
xconfig - Update current config utilising a QT based front-end
gconfig - Update current config utilising a GTK based front-end
oldconfig - Update current config utilising a provided .config as base
localmodconfig - Update current config disabling modules not loaded
localyesconfig - Update current config converting local mods to core
silentoldconfig - Same as oldconfig, but quietly, additionally update deps
defconfig - New config with default from ARCH supplied defconfig
savedefconfig - Save current config as ./defconfig (minimal config)
allnoconfig - New config where all options are answered with no
allyesconfig - New config where all options are accepted with yes
allmodconfig - New config selecting modules when possible
alldefconfig - New config with all symbols set to default
randconfig - New config with random answer to all options
listnewconfig - List new options
olddefconfig - Same as silentoldconfig but sets new symbols to their default value
However, this is only necessary for new machines with new hardware, right?
_________________
Boycott systemd!
Back to top
View user's profile Send private message
SlashBeast
Moderator
Moderator


Joined: 23 May 2006
Posts: 2831

PostPosted: Sat Dec 28, 2013 1:30 pm    Post subject: Reply with quote

depends on what you want to achieve, if really small kernel then you may want to use it.

the probem with localmodconfig and friends is that you need to run it from *really* modular kernel, because it depends on the loaded kernel modules list.

The sets I've prepared have the minimal basic things that one may want to be enabled, like ipv4 network support, tmpfs, unix sockets support and so on. I am really pleased with the outcome kernel's config.
_________________
BitBucket -- better-initramfs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum