1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-07-06 00:59:47 +02:00

use overlayfs for /etc

This commit is contained in:
DanyLE 2023-07-10 18:53:46 +02:00
parent ef288cd22e
commit 3ceeeb7cf1

View File

@ -1,7 +1 @@
hostname = "diya"
do_install:append () {
cat >> ${D}${sysconfdir}/fstab <<EOF
# add overlay for /etc
overlay /etc overlay defaults,nofail,lowerdir=/etc,upperdir=/var/etc/upper,workdir=/var/etc/work 0 2
EOF
}
hostname = "diya"