Commit graph

376 commits

Author SHA1 Message Date
Serge Schneider
75123fd64e export lite image 2020-08-06 10:29:04 +01:00
Serge Schneider
0f41e41c8c Switch to FKMS 2020-07-30 15:32:03 +01:00
Serge Schneider
a58e722bee Install RealVNC server 2020-07-30 15:31:16 +01:00
Serge Schneider
c640efa6e1 Revert "fix vlc installation"
This reverts commit f644fa284871341f89b153679339bcc233d7990f.
2020-07-30 15:29:40 +01:00
Serge Schneider
d4049eeffb fix vlc installation 2020-07-30 15:29:40 +01:00
Serge Schneider
906c587fcd Package changes
Install vlc

Remove realvnc server

Switch to Full KMS
2020-07-30 15:29:40 +01:00
Serge Schneider
99399d30fc aarch64 2020-07-30 15:29:40 +01:00
Serge Schneider
9a3a10bf10 stage2: install raspinfo 2020-06-22 05:33:42 +01:00
Serge Schneider
f663d4c6d1 Add new changelog entry 2020-06-22 03:54:38 +01:00
Serge Schneider
825107f040 Update release notes 2020-05-19 12:07:30 +01:00
Serge Schneider
b9bb59c237 Bookshelf PDF download 2020-05-13 13:15:07 +01:00
DragonEagle
08fc0b9a82
Exposed RELEASE as a configurable variable (#391)
Exposed RELEASE as a configurable variable and updated README.md.  As a
bonus, there is only on place to change the release name when the next
release is stable now.
2020-02-26 13:36:39 +00:00
Leandro Lisboa Penz
8ef3f47d7f
Dockerfile: use --no-install-recommends in apt-get install (#383) 2020-02-20 17:20:29 +00:00
Tim Visée
65f91b8349
BusyBox realpath does not support -s flag, fallback to use no flags (#384)
* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
2020-02-20 17:20:03 +00:00
Luigi F. Cruz
38d22e976a
Retry apt downloads 3 times
Fixes #194
2020-02-20 17:18:50 +00:00
Serge Schneider
5f884374b6 Update release notes 2020-02-13 15:47:46 +00:00
Serge Schneider
6d71ac0bf9 Update release notes 2020-02-10 16:59:56 +00:00
Serge Schneider
6b72a64f02 Update release notes 2020-02-07 11:19:19 +00:00
Serge Schneider
e577677b62 Update release notes 2020-02-05 15:37:57 +00:00
Serge Schneider
87f7a59cab Update release notes 2020-02-03 13:22:33 +00:00
Serge Schneider
306c7eba3b Update release notes 2020-01-28 12:44:12 +00:00
Serge Schneider
b4ea63c045 Update persistent rkfill files 2020-01-28 12:44:12 +00:00
Serge Schneider
bdbd85892e Update MagPi URL scheme 2020-01-27 15:20:33 +00:00
Serge Schneider
ca31aef1f7 stage5: install code-the-classics 2020-01-24 13:09:04 +00:00
Serge Schneider
0a6624b26d Update ROOT_MARGIN 2020-01-24 12:48:57 +00:00
Serge Schneider
24bb01dec2 Rename HOSTNAME variable to TARGET_HOSTNAME
Bash sets the HOSTNAME variable, overriding our default
2020-01-21 17:45:22 +00:00
Andrew Pattison
f8f3d6fe93 capitalise Raspberry Pi 2020-01-08 12:01:12 +00:00
Andrew Pattison
f9375cdcec README.md - mention WPA_PASSWORD length requirement 2020-01-08 12:01:12 +00:00
Sam Tygier
9d334bee66 WPA_PASSWORD length check should only occur if set
Test if WPA_PASSWORD is set before check that it has a valid length.
2020-01-08 08:59:55 +00:00
Sam Tygier
024840034e Check WPA_PASSWORD length early
WPA_PASSWORD needs to be between 8 adn 63 characters. Check early
to avoid hitting error in stage2.
2020-01-07 08:07:48 +00:00
Sam Tygier
271177a0f7 Use tee with wpa_passphrase so errors are visable
wpa_passphrase writes its error messages to stdout, so this needs to
tee so that errors are visable to user. Also need to enable pipefail
so that the error code still gets caught.
2020-01-07 08:07:48 +00:00
Christian Decker
9d15c0f7d1 move picraft to stage where minecraft is installed (#362) 2019-12-12 10:15:17 +00:00
RaspberryPiFan
32353a162b Updated info about stage4 and stage5 (#359) 2019-12-09 11:57:26 +00:00
Christian Decker
18c3cebe94 configure unprotected wifi when WPA_PASSWORD is unset (#357) 2019-12-05 15:08:04 +00:00
RaspberryPiFan
8bdbbfb099 Added stage 5 to the text (#353) 2019-11-27 16:11:20 +00:00
RaspberryPiFan
d7c1ae21ca New types of images. (#352) 2019-11-26 15:49:49 +00:00
Leander
5456c3801f Explicitly check if postrun script exists in BASE_DIR (#351) 2019-11-26 15:03:47 +00:00
Leander
5e19033387 Remove accidental trailing brace (#348) 2019-11-18 14:38:54 +00:00
Leander
7f143a185e Export base directory before loading config file (#347) 2019-11-18 13:32:16 +00:00
snoe925
a449c75fac OS X does not have realpath (#342)
Check that realpath is present.  OS X doesn't have realpath.  The RPi builds on Docker for Mac if you increase the VM size. I am using 256G for my image.  See the Docker for Mac preferences.
2019-11-11 18:23:58 +00:00
Serge Schneider
95ba042c83 Add hostname to /etc/hosts 2019-11-06 14:33:07 +00:00
Rene Klootwijk
d30343f626 Added hostname parameter 2019-11-05 17:21:33 +00:00
Serge Schneider
19c0188798 Ensure debootstrap runs through 'sh' rather than 'bash'
This fixes #338 and fixes #294
2019-10-30 13:31:07 +00:00
Matthijs Kooijman
336ff2107e Document how to get values for the localization values 2019-10-14 10:55:10 +01:00
Serge Schneider
8026d9dc8f Update changelog 2019-10-14 10:54:20 +01:00
Serge Schneider
80d486687e Update release notes 2019-09-25 19:26:16 +01:00
Serge Schneider
5780006ecd Update release notes 2019-09-25 15:06:49 +01:00
Matthijs Kooijman
99f702f0ff Use parted for partitioning (#285)
Previously, fdisk was used by sending commands into its stdin, which is
not very robust (since it heavily relies on the interactive prompts
offered by fdisk as well as the default values it offers, which seem
prone to changing in future version).

It seems likely that in the past, fdisk was easier than parted since it
provides default values that make it easier to create adjacent
partitions, without precalculating all positions in the script. However
now that partitions are manually being aligned, all data must be
calculated anyway.

This commit changes the partition generation to use parted rather than
fdisk. For this, it rewrites various calculations and renames variables
to be easier to read as well. All values are now in number of bytes,
rather than mixing bytes and sectors.

This commit also makes makes sure that the boot partition and root
partition are always adjacent (previously the root partition was aligned
without also rounding the boot partition size, leaving some empty space
in between).

As a side effect of using parted, this also causes the "bootcode" part
of the MBR to be filled with some default x86 bootcode. This is totally
irrelevant for booting the Raspberry Pi, but it does prevent triggering
a bug in parted. When using parted to change the partition table (e.g.
when resizing the root partition on first boot by raspi-config's
init_resize.sh), the disk identifier would be changed due to this bug,
which would change the PARTUUID of all partitions. The init_resize.sh
script would work around this by updating the PARTUUID in e.g. fstab,
but that's fragile at best.  This commit prevents the bug from
triggering and keeps the disk identifier the same.

See https://debbugs.gnu.org/35714 for details about this parted bug.

This commit fixes #284.
2019-09-25 13:46:38 +01:00
Serge Schneider
946f164006 stage3: Mousepad used as simple text editor instead of leafpad 2019-09-24 15:57:09 +01:00
Serge Schneider
6538d5babf Update release notes 2019-09-23 15:30:02 +01:00