meta-digi/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown-1.0/ccimx6sbc
Hector Palacios 71b3623b59 init-ifupdown: adapt recipe for read-only-rootfs
This recipe had a post install script to do the following:
 - create runlevel symlinks.
 - comment the 'auto' lines of /etc/network/interfaces if running on
   a non-Wi-Fi variant.
 - add Atheros or QCA bridge examples depending on the detected chip.
 - add wlan1 interface only if QCA chip is detected.

This post install cannot run on a read-only-rootfs so the recipe has been
reworked to do the same things at build time:

 - the runlevel symlinks have been removed because they are taken care
   of by a poky class.
 - add a pre-up condition (the existance of a wireless entry on the device
   tree) so that the interface is not brought up if the condition is not met.
 - for the cc6/cc6n, since the Wi-Fi chip can be Atheros or QCA, add
   specific wlan1 and br0 fragments with a pre-up condition basing on the
   detected ID of the Wi-Fi chip

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-7708
2021-11-05 11:30:12 +01:00
..
interfaces.br0.atheros.example init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00
interfaces.br0.example init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00
interfaces.wlan1.atheros.dhcp init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00
interfaces.wlan1.atheros.static init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00
interfaces.wlan1.dhcp init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00
interfaces.wlan1.static init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00