Source building Retropie
Hi! First some basic info;
Pi Model or other hardware: Udoo Quad Armv7
RetroPie Version (Script is v4.3)
Built From: (Armbian without X. Based on 16.04 LTS)
As you can read this is not at all supported. I'm aware. My question is, and first of halleluya to the awesome retropie_setup.sh script, how i can edit the configure flags given to a package to be build from source. After i gave --disable-xmb to retroarch configure the installation would finish. Now that i don't care about that theme i would like to be able to edit your script so that i can use it should i need to update.
Is this at all possible? Many thanks in advance and keep up your awesome work!
I've noticed that the configure / make / build is all done immediately after source download. I noticed that i can run retropie_packages.sh with id of retroarch. This way i can download / install etc. Is there a way that i can give another configure flag?
The usage shows configure but it's not clear to me how to use the configure flag on this script.
retropie_packages.sh <Index # or ID>
This will run the actions depends, sources, build, install, configure and clean automatically.
Alternatively, retropie_packages.sh can be called as
retropie_packages.sh <Index # or ID [depends|sources|build|install|configure|clean|remove]
depends: install the dependencies for the module
sources: install the sources for the module
build: build/compile the module
install: install the compiled module
configure: configure the installed module (es_systems.cfg / launch parameters etc)
clean: remove the sources/build folder for the module
help: get additional help on the module
configureis the function running when the binary is installed on the system and configuration files are copied/replaced. It's not the
./configurestep before running the compilation.
If you want to control the compilation step better, then look in the
scriptmodules/emulators/retroarch.shand modify the
build_retroarchfunction - see https://github.com/RetroPie/RetroPie-Setup/blob/da0460cddbee82359d3376770713e4592ffd56d7/scriptmodules/emulators/retroarch.sh#L41
@volc configure is the function running when the binary is installed on the system and configuration files are copied/replaced. It's not the ./configure step before running the compilation.
Precisesly what i was looking for, thanks!
@volc Note that if you modify the file locally, you might get a conflict when the RetroPie-Setup update script will run next time, since
git --pullwill detect a conflict. Just be wary of that.
I can always fork using Git. Thanks for the heads up!