Verified Commit 0e3316a6 authored by nl6720's avatar nl6720
Browse files

Merge remote-tracking branch 'origin/merge-requests/145'

By Christian Hesse
* origin/merge-requests/145:
  man: add missing parameter for `add_runscript`
  man: use same syntax for all hooks

See merge request archlinux/mkinitcpio/mkinitcpio!145
parents 97b076bf 570b850d
Pipeline #43090 failed with stage
in 15 seconds
......@@ -208,21 +208,21 @@ functions exist to facilitate this.
using readlink. There is no checking done to ensure that the target of the
symlink exists, and symlinks will not be followed recursively.
*add_all_modules* [ '-f filter' ] *pattern*::
*add_all_modules* [ '-f filter' ] 'pattern'::
Adds modules to the image, without regard for the autodetect whitelist. *pattern*
should be a subdirectory within the kernel tree describing a subset of modules to
be included. Further refinement can be provided via the -f flag with an extended
regular expression.
*add_checked_modules* [ '-f filter' ] *pattern*::
*add_checked_modules* [ '-f filter' ] 'pattern'::
Similar to *add_all_modules* with the constraint that only modules matching the
whitelist generated by the autodetect hook will be added to the image. If the
autodetect hook is not present in the image, this function is identical to
*add_runscript* 'scriptname'::
Adds a runtime hook to the image, which is a busybox ash compatible shell
script. The name of the script is guaranteed to match the name of the hook the
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment