KERNEL-WEDGE-PREPROCESS(1)
π KERNEL-WEDGE-PREPROCESS(1) π
General Commands Manual β¨ the kernel-wedge-preprocess girlies know
πΈ NAME πΈ
kernel-wedge-preprocess β bestie, it processes a module list file π
π SYNOPSIS π
kernel-wedge preprocess module-list module-dir
π¦ DESCRIPTION π¦
Okay so picture this: you hand it a module-list, you hand it a module-dir, and it preprocesses the whole thing for you. That means it does the list includes, it does the module excludes, it clears out all the blank lines and comments (so much clutter, we love a clean feed π§Ή), and it expands the wildcards. Then it emits a list of filenames straight to stdout. Iconic behaviour, truly.
Heads up bestie: it returns1if a required module or directory is missing β unless$KW_CHECK_NONFATALis non-empty. So like, if you set that variable to anything at all, the drama is cancelled and it won't bail on you. π
Here are the wildcards it supports, and yes, they hit different:
?β matches a single character within a path component*β matches any number of characters within a path component**β matches any number of characters including multiple path components (the overachiever of the group, honestly)
And on Linux specifically: - and _ also match each other, because the kernel and kmod treat them as equivalent in module names. So foo-bar and foo_bar are basically the same person. Fr fr. π«Ά
π AUTHOR π
Joey Hess, Ben Hutchings <ben@decadent.org.uk> β absolute legends, we stan. π
Kernel-wedge Β· June 2019 β that's the source and the date, bestie, written down for the group chat record. Byeee, go slay those module lists. ππ
π¦ where this page comes from
- debian bookworm: kernel-wedge 2.106~deb12u1 Β· GPL-2.0-or-later
- debian trixie: kernel-wedge 2.106 Β· GPL-2.0-or-later
- ubuntu jammy: kernel-wedge 2.104ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: kernel-wedge 2.105 Β· GPL-2.0-or-later
- ubuntu questing: kernel-wedge 2.106
- ubuntu resolute: kernel-wedge 2.106build1 Β· GPL-2.0-or-later
- ubuntu stonking: kernel-wedge 2.106build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms