minimal-package class: TI WL18xx and WL12XX firmware packages
inherit class into image recipe for installing minimal packages containing only necessary firmware binaries for bring up TI wireless chip BugzID: 60410 Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
parent
42f66b249a
commit
6f745c3ae9
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Copyright (C) 2019 Ramon Moesching <ramon.moesching@netmodule.com>
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
python () {
|
||||||
|
import re
|
||||||
|
packages = d.getVar("PACKAGE_INSTALL")
|
||||||
|
minimal_packages = re.sub(r'\blinux-firmware-wl12xx\b','linux-firmware-wl12xx-minimal', packages)
|
||||||
|
minimal_packages = re.sub(r'\blinux-firmware-wl18xx\b','linux-firmware-wl18xx-minimal', minimal_packages)
|
||||||
|
d.setVar("PACKAGE_INSTALL",minimal_packages)
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue