create opk during build

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK
2020-12-11 23:37:33 +01:00
parent 8e15b18a5c
commit bb0f2b4302
48 changed files with 194 additions and 91 deletions

View File

@@ -155,6 +155,10 @@ copy_files_to_store_partition () {
mount /mnt/ || die 18 "Cannot mount /mnt"
unzip -q -o /usr/local/share/mnt_freware_games.zip -d /mnt/
mkdir -p /mnt/apps
set +f
cp -f /usr/games/opk/*.opk /mnt/apps/
set -f
umount /mnt/ || die 20 "Cannot unmount /mnt"
return 0
}