1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-10-03 14:06:39 +02:00

add settings to enable readonly fs

This commit is contained in:
DanyLE 2023-07-10 10:30:30 +02:00
parent 3d6cf9866c
commit 5c5016f424
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -1,4 +1,3 @@
d root root 0755 /var/etc/network none
d root root 0755 /var/etc/dropbear none d root root 0755 /var/etc/dropbear none
l root root 0644 /etc/network/interfaces /var/etc/network/itf_diya l root root 0644 /etc/network/interfaces /var/etc/network/itf_diya
l root root 0644 /etc/dropbear /var/etc/dropbear l root root 0644 /etc/dropbear /var/etc/dropbear