mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
cleanup firmware
This commit is contained in:
parent
e90fcb1fc8
commit
b0c6a6acd0
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ build ()
|
|||
{
|
||||
# add firmware files and licenses
|
||||
map add_full_dir "/lib/firmware" "/usr/share/licenses/linux-firmware"
|
||||
# remove not used firmware
|
||||
rm -rf ${BUILDROOT}/lib/firmware/{v4l*,dvb*,bnx2,cxgb*,sb16,yamaha}
|
||||
find ${BUILDROOT}/lib/firmware -type f -name "*txt*" -exec rm {} \;
|
||||
find ${BUILDROOT}/lib/firmware -type f -name "*README*" -exec rm {} \;
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
Loading…
Reference in a new issue