Skip to content

perkint/kernelexpect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Kernel Expect

Kernel Expect (kernelexpect) is a small script that uses the Expect library to automate Linux kernel configuration with dependency resolution.

The 'make nconfig' GUI configurator has dependency resolution but cannot be automated at the command line. There are some utilities that allow for automated edits of the config (e.g.: scripts/config), but they do not do dependency resolution. This script tries to fill the gap...

The script can be used for a quick single config change:

  kernel-expect -v CONFIG_INTEL_MEI=n

Or... It can be used to read a config file with many changes:

  vi /tmp/snippets_file

    # comments look like this...
    CONFIG_INTEL_MEI=n  # ... and this...

    # pick from a list...
    CC_STACKPROTECTOR_STRONG=choice

  kernel-expect -v -f /tmp/snippets_file

Dependencies:

Debian-ish systems:

    apt-get install libexpect-perl libfile-which-perl

See also:

kernel-expect --help

About

A script for automating Linux kernel configuration (with dependency resolution)...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages