summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-06-21 18:38:04 +0200
committerDave Reisner <dreisner@archlinux.org>2014-06-21 18:38:22 +0200
commit02d387b2370215d51d1aa8958fce42cd099bee29 (patch)
tree96b9e9368344db974a70d2131486b4614fe23de2 /man
parent8ac740cbb14a5971897501e81a99e25767953841 (diff)
downloadmkinitcpio-02d387b2370215d51d1aa8958fce42cd099bee29.tar.gz
mkinitcpio-02d387b2370215d51d1aa8958fce42cd099bee29.tar.xz
add second param to add_full_dir to allow filtering files
Use this to only add files matching *.conf in the modconf hook. Fixes FS#39994.
Diffstat (limited to 'man')
-rw-r--r--man/mkinitcpio.8.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/man/mkinitcpio.8.txt b/man/mkinitcpio.8.txt
index cd06576..05d71c4 100644
--- a/man/mkinitcpio.8.txt
+++ b/man/mkinitcpio.8.txt
@@ -138,12 +138,15 @@ functions exist to facilitate this.
Adds a directory and its parents to the image.
-*add_full_dir* 'directory'::
+*add_full_dir* 'directory' [ 'glob' ]::
Recursively adds a directory to the image by walking the given path and
calling *add_file*, *add_dir*, and *add_symlink* accordingly. This function
will not follow symlinks, nor will it add the targets of symlinks.
+ If the 'glob' argument is passed, only files and symlinks matching this glob
+ will be added.
+
*add_symlink* 'path' [ 'link-target' ]::
Adds a symlink to the image at the specified `path`, optionally pointing to