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 combines it with a writable ext4 filesystem, where data can be stored. Both rootfs use the same overlay, which makes it possible to preserve data while overriding one of the rootfs during an upgrade.
1 parent d857c11 commit 8ec52a2813a2be41da075b956a3c2521e0e587c9
@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