Commit Graph

292 Commits

Author SHA1 Message Date
piradio
92373e8d27 Remove VLC (no music player available). 2019-06-05 17:08:23 +02:00
piradio
2e2f9dcf1d Configure project to merge pi-gen upstream. 2019-06-04 16:34:12 +02: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
piradio
df6dc42984 Correct typo in filename. 2019-05-23 22:56:21 +02:00
piradio
78dc467dcd Add emphasis on the cloning method. 2019-05-23 22:52:02 +02:00
piradio
2682ab33b8 Add the pre-built image. 2019-05-23 22:45:53 +02:00
piradio
82be2f6eb1 update README. 2019-05-23 16:08:14 +02:00
piradio
cdb636dc46 Add README. 2019-05-23 15:58:45 +02:00
piradio
ad04d559a3 Install playlists. 2019-05-23 15:58:25 +02:00
piradio
003e319699 Install phatbeatd as a daemon. 2019-05-22 20:44:29 +02:00
piradio
3cfbef44ac Install vlc as a daemon. 2019-05-22 17:51:38 +02:00
piradio
35f93ccba1 Add an example config file. 2019-05-22 14:49:37 +02:00
piradio
7d35c7b272 Install pivumeter. 2019-05-22 03:01:52 +02:00
piradio
c3ac379d19 Add pulseaudio. 2019-05-21 22:14:56 +02:00
piradio
4b3fe46c85 Install necessary packages. 2019-05-21 19:20:35 +02:00
piradio
6ad927431f Install raspi-gpio 2019-05-20 21:50:24 +02:00
piradio
b4a412ae1b Disable Pi audio. 2019-05-20 17:41:41 +02:00
piradio
10553a9387 Add i2s-mmap + hifiberry-dac. 2019-05-20 17:40:34 +02:00
piradio
6d88e71fe3 Remove unnecessary stages for the radio. 2019-05-20 15:50:04 +02:00
piradio
6896a8cef2 Add example config file. 2019-05-20 14:40:36 +02:00
piradio
657ff83b83 Add max current to config. 2019-05-20 14:20:52 +02: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
Sam Tygier
a8eb03a5e4 Check binfmt_misc module is loaded
Give a friendly error message early.
2019-02-18 09:45:10 +00:00
Sam Tygier
c147df99bc Ensure extra config file is passed to docker
Fixes #253

Rather than use --env-file, which gets overwritten by the regular config file, pass the any arguments to build-docker.sh through to build.sh.
2019-02-18 09:30:23 +00:00
Hugo Hromic
9e6af47045 Improve update_issue() function in common script
* Allow to customise pi-gen script name and repository in the generated issue file
* Preserve compatibility with existing function calls
2019-02-18 09:21:10 +00:00
Hugo Hromic
3b90b7ffed Improve bootstrap() function in common script
* Tidy up and simplify function code
* Allow to pass extra arguments to debootstrap, e.g. `--variant minbase`
* Preserve compatibility with existing function calls
2019-02-18 09:21:10 +00:00
Louis Matthijssen
3961bff8a4 Decrease zerofree verbosity
Fixes #251
2019-01-30 20:49:45 +00:00
Louis Matthijssen
61a994c88c Add a DEPLOY_ZIP setting 2019-01-30 19:05:22 +00:00
XECDesign
d945d422d4
Update 00-run.sh
Fix typo
2019-01-23 15:32:08 +00:00
Sam Tygier
c72f0b47ff Quote wpa wifi variables
Allows essid and passwords with special characters.
2019-01-22 17:44:28 +10:00
Sam Tygier
9714a11204 Add username validation
Check that the username is valid before doing any work. Use the default regex from debian's adduser.conf. Will also avoid risk of special characters causing issues.
2019-01-22 17:44:28 +10:00
Błażej Sowa
d88f536536 IMG_SUFFIX evaluation in export image (fix #241) 2019-01-22 17:33:18 +10:00
Hereath
21aeca1b0c fixeb package realpath (via coreutils) 2019-01-21 19:42:08 +10:00
gudata
640027d5df build script is build.sh
build script is build.sh
2019-01-21 19:29:17 +10:00
Mike Roberts
3b1d05144f Fixed another hard reference to the 'pi' user name 2019-01-15 21:16:02 +10:00
rkubes
189b8f0400 Fixed a hard reference to the 'pi' user name 2019-01-15 12:16:42 +10:00