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:
3
recipes-core/init-ifupdown/files/interfaces
Normal file
3
recipes-core/init-ifupdown/files/interfaces
Normal file
@ -0,0 +1,3 @@
|
||||
allow-hotplug wlan0
|
||||
iface wlan0 inet dhcp
|
||||
wpa-conf /var/etc/network/wpa_supplicant.conf
|
@ -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
|
||||
}
|
Reference in New Issue
Block a user