mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-08 06:28:23 +01:00
add settings to enable readonly fs
This commit is contained in:
parent
5c5016f424
commit
3af35df872
@ -1,3 +1,3 @@
|
||||
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/dropbear /var/etc/dropbear
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 32
|
||||
# read only roofs
|
||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --size 150
|
||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --size 150 --exclude-path=home/ --exclude-path=var/etc
|
||||
# modifiable configurations stored in /var/etc
|
||||
part /var/etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var/etc --ondisk mmcblk0 --fstype=ext4 --label home --align 1024 --size 32
|
||||
part /var/etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var/etc --ondisk mmcblk0 --fstype=ext4 --label diya-etc --align 1024 --size 32
|
||||
# home partition
|
||||
part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --ondisk mmcblk0 --fstype=ext4 --label home --align 1024 --size 16
|
||||
# part /home --ondisk mmcblk0 --fstype=vfat --label music --active --align 1024 --size 16
|
Loading…
Reference in New Issue
Block a user