listconfig
Convert .config into a menuconfig-like full list with help
Example
Note: scroll rightward to see the entire line!
$ listconfig --help-lines=1 /path/to/linux/Kconfig /path/to/linux/.config
=== General setup ===
[ ] Compile also drivers which will not load (COMPILE_TEST) Some drivers can be compiled on a different platform than they are ...
() Local version - append to kernel release (LOCALVERSION) Append an extra string to the end of your kernel version. ...
[*] Automatically append version information to the version string (LOCALVERSION_AUTO) This will try to automatically determine if the current tree is a ...
() Build ID Salt (BUILD_SALT) The build ID is used to link binaries and their debug info. Setting ...
-*- Kernel compression mode The linux kernel is a kind of self-extracting executable. ...
-> Gzip (KERNEL_GZIP) The old and tried gzip compression. It provides a good balance ...
LZMA (KERNEL_LZMA) This compression algorithm's ratio is best. Decompression speed ...
XZ (KERNEL_XZ) XZ uses the LZMA2 algorithm and instruction set specific ...
LZO (KERNEL_LZO) Its compression ratio is the poorest among the choices. The kernel ...
LZ4 (KERNEL_LZ4) LZ4 is an LZ77-type compressor with a fixed, byte-oriented encoding. ...
((none)) Default hostname (DEFAULT_HOSTNAME) This option determines the default system hostname before userspace ...
[*] Support for paging of anonymous memory (swap) (SWAP) This option allows you to choose whether you want to have support ...
[*] System V IPC (SYSVIPC) Inter Process Communication is a suite of library functions and ...
[ ] POSIX Message Queues (POSIX_MQUEUE) POSIX variant of message queues is a part of IPC. In POSIX message ...
[*] Enable process_vm_readv/writev syscalls (CROSS_MEMORY_ATTACH) Enabling this option adds the system calls process_vm_readv and ...
[ ] uselib syscall (USELIB) This option enables the uselib syscall, a system call used in the ...
[ ] Auditing support (AUDIT) Enable auditing infrastructure that can be used with another ...
.
.
.
Install
Easier way:
$ pip install listconfig
To use the bleeding edge version:
$ git clone https://github.com/puhitaku/listconfig.git
$ cd listconfig
$ pip install -e .
Usage
Specify a .config file in somewhere like Linux Kernel.
Formatted list is output from stdout. Redirect it at which you like to put.
$ listconfig /path/to/Kconfig /path/to/.config > out
The ARCH is automatically detected from .config.
Specify --arch option to change it manually.
$ listconfig --arch=arm /path/to/Kconfig /path/to/.config > out
The description is generated from the "help" section of Kconfig items.
Specify --help-lines or -l to change how many lines to pick.
$ listconfig --help-lines=1 /path/to/Kconfig /path/to/.config
=== General setup ===
[ ] Compile also drivers which will not load (COMPILE_TEST) Some drivers can be compiled on a different platform than they are ...
.
.
.
$ listconfig --help-lines=2 /path/to/Kconfig /path/to/.config
=== General setup ===
[ ] Compile also drivers which will not load (COMPILE_TEST) Some drivers can be compiled on a different platform than they are intended to be run on. Despite they cannot be loaded there (or even ...
.
.
.
Metadata
Release files for listconfig 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| listconfig-0.1.3.tar.gz | 72.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| listconfig-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.3 kB
Release files / listconfig-0.1.3.tar.gz
| Download URL | listconfig-0.1.3.tar.gz |
|---|---|
| Size | 72.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce6b0d93ac52009660d299dd79dde1b5f294510617c01f2bbdb665d926265c28
|
|
BLAKE2b-256 checksum How to use checksums |
718639f580d521d80b42842bc1e537e27d40c3300d76dd1b2bf1179e14593b77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.29
|
Release files / listconfig-0.1.3-py3-none-any.whl
| Download URL | listconfig-0.1.3-py3-none-any.whl |
|---|---|
| Size | 72.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b316425b7e5abcfb688111cd0d150a9a893fda54a79560335724fa259c6851b2
|
|
BLAKE2b-256 checksum How to use checksums |
421f0c2d295c14284ca61e9f96259f71f8929f9a34f991438db0025ef3f590b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.29
|
Security for listconfig 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.