1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-08-02 06:00:39 +02:00

move user passwd and group to writable partition

This commit is contained in:
DanyLE
2023-07-10 14:28:10 +02:00
parent 1a0755fed6
commit 789fa4ff5e
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
do_patch_ro_roofs() {
install -d ${D}/var/etc
install -m 0644 ${D}/etc/passwd ${D}/var/etc/
install -m 0644 ${D}/etc/group ${D}/var/etc/
rm ${D}/etc/passwd
rm ${D}/etc/group
}
addtask patch_ro_roofs after do_populate_sysroot