I would like to modify the default contents in the storage directory following a clean install. I attempted to modify the SYSTEM image using squashfs tools and creating a new md5sum file for my modified SYSTEM image. But the contents I placed in squashfs-root/storage/ do not get unzipped properly during the install. I'm guessing because storage is a separate partition and probably does not get mounted before SYSTEM is unpacked...
Specifically, I would like to create my own custom .kodi directory and .config directory
Can anyone help me figure out how I would need to modify the LIBREELEC partition so that my custom .kodi and .config directories can be unpacked into the storage partition after a clean install.
Thank you