Commit graph

397 commits

Author SHA1 Message Date
Jools Wills
8edbfdee84 setup - no longer need the diskspace check 2016-06-27 01:55:59 +01:00
Jools Wills
6b6be5f4fc reset terminal in rps_printInfo 2016-06-27 01:49:42 +01:00
Jools Wills
5bd2476803 setup - added back start/stop in logs 2016-06-27 01:39:43 +01:00
Jools Wills
3bb2d7f211 setup - don't show the "install all from binary" for the experimental section - we don't build binaries for experimental modules 2016-06-27 01:16:23 +01:00
Jools Wills
a5dc283656 setup - remember where we are when navigating menus 2016-06-27 00:57:43 +01:00
Jools Wills
8ae72b01fe setup - put status of package in menu title 2016-06-27 00:34:12 +01:00
Jools Wills
3a9007c111 setup - de-duplicate 2016-06-27 00:31:08 +01:00
Jools Wills
fbf17759cf setup - instead of showing install/update for packages, show install when not installed and update when installed 2016-06-27 00:26:45 +01:00
Jools Wills
ec1fef5c68 make sure we trigger depends for setup.sh when launching from retropie_setup.sh 2016-06-22 01:45:42 +01:00
Jools Wills
3a8dabcc6b image - split out functions for more manual control 2016-06-21 19:30:16 +01:00
Jools Wills
f0d72ac212 image - handle autostart in chroot in autostart module 2016-06-21 18:52:47 +01:00
Jools Wills
9ee523a530 image build changes -
* manually enable autostart due to raspi-config systemd detection in chroot
 * automatically calculate image size (disk usage + 300mb)
 * remove -f from kpartx
2016-06-19 21:05:17 +01:00
Jools Wills
9cedb85f5f image - remove -f option from kpartx 2016-06-19 21:01:51 +01:00
Jools Wills
5e541d3023 setup - go back to main gui after post_update function 2016-06-19 20:29:30 +01:00
Jools Wills
6efbb97636 image module - update package list first 2016-06-19 17:40:19 +01:00
Jools Wills
df4232dc13 image building - no autostart es parameter needed now 2016-06-19 17:24:21 +01:00
Jools Wills
ba527e65eb rmdir -> rm 2016-06-19 03:36:08 +01:00
Jools Wills
a89245aad6 integration of image building into retropie-setup 2016-06-19 03:27:03 +01:00
Jools Wills
001488e94d setup - reorg update order so hooks/messages get run from the updated version of the script after reload 2016-06-15 20:17:21 +01:00
Jools Wills
67e335e1e2 modules - _update_hook functionality -
* add _update_hook function support - these get run on updating retropie-setup.
 * add update_hook functions for modules so they show up as installed on retropie-setup 4.x - eg modules that
   previously just apt-get installed a package.
2016-06-15 20:17:21 +01:00
Jools Wills
c69655c9c6 ask to update OS packages when updating 2016-06-15 20:17:21 +01:00
Jools Wills
a70891a2b6 call module depends functions before gui in setup 2016-06-13 16:25:37 +01:00
Jools Wills
9ed3a80fad add notice to display when updating retropie-setup 2016-06-12 02:57:47 +01:00
Jools Wills
8d9f31979c when removing all packages from a section, only remove ones that are actually installed 2016-06-11 22:57:39 +01:00
Jools Wills
a7c0a6103b help improvements
* get rid of _INFMSGS and instead have a rp_module_help field with information in.
   this can then be displayed in the setup menus, and not just after configuring.
2016-06-10 17:32:47 +01:00
Jools Wills
1e3134746e fix help button in packages menu 2016-06-09 18:18:05 +01:00
Jools Wills
a5f70e8714 ask before rebooting 2016-06-09 18:16:48 +01:00
Jools Wills
512632cdc1 remove now unused createbinaries module 2016-06-09 18:15:06 +01:00
Jools Wills
bb95bd126b setup module improvements -
* add a quick install menu to packages. Change the order of the packages menu and add help.
2016-06-09 17:59:18 +01:00
Jools Wills
e8eceb8a28 setup module -
* use gui in setup functions that have a gui.
 * default to yes for updating retropie-setup script
 * split out update_packages to own function for use via retropie_packages.sh
2016-06-09 17:43:23 +01:00
Jools Wills
b958292a7b improve help text for retropie-setup update 2016-06-09 17:10:55 +01:00
Jools Wills
5fda4d33e0 handle help button in retropie-setup 2016-06-09 15:28:09 +01:00
Jools Wills
6ad7933250 added some documentation to the main retropie-setup script. 2016-06-09 15:25:08 +01:00
Jools Wills
8903c317ba use an internal version number to simplify things (and so it makes more sense after a release if updating) 2016-06-07 16:09:37 +01:00
Jools Wills
fcb3f39f7f don't build binaries for non source modules 2016-06-07 13:01:24 +01:00
Jools Wills
822f76acfe add builder module for building/archiving modules by id or section 2016-06-07 13:01:24 +01:00
Jools Wills
adfc99008f show configuration for installed modules with gui functions in the setup / tools menu 2016-06-07 13:01:24 +01:00
Jools Wills
70d3f80b02 additional warning text when removing core packages 2016-06-07 13:01:24 +01:00
Jools Wills
8dd2069660 use config instead of conf 2016-06-06 22:08:36 +01:00
Jools Wills
e5edf01f87 fix updating of packages after updating retropie-setup 2016-06-06 22:08:36 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
609299970d show dialog when lauching retropie-setup telling users that Raspbian Wheezy is no longer supported. 2016-03-24 20:49:03 +00:00
Jools Wills
781345f237 make it even more difficult to accidently uninstall retropie - a special feature for those that "accidently" choose it and press yes twice without noticing! 2016-03-06 11:06:46 +00:00
Jools Wills
40fd81ea5e quoting / don't show output of pushd/popd 2016-02-26 20:18:32 +00:00
Jools Wills
753d6ecc0f make sure we are in the right folder when running git to check version. 2016-02-26 20:12:47 +00:00
Jools Wills
ac6afdd610 select "no" by default to option to remove all dependencies when uninstalling 2016-02-22 20:14:05 +00:00
Jools Wills
9238a7cd79 clear screen after dialogs in uninstall 2016-02-22 15:30:03 +00:00
Jools Wills
b3f7b28ac4 clear screen after choosing option in retropie-setup 2016-02-22 15:29:06 +00:00
Jools Wills
76cc8a3c68 uninstall dependencies last 2016-02-22 15:25:05 +00:00
Jools Wills
bdf2b04c7f added uninstall menu to setup 2016-02-22 15:12:04 +00:00