summaryrefslogtreecommitdiffstats
path: root/install/firmware
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2006-05-08 22:46:07 +0200
committerTobias Powalowski <tpowa@archlinux.org>2006-05-08 22:46:07 +0200
commit9114900c15b343c2e5585abe34d0e259f8d86478 (patch)
tree16eac8a79633f0e07ea0d0656b4798a45257919b /install/firmware
parent7c6776156d4b9513510827feecc64bc85ff88e64 (diff)
downloadmkinitcpio-9114900c15b343c2e5585abe34d0e259f8d86478.tar.gz
mkinitcpio-9114900c15b343c2e5585abe34d0e259f8d86478.tar.xz
'added firmware and keymap hooks'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@85 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/firmware')
-rw-r--r--install/firmware24
1 files changed, 24 insertions, 0 deletions
diff --git a/install/firmware b/install/firmware
new file mode 100644
index 0000000..ca78b80
--- /dev/null
+++ b/install/firmware
@@ -0,0 +1,24 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES=""
+ BINARIES=""
+ FILES=""
+ SCRIPT=""
+ if [ -e /lib/firmware ]; then
+ for i in /lib/firmware/*; do
+ add_file $i
+ done
+ else
+ err "No firmware files found!"
+ fi
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook adds the firmware files that are placed at /lib/firmware/
+ to the image.
+HELPEOF
+}