8 lines
272 B
Plaintext
8 lines
272 B
Plaintext
|
# we sed the udev automounter so it mounts all partions on the stick/sdcard readonly
|
||
|
|
||
|
change_udev_automounter_ro() {
|
||
|
sed -i -e 's/\-t auto/\-t auto \-o ro/' ${IMAGE_ROOTFS}/etc/udev/scripts/mount.sh
|
||
|
}
|
||
|
|
||
|
ROOTFS_POSTPROCESS_COMMAND += "change_udev_automounter_ro ; "
|