-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
retrorig-setup Debian pkg restructuring #130
Comments
I would keep the setup as it is right now.
A debian package always extracts to a system folder. That doesn't require user input. It equals cloning from github. I would recommend to keep both methods, a) clone it from github in a local dir and run it as we do now or b) get it via apt-get into a system location . The old way
copy how? |
I meant more along the lines of running the 1) option in the script to get the base packages installed via the debian package so that all a user has to do is configure the controller by heading into the setup. What we have now is fine though since there is a lot going on with changes.
You mean with the PPA retrorig-setup Debian package right? The rest of our scripts and such would reside in the /usr/lib/ folder you were talking about in the other thread. I think I get where you're going with this. The git clone should just remain that, and those installing from the PPA get things called from a proper place. I can see where you meant moving rather than copying in the Debian rules file. |
Ah, now I get it. Over the time we can add more and more install functions to the Debian package post-installs, until eventually the config run is just configuring the controller. The idea is good. I thought a little about how we can move to systems other then Debian-based. We should move the system identification to the very beginning of
I think I already stumbled over this with service |
Ok, I'll take a look at this tonight. Probably concoct something out of On another note, we no longer need the manual kernel upgrade. This was fixed not too long ago, but I can confirm it works on the latest 3.13.0-37 of Ubuntu 14.04 LTS. I will disable this for now. If not already, I'll ensure the install updates the system appropriately. |
I did the detection with |
Great job :) This skeleton structure can then be used to extend it to Debian derivatives etc, and other platforms when ready. I see you noted 14.10. Should we have a "catch all" case line for the base 14.04 Trusty / Minty, or anything that works "out of the box" ? |
Yes, a default case would be good. In this test we could test for the availability of |
Is there anything else we need to do in here? Maybe a man page? |
I have a very* basic manpage here that I started under the supplemental folder. It needs a lot* of work to explain a ton of things. I didn't look at your build script update in your PR yet, but i'll have to manually check some things out. Since retrorig-setup is our script, I did cut the 0: prefix, since we don't need it (e.g. retrorig-setup 0.9.5.4). Also, at some point this week, I really* need to document how each of our files (the .desktop file, start-xbmc.sh and the like, and how they all interface") in the Advanced Configuration wiki page. This will help keep me especially straight on how all our different files interfaces (loading modules during install etc.) |
We can delete the prefix, no prob. I improved the script to make it more convenient to switch between our individual settings (official releases for you and testing releases for me). I noticed you have a different version in your PPA then it was stated in the script, so we probably have to merge it. Just remember that I can merge these kinds of conflicts as well. Just commit your changes, I can then fetch the upstream again , which will force me to merge it. Normally the person for issuing the PR should also be responsible for merging.
Excellent! |
@beaumanvienna , what is the reason we copy all the directories down to /usr/lib? Is it just a spot you picked? My idea for restructuring things, is to make a clone of the current retrorig-setup.sh script file, ammend the scripts and modules to install the "core" files (no gamepad, or xbox360 as default). I would remove anything that requires interaction. Mainly this would/should install all base software and update the kernel (if necessary, as this may be patched for ps3 wired controllers, I have to test).
I'll try to come up with something in the coming week to show you. The debian package should not be copying anything into /usr/lib, unless I am misunderstanding that. I will copy an archive into /home/user/RetroRig, extract it, and run a the core install, requiring no user imput. At the end, the user will be notified that in order to setup the controller and other options to run retrorig-setup.sh to reconfigure.
Ideas?
The text was updated successfully, but these errors were encountered: