From 02d387b2370215d51d1aa8958fce42cd099bee29 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 21 Jun 2014 12:38:04 -0400 Subject: 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. --- man/mkinitcpio.8.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'man') 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 -- cgit v1.2.3-24-g4f1b