Commit graph

397 commits

Author SHA1 Message Date
cmitu
dbfcf9e4fd wikidocs: use latest mkdocs and add an internal link re-write plugin 2020-01-11 09:11:19 +02:00
Jools Wills
92ada70d38 wikidocs - rollback mkdocs / material theme for docs generation to fix relative links
https://github.com/mkdocs/mkdocs/issues/1802 affects us, and since we are using the output from
our github wiki repository, the internal links are not going to have .md appended.
2020-01-07 21:12:55 +00:00
Jools Wills
238e91c4fd image - enable rpi4 image building by default (with stretch inclusion)
* change an exit to a return 1
2019-12-25 23:12:38 +00:00
Jools Wills
4f042349a9 builder - skip rpi4 platform when building for stretch 2019-12-25 22:44:09 +00:00
Jools Wills
6b865f9200 builder - added __chroot_has_binaries to chroot building function
allows to force using binary dependencies included in RetroPie such as sdl1/sdl2
2019-12-24 05:19:20 +00:00
Jools Wills
cf5c76ce35 Merge remote-tracking branch 'retropie/master' into fkms_rpi4 2019-12-23 06:43:28 +00:00
Jools Wills
6bf025f025 image - remove old qemu hack to force newer cpu for rpi0/1
* was added due to old qemu bugs with arm1176 - but will cause issues with bins for newer cpus. Suspect it's also no longer needed but will do some testing
2019-12-23 05:49:33 +00:00
Jools Wills
07b681c41d helpers - added an adminRsync function for use with admin modules for uploading data to our server 2019-12-20 18:00:50 +00:00
Jools Wills
852de22632 image - adjust image naming to support rpi4 platform 2019-12-19 05:50:02 +00:00
Jools Wills
018a8b0aad image - added __chroot_branch for configuration of RetroPie-Setup branch for image building 2019-12-19 05:23:32 +00:00
Jools Wills
d1433cef45 image - added __chroot_has_binaries for development to pass __has_binaries into chroot 2019-12-19 05:14:03 +00:00
Jools Wills
92dbe1223d Merge remote-tracking branch 'retropie/master' into fkms_rpi4
Conflicts:
	scriptmodules/emulators/atari800.sh
2019-12-19 02:20:06 +00:00
Jools Wills
46820317de stats - set __ignore_flags=1 and call rp_registerAllModules to get info about all modules 2019-12-18 11:08:29 +00:00
Mátyás Mustoha
c5c638b535 Use a common data file on the stat pages
Merges the licence and pkgflag CSVs into one.
2019-12-18 11:52:40 +01:00
Jools Wills
5614b411fe stats - merge licences and pkgflags into a single module
* allow configuration of upload host/port
 * de-duplicate functions / split out git info into function
 * use an array for data / reduce var usage
2019-12-18 09:21:25 +00:00
Jools Wills
39c709a8d3
Merge pull request #2919 from mmatyas/statpages
Add licence and package flag summary pages
2019-12-17 18:41:01 +00:00
Mátyás Mustoha
6b728acbf3 Added licence and package flag summary pages 2019-12-17 11:10:12 +01:00
Jools Wills
dd0cb8c094 builder - allow configuration of binary upload host/port for rsync
* uses __upload_host and __upload_port
2019-12-13 00:58:34 +00:00
Jools Wills
30f55cf1e2 Merge remote-tracking branch 'retropie/master' into fkms_rpi4 2019-12-06 03:30:45 +00:00
Jools Wills
d58e01dd18 builder - variable / parameter changes
* use $__builder_dists instead of $__dists for distribution
 * switch platform var name from $sys to $platform
 * allow target platform configuration via __builder_platform env var
 * simplify distcc configuration to use DISTCC_HOSTS rather than editing config
 * allow manual setting of DISTCC_HOSTS for chroot building via __builder_distcc_hosts
 * install distcc as a dependency is DISTCC_HOSTS is set
 * allow setting of MAKEFLAGS for chroot building via __builder_makeflags
 * add /usr/lib/distcc to PATH/MAKEFLAGS if set
2019-12-06 03:21:45 +00:00
Jools Wills
9afa9b1088 Merge remote-tracking branch 'retropie/master' into fkms_rpi4 2019-11-06 06:18:16 +00:00
Jools Wills
7c6c2a3ae4 image - include raspbian version name in image target
* use $dist rather than $version as variable name for clarity
2019-11-06 05:43:02 +00:00
Jools Wills
960204d4d9 Merge remote-tracking branch 'retropie/master' into fkms_rpi4 2019-11-04 06:00:42 +00:00
Jools Wills
6ebba0d097 builder - fix rsync dest to use $home rather than $HOME
* $HOME can resolve incorrectly to /root under some sudo environments
2019-11-04 05:48:37 +00:00
Jools Wills
3f35077fa5 Merge remote-tracking branch 'retropie/master' into fkms_rpi4 2019-11-01 05:24:21 +00:00
Jools Wills
fc1d1b8931 builder - chroot building fixes
* use $home instead of $HOME ($HOME can resolve to /root on some host systems via sudo)
 * use running user for git clone into chroot
 * check for RetroPie-Setup to determine whether to clone or pull
2019-11-01 05:14:33 +00:00
Conn O'Griofa
bbf7513564 image: don't set custom gpu_mem allocation for mesa targets
The RPI VC4/VC6 drivers use the kernel CMA heap allocation for GPU memory
(which defaults to 256MB on 1GB+ targets) instead of the gpu_mem allocation.

Although the gpu_mem allocation is still used, it's needed only for camera and
hardware decoders, but the default allocation (~64-76MB) is sufficient.

Without this change, we are losing ~192MB of user-addressible kernel memory
for no reason.
2019-10-28 16:40:31 +00:00
Jools Wills
9e1a8f5211 builder - use __binary_path for checking for existing archives 2019-10-25 02:11:49 +01:00
Jools Wills
66da168d6c builder - build binaries for rpi4 by default 2019-10-22 00:49:46 +01:00
Jools Wills
e80b54fbac image - cosmetic - remove space 2019-10-20 01:24:07 +01:00
Jools Wills
70e6f4c605 image - allow manual setting of nameserver for chroot 2019-10-20 01:20:04 +01:00
Tarek Soliman
d8ffee64ba image: really set boot partition to 256MiB
The Pi4 Buster recommendation is actually 256MiB but the script was creating
a much smaller boot partition (240MiB)  because of two bugs:

- parted mkpart units defaults to MB not MiB for input (256MiB is 268MB)

- parted's parameters are `start` `end` not `start` `size`. We need to specify
  260 as an end because the start is 4

I changed the default unit to MiB because while explicitly specifying 260MiB
is possible, specifying units on mkpart disables parted's helpful range of
sloppiness.
2019-09-08 03:24:12 -05:00
cmitu
f5b00bb20e image: boot partition should be 256Mb now
The Pi4 Buster recommendation is for a larger boot image:
* https://www.raspberrypi.org/blog/buster-the-new-version-of-raspbian/#comment-1510398

Upstream `pi-gen` has been updated also with the new size:
* 0308e92705
2019-07-17 17:48:05 +03:00
Jools Wills
35555bccbe setup - add os description to log header 2019-07-04 05:20:14 +01:00
Jools Wills
da771e3974 setup - display os version in menu after retropie-setup version 2019-07-04 05:16:08 +01:00
Jools Wills
bb8dc1a3b3
Merge pull request #2724 from EricFromCanada/version-numbers
Fix version number requirements
2019-07-03 20:15:18 +01:00
Jools Wills
d242faafab
Merge pull request #2742 from joolswills/stretch_kernel
image - install newer kernel from buster repos onto stretch to fix sony bt issues
2019-07-02 19:40:07 +01:00
Jools Wills
9cabb6765b image - install newer kernel from buster repos onto stretch to fix sony bt issues 2019-06-30 16:30:37 +01:00
Conn O'Griofa
196837bf4f admin/setup: remove hard block for f/kms on rpi
* Degrade error message to warning for older Pi revisions, and bypass on RPI4.
2019-06-27 00:04:17 +01:00
Jools Wills
438b015d2e builder - allow manually setting which dists to build for with __dist=
* currently defaults to "stretch buster"
2019-06-25 05:24:44 +01:00
Jools Wills
ce40053cb9 crosscomp - added config for building a raspbian buster targeted gcc
* update isl location as old location doesn't have newer versions
2019-06-25 05:20:35 +01:00
Jools Wills
f14ab65e8d image - backup/restore /etc/ld.so.preload in chroot to avoid warnings
* this happens with buster image (also was an issue before with wheezy)
2019-06-25 02:44:42 +01:00
Jools Wills
6894fc48e0 image - raspberrypi.org now uses buster as their default image
* switch stretch location to last stretch lite image
 * add buster image
2019-06-25 02:13:11 +01:00
Eric Knibbe
3b1ac413bc fix minimum Ubuntu version 2019-06-04 14:57:37 -04:00
Jools Wills
cdeaeb978f Revert "apidocs - use older version of bash-doxygen due to upstream bug"
This reverts commit 6c62e3cd4d.

upstream is now fixed
2019-04-24 20:11:34 +01:00
Hugo Hromic
1e849710d8 helpers - add getIPAddress() function
* the function obtains an externally routable source IP address for the machine
* an IPv4 route is tried first and, if not found, then an IPv6 route is tried
* the function also handles queries for specific devices (used in `wifi.sh`)
* replace all instances of `ip route (...)` with new `getIPAddress` function
2019-03-27 18:39:24 +00:00
Jools Wills
c8f921675a usbromservice - move to optional packages
* on desktop systems doing a "basic install" the usbromservice may not be wanted
 * make sure we install it when creating our image again
2019-03-27 17:00:35 +00:00
Jools Wills
43a23326f0 setup - typo 2019-03-09 16:15:50 +00:00
Jools Wills
cffcd14879 setup - drop support for Jessie / Older Ubuntu - change wording on dialog 2019-03-09 05:10:55 +00:00
Conn O'Griofa
23526148de image: add binfmt-support to depends
This is required for chroot via qemu-user-static.
2019-03-02 19:41:32 +00:00