board/MynaPlayer odyssey: add pre-init script to setup overlay filesystem.
This adds a pre-init script that is ran before systemd. This scripts prepares the system so that the rootfs will be left unaltered, but combine it with a writable ext4 filesystem, where data can be stored into. Both rootfs use the same overlay, which makes it possible to preserve data while overriding the rootfs during an upgrade.
1 parent d857c11 commit 482df787e7c3aa557143c189adab1eb3a0e424d5
@Xogium Xogium authored on 6 Sep 2020
Showing 2 changed files
View
board/myna-player-odyssey/rootfs_overlay/loader/entries/myna-player.conf
View
board/myna-player-odyssey/rootfs_overlay/usr/sbin/pre-init 0 → 100755