meta-digi/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown-1.0
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
..
ccimx6sbc init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00
ifupdown.service init-ifupdown: add systemd support 2019-03-14 13:34:16 +01:00
interfaces meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00
interfaces.br0.example init-ifupdown: adapt recipe for read-only-rootfs 2021-11-05 11:30:12 +01:00
interfaces.p2p 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
p2plink init-ifupdown: p2plink: allow to set persistent parameters 2019-09-10 11:49:00 +02:00
resolv init-ifupdown: fix script when '/etc/resolv.conf' is a file 2017-06-02 18:32:36 +02:00
virtwlans init-ifupdown: add virtwlans script to pre-up and post-down hook directories 2019-03-22 09:46:51 +01:00