Call retropie_packages install_bin With a Version #?
-
I have looked at the code, it is hard to tell because I don't have access to https://files.retropie.org.uk/binaries/, but I am guessing that there is no versioning in that repo? I don't see a mechanism to install/update a specific version (to make an exact copy of an existing retropie setup). Am I correct here?
Assuming I can't use the script as is to install from source for a specific version either, right?
The version is from the configs/all/retropie/cores.
Could I theoretically pull from the git repo and reset to a commit sha value then build from that? I can't seem to find where that commit sha is stored...
-
@lizardwiz said in Call retropie_packages install_bin With a Version #?:
I don't see a mechanism to install/update a specific version (to make an exact copy of an existing retropie setup). Am I correct here?
Yes, there is no versioning for binary packages.
Assuming I can't use the script as is to install from source for a specific version either, right?
Only if you modify the script and add the commit branch you'd like.
-
@mitu Is the commit branch stored somewhere on the pi? It seems like the pkg_info can find it. I am having trouble locating it. To be clear, I could theoretically replicate the sources parm, by just pulling the git commit by myself (I assume I can find where to place it somewhere in the code) and just resuming from the build step...right?
-
@lizardwiz said in Call retropie_packages install_bin With a Version #?:
Is the commit branch stored somewhere on the pi? It seems like the pkg_info can find it.
Yes, there's a
retropie.pkg
file which stores the build info (branch/commit/repo/build date/etc.). You can view this info from the Package version information menu of an installed package. -
@mitu awesome, thanks! It seems pretty silly to attempt to match EXACT versions, since retropie works with latest version anyways. I guess I'll just make my script compare version numbers and if it is < the system I want to replicate, just use the retropie_packages.sh with install_bin. Building EVERYTHING from source and hacking the source parm seems unnecessarily silly.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.