1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-08-01 21:50:55 +02:00

use overlayfs for /etc

This commit is contained in:
DanyLE
2023-07-10 16:17:45 +02:00
parent 60e28aa4d9
commit a4d1b14a5e
7 changed files with 11 additions and 13 deletions

View File

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