From 5c5016f4243362753b5b2c88ff24196b753485ea Mon Sep 17 00:00:00 2001 From: DanyLE Date: Mon, 10 Jul 2023 10:30:30 +0200 Subject: [PATCH] add settings to enable readonly fs --- recipes-core/init-ifupdown/init-ifupdown_%.bbappend | 2 ++ recipes-diya/diya-overlay/files/80_diya | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-core/init-ifupdown/init-ifupdown_%.bbappend b/recipes-core/init-ifupdown/init-ifupdown_%.bbappend index 3e4a61c..86f910c 100644 --- a/recipes-core/init-ifupdown/init-ifupdown_%.bbappend +++ b/recipes-core/init-ifupdown/init-ifupdown_%.bbappend @@ -2,6 +2,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 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/ } \ No newline at end of file diff --git a/recipes-diya/diya-overlay/files/80_diya b/recipes-diya/diya-overlay/files/80_diya index 1f976a9..566bef0 100644 --- a/recipes-diya/diya-overlay/files/80_diya +++ b/recipes-diya/diya-overlay/files/80_diya @@ -1,4 +1,3 @@ -d root root 0755 /var/etc/network 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/dropbear /var/etc/dropbear