Commit graph

306 commits

Author SHA1 Message Date
Serge Schneider
4118f8d524 stage5: Add Mathematica 2019-07-08 19:29:35 +01:00
gscscnd
1143530351 Revert "stage2: Add apt-transport-https" (#304)
This reverts commit 1806504983.

In Buster, APT has built‐in support for HTTPS repos (since version 1.5).
The ca-certificates package is already included in the modified file, so
this commit shouldn’t break anything.
2019-07-03 16:42:26 +01:00
gscscnd
fd21eff626 README.md shouldn’t be executable (#303)
In 667318116a, README.md’s file mode bits
were changed from 0o644 to 0o755. This commit reverts them back to
0o644.
2019-07-03 13:02:48 +01:00
Samuele Maci
ae4ec6445e build-docker.sh does not assume PWD=<repo root> (#302)
* bash variables in build-docker.sh are wrapped by curly brackets

* Ensure presence of config file while running build-docker.sh

* Do not assume that build-docker.sh is run from the repository root directory

* Mount config file in predictable location in docker container
2019-07-02 14:56:41 +01:00
Xerxes Rånby
57ef9b88e3 stage2/00-copies-and-fills/02-run.sh: Fix re-runs of script (#301)
Check that file exist before move.
2019-07-02 14:54:25 +01:00
Ondřej Caletka
3db1168fbd Remove obsolete IPv6 turnoff (#300)
Turning off IPv6 by aliasing `net-pf-10` to `off` does not work anymore.
Also, turning off IPv6 on system level breaks apps depending on IPv6
loopback or IPv6 link-local addresssing and creates issues in both
dual-stack and IPv6-only environments.

Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
2019-07-01 13:21:44 +01:00
Russ Kubes
4ca539cb45 Fix build.sh to run dependencies_check prior to using curl. (#299) 2019-07-01 13:17:12 +01:00
Ryan Walmsley
3c559aeb56 64 bit message (#298)
Added a handy message to make it clear that compiling on a 64 bit OS is causing issues. After spending over an hour of troubleshooting think it should be made clearer as it'll affect quite a few users.
2019-06-28 12:40:06 +01:00
Hugo Hromic
cf50ff26d2 Update Dockerfile base image to Debian Buster (#295)
With the Qemu version shipped with Debian Stretch, the `man-db` package
being installed for Buster in the image triggers many of these errors:

    qemu: Unsupported syscall: 383

This is a manifestation of the following bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891109

This is resolved in the current Qemu version shipped with Debian Buster.
2019-06-27 11:47:23 +01:00
Serge Schneider
a4be08e275 Update release notes 2019-06-21 15:54:50 +01:00
Serge Schneider
150e25c4f8 Revert "Java 8 workaround"
This reverts commit 3682a747bd.
2019-06-17 10:32:11 +01:00
Serge Schneider
e5310d6824 stage5: install greenfoot-unbundled 2019-06-17 10:32:06 +01:00
Serge Schneider
d942d5487c export-noobs: update OS.png 2019-06-07 19:51:08 +01:00
Serge Schneider
0cdec86026 Disable ld.so.preload while building 2019-06-07 19:51:08 +01:00
Serge Schneider
afeea46a39 export-image: remove /etc/network/interfaces.dpkg-old 2019-06-07 19:51:08 +01:00
Serge Schneider
265f342310 stage4: fix autologin 2019-06-07 19:51:08 +01:00
Serge Schneider
73fc1462fd stage5: Remove wolfram-engine until Buster version is available 2019-06-07 19:51:08 +01:00
Serge Schneider
1ffc374ebf Fix Buster packages 2019-06-07 19:51:08 +01:00
Serge Schneider
6b78e86a2f stage3: include arandr 2019-06-07 19:51:08 +01:00
Serge Schneider
a3c76f3038 Replace IDLE with Thonny in stage 4 and add Mu to stage 5 2019-06-07 19:51:08 +01:00
Serge Schneider
3682a747bd Java 8 workaround
Java 8 segfaults during install.
Installing OpenJDK 11 first prevents Java 8 from running.
2019-06-07 19:51:08 +01:00
Serge Schneider
0b4d95c4a2 stage4: enable xcompmgr 2019-06-07 19:51:08 +01:00
Serge Schneider
f86cb0d54a script/common: Handle aarch64 host builds 2019-06-07 19:51:08 +01:00
Serge Schneider
e14a403533 stage2: Disable wifi on 5GHz models 2019-06-07 16:21:03 +01:00
Serge Schneider
ba8909f05d partition_setup.sh: Fix cmdline.txt handling
Add sdhci.debug_quirks2=4 to cmdline.txt when resizing

Only remove 'quiet' from cmdline if splash screen is off
2019-06-07 16:03:27 +01:00
Serge Schneider
33dfe5404c stage4: remove timidity 2019-06-07 16:01:16 +01:00
Serge Schneider
17ef760111 config.txt: Enable FKMS and set max_framebuffers=2 in [pi4] 2019-06-07 15:59:18 +01:00
Serge Schneider
9005ba070b os_list: Bump kernel to 4.19 2019-06-07 15:58:10 +01:00
Serge Schneider
7e3b160f1c os_list: add Pi 4 support 2019-06-07 15:57:47 +01:00
Serge Schneider
d7aa47e418 os_list: add checksums for PINN 2019-06-07 15:55:54 +01:00
Serge Schneider
0308e92705 export-image: Set /boot size to 256MB 2019-06-07 15:54:22 +01:00
Serge Schneider
22c8878f5d Remove Oracle Java 2019-06-07 15:49:18 +01:00
Serge Schneider
0552ef239b Update to Buster
Remove ui and staging components
2019-06-07 15:45:15 +01:00
Serge Schneider
a90b6bd094 build.sh: run quilt upgrade before editing patches 2019-06-07 15:41:33 +01:00
samtygier
4ad51961e9 Better docs for STAGE_LIST (#289)
Note that quotes are needed, see bug #288.
2019-05-30 11:07:16 +01:00
Hugo Hromic
8acf95f237 Do not assume the changelog file is always present for the info file (#280)
The `(..)/raspberrypi-kernel/changelog.Debian.gz` file is not guaranteed
to be present in the built `ROOTFS_DIR`, for example when building very
minimal images without package documentation. In these cases, the `firmware`
variable will be left empty and the subsequent calls to `curl` will return
large 404 HTML content from GitHub.

Instead, simply check if the changelog file exists before using it.
2019-04-25 10:28:48 +01:00
Hugo Hromic
407663a57f Silence shellcheck warnings (#279)
* SC1091: the `config` file might not be present, which is normal.
* SC2086: Double quote to prevent globbing and word splitting.

Tested clean output using: `find -name "*.sh" -exec shellcheck -x {} \;`
2019-04-25 10:11:57 +01:00
Serge Schneider
042f769edb Add new changelog entry 2019-04-17 12:49:08 +01:00
Serge Schneider
e910bf55ac Update release notes 2019-04-02 18:58:30 +01:00
Serge Schneider
ee11b802b5 stage2: ethtool 2019-04-01 13:05:30 +01:00
XECDesign
3e9b176fab
stage2: install rng-tools
https://github.com/raspberrypi/linux/issues/2799
2019-03-29 19:45:31 +00:00
Andrew Scheller
30a1528ae1 Switch to using parted's machine parseable output (#270) 2019-03-18 14:49:18 +00:00
Serge Schneider
fb23b8ba92 Replace pxz with xz -T0 2019-03-11 11:49:04 +00:00
XECDesign
91bc38d510
Update Dockerfile 2019-03-11 11:14:04 +00:00
Serge Schneider
67241b9626 Handle cases where binfmt_misc is built into the kernel
Fixes #264
2019-03-06 16:25:42 +00:00
samtygier
b7812278a8 Warn early if proxy not reachable (#262)
Avoids a later failure with a less informative message. See #248
2019-02-18 23:41:41 +00:00
Hugo Hromic
564f8ef1b8 Silence shellcheck warnings (#255)
* Made more specific shellcheck disables
* Fixed variable quoting (SC2086,SC2064)
* Use `$*` expansion instead of `$@` when not using arrays (SC2124)
* Use cleaner `$()` syntax instead of back quotes (SC2006)
* Improved comparator (SC2166)
* Minor improvements in coding style

Tested clean output using: `find -name "*.sh" | xargs -n1 shellcheck -x`.
2019-02-18 12:54:15 +00:00
Sam Tygier
7068086c94 Make sure unmount_image finds stale loop devices
Fixes #257 #104 #193

Instead of searching by full path, which is prone to fail, read full list and grep on filename.
2019-02-18 12:01:00 +00:00
Sam Tygier
9d38bfac23 README.md: Add more info on Docker 2019-02-18 09:45:10 +00:00
Sam Tygier
82bcfa427a Use different rsync options for boot and root
When copying files to boot, options that are not supported on fat32 can cause errors. For example owner, group and xattrs.
2019-02-18 09:45:10 +00:00