summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-04-21 22:58:55 +0200
committerDave Reisner <dreisner@archlinux.org>2013-04-24 16:24:36 +0200
commit45d340c154b7c956822e0c1a5ff4b956851e2cd6 (patch)
tree23810073b4c63a0208c62b6c11be846aa360b4e6 /mkinitcpio
parent28dcc378781b22ee44363484583812515a4859e3 (diff)
downloadmkinitcpio-45d340c154b7c956822e0c1a5ff4b956851e2cd6.tar.gz
mkinitcpio-45d340c154b7c956822e0c1a5ff4b956851e2cd6.tar.xz
functions: implement add_firmware
Add this as an abstraction for the various places firmware might exist. Additionally, don't complain about missing firmware unless *none* of it can be found -- and even then, only throw a warning. NB: this means that users building images without the autodetect hook and a rudimentary hook like "block" will see warnings which are going to cause panic, chaos, and upheaval. I fully expect that this will result in extra non-work for me in the form of closing invalid bug reports. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-xmkinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 974d12c..247fc81 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -14,7 +14,7 @@ _f_functions=functions
_f_config=mkinitcpio.conf
_d_hooks="$PWD/hooks:/usr/lib/initcpio/hooks:/lib/initcpio/hooks"
_d_install="$PWD/install:/usr/lib/initcpio/install:/lib/initcpio/install"
-_d_firmware=/usr/lib/firmware
+_d_firmware=({/usr,}/lib/firmware/updates {/usr,}/lib/firmware)
_d_presets=mkinitcpio.d
# options and runtime data