Skip to content

Commit e079747

Browse files
committed
First boot creates "Native games" and "Applications" and copy correctly emulators because they are also missing
1 parent 78c6514 commit e079747

File tree

1 file changed

+7
-2
lines changed
  • FunKey/board/funkey/rootfs-overlay/usr/local/sbin

1 file changed

+7
-2
lines changed

FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,16 @@ copy_files_to_usb_partition () {
201201
if [ $? -ne 0 ]; then
202202
mount /mnt/ || die_notif 16 "Cannot mount /mnt"
203203
fi
204+
205+
# Copy freware games
204206
unzip -q -o /usr/local/share/mnt_freware_games.zip -d /mnt/
205-
mkdir -p /mnt/Emulators
207+
208+
# Copy OPKs
206209
set +f
207-
cp -f /usr/games/opk/*.opk /mnt/Emulators/
210+
cp -r /usr/local/share/OPKs/* /mnt
208211
set -f
212+
213+
# Unmount USB partition
209214
umount /mnt/ || die_notif 17 "Cannot unmount /mnt"
210215
return 0
211216
}

0 commit comments

Comments
 (0)