1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-17 06:19:52 +02:00

add settings to enable readonly fs

This commit is contained in:
DanyLE
2023-07-10 09:32:40 +02:00
parent 5ab57b8e5d
commit b358e26252
9 changed files with 31 additions and 13 deletions

View File

@ -0,0 +1,3 @@
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /var/etc/network/wpa_supplicant.conf

View File

@ -1,3 +1,9 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://interfaces"
do_install:append () {
rm ${D}/etc/network/interfaces
install -d ${D}/var/etc/
install -d ${D}/var/etc/network
install -m 0644 ${WORKDIR}/interfaces ${D}/var/etc/network
}