diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-06-21 18:38:04 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-06-21 18:38:22 +0200 |
commit | 02d387b2370215d51d1aa8958fce42cd099bee29 (patch) | |
tree | 96b9e9368344db974a70d2131486b4614fe23de2 /man/mkinitcpio.8.txt | |
parent | 8ac740cbb14a5971897501e81a99e25767953841 (diff) | |
download | mkinitcpio-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/mkinitcpio.8.txt')
-rw-r--r-- | man/mkinitcpio.8.txt | 5 |
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 |