• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Call retropie_packages install_bin With a Version #?

Scheduled Pinned Locked Moved Help and Support
scriptmodulesemulator instal
5 Posts 2 Posters 479 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    lizardwiz
    last edited by 10 Apr 2023, 17:04

    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...

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 10 Apr 2023, 17:52

      @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.

      L 1 Reply Last reply 10 Apr 2023, 18:00 Reply Quote 0
      • L
        lizardwiz @mitu
        last edited by lizardwiz 4 Oct 2023, 19:01 10 Apr 2023, 18:00

        @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?

        M 1 Reply Last reply 10 Apr 2023, 18:17 Reply Quote 0
        • M
          mitu Global Moderator @lizardwiz
          last edited by 10 Apr 2023, 18:17

          @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.

          L 1 Reply Last reply 10 Apr 2023, 18:43 Reply Quote 0
          • L
            lizardwiz @mitu
            last edited by lizardwiz 4 Oct 2023, 19:52 10 Apr 2023, 18:43

            @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.

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post

            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.

              This community forum collects and processes your personal information.
              consent.not_received