2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2010-05-30 22:10:52 +02:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2010-05-30 22:10:52 +02:00
|
|
|
{
|
2010-07-11 16:34:23 +02:00
|
|
|
# add firmware files and licenses
|
2020-07-17 11:39:48 +02:00
|
|
|
for i in $(pacman -Ql linux-firmware | cut -d ' ' -f2 | grep -v /$); do
|
2021-08-09 10:13:24 +02:00
|
|
|
[ -e "$i" ] && add_file "$i"
|
2010-05-30 22:10:52 +02:00
|
|
|
done
|
2010-07-11 17:06:53 +02:00
|
|
|
}
|
2010-05-30 22:10:52 +02:00
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook includes linux_firmware on an arch boot image.
|
|
|
|
HELPEOF
|
|
|
|
}
|