mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-07-17 06:19:52 +02:00
use overlayfs for /etc
This commit is contained in:
@ -10,7 +10,7 @@ iface wlan0 inet dhcp
|
||||
# wireless_mode managed
|
||||
# wireless_essid any
|
||||
# wpa-driver wext
|
||||
wpa-conf /var/etc/network/wpa_supplicant.conf
|
||||
wpa-conf /etc/network/wpa_supplicant.conf
|
||||
|
||||
# Ethernet/RNDIS gadget (g_ether)
|
||||
# ... or on host side, usbnet and random hwaddr
|
||||
|
@ -1,9 +1,7 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
SRC_URI += "file://itf_diya"
|
||||
SRC_URI += " file://itf_diya "
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}/var/etc
|
||||
install -d ${D}/var/etc/network
|
||||
rm ${D}/etc/network/interfaces
|
||||
install -m 0644 ${WORKDIR}/itf_diya ${D}/var/etc/network/
|
||||
install -m 0644 ${WORKDIR}/itf_diya ${D}/etc/network/interfaces
|
||||
}
|
Reference in New Issue
Block a user