mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-30 15:47:20 -05:00
fix: detect Batocera and Knulli by build files
No Batocera build writes /etc/batocera-version: batocera-system.mk:21-22 (batocera.linux 38845725, unchanged since batocera-30) writes /usr/share/batocera/batocera.version. Knulli (knulli-linux 57afa662) adds OS_NAME=knulli to os-release, writes /usr/share/knulli/knulli.version and removes /usr/share/batocera, and no Knulli source writes /etc/knulli-release. Neither was detected. A Knulli board is named and not narrowed by Batocera's per-board lists, and an unlisted board is named.
This commit is contained in:
1 parent
edda080c59
commit
89c533e9ba
6 files changed
+102
-15
No files matched your search
+12
-4
@@ -313,14 +313,22 @@ platforms:
|
||||
target_source: https://github.com/batocera-linux/batocera.linux
|
||||
install:
|
||||
detect:
|
||||
# Knulli is a Batocera derivative and carries its markers too.
|
||||
# Knulli, a Batocera derivative (knulli-cfw/knulli-linux 57afa662):
|
||||
# OS_NAME in os-release (board/scripts/post-build-script.sh:233-236),
|
||||
# and knulli.version (package/system/knulli-system/knulli-system.mk:98-102).
|
||||
- os: linux
|
||||
method: file_exists
|
||||
file: /etc/knulli-release
|
||||
method: os_release
|
||||
match: [OS_NAME=knulli]
|
||||
bios_path: /userdata/bios
|
||||
- os: linux
|
||||
method: file_exists
|
||||
file: /etc/batocera-version
|
||||
file: /usr/share/knulli/knulli.version
|
||||
bios_path: /userdata/bios
|
||||
# batocera.linux 38845725, package/batocera/core/batocera-system/
|
||||
# batocera-system.mk:21-22 writes batocera.arch and batocera.version.
|
||||
- os: linux
|
||||
method: file_exists
|
||||
file: /usr/share/batocera/batocera.version
|
||||
bios_path: /userdata/bios
|
||||
standalone_copies: *standalone_copies
|
||||
recalbox:
|
||||
|
||||
Reference in new issue
Block a user