Commit Graph

274 Commits (0552ef239b15d18afb497c3b7ce8314ae9970cbd)
 

Author SHA1 Message Date
Serge Schneider 0552ef239b Update to Buster
Remove ui and staging components
4 years ago
Serge Schneider a90b6bd094 build.sh: run quilt upgrade before editing patches 4 years ago
samtygier 4ad51961e9 Better docs for STAGE_LIST (#289)
Note that quotes are needed, see bug #288.
4 years ago
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.
4 years ago
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 {} \;`
4 years ago
Serge Schneider 042f769edb Add new changelog entry 5 years ago
Serge Schneider e910bf55ac Update release notes 5 years ago
Serge Schneider ee11b802b5 stage2: ethtool 5 years ago
XECDesign 3e9b176fab
stage2: install rng-tools
https://github.com/raspberrypi/linux/issues/2799
5 years ago
Andrew Scheller 30a1528ae1 Switch to using parted's machine parseable output (#270) 5 years ago
Serge Schneider fb23b8ba92 Replace pxz with xz -T0 5 years ago
XECDesign 91bc38d510
Update Dockerfile 5 years ago
Serge Schneider 67241b9626 Handle cases where binfmt_misc is built into the kernel
Fixes #264
5 years ago
samtygier b7812278a8 Warn early if proxy not reachable (#262)
Avoids a later failure with a less informative message. See #248
5 years ago
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`.
5 years ago
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.
5 years ago
Sam Tygier 9d38bfac23 README.md: Add more info on Docker 5 years ago
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.
5 years ago
Sam Tygier a8eb03a5e4 Check binfmt_misc module is loaded
Give a friendly error message early.
5 years ago
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.
5 years ago
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
5 years ago
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
5 years ago
Louis Matthijssen 3961bff8a4 Decrease zerofree verbosity
Fixes #251
5 years ago
Louis Matthijssen 61a994c88c Add a DEPLOY_ZIP setting 5 years ago
XECDesign d945d422d4
Update 00-run.sh
Fix typo
5 years ago
Sam Tygier c72f0b47ff Quote wpa wifi variables
Allows essid and passwords with special characters.
5 years ago
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.
5 years ago
Błażej Sowa d88f536536 IMG_SUFFIX evaluation in export image (fix #241) 5 years ago
Hereath 21aeca1b0c fixeb package realpath (via coreutils) 5 years ago
gudata 640027d5df build script is build.sh
build script is build.sh
5 years ago
Mike Roberts 3b1d05144f Fixed another hard reference to the 'pi' user name 5 years ago
rkubes 189b8f0400 Fixed a hard reference to the 'pi' user name 5 years ago
Sam Tygier d7ef46b06a Allow custom stages
STAGE_LIST can be specified in the config file to run additional build stages.
5 years ago
Błażej Sowa d7ca8e8f14 Allow custom deploy zip filename 5 years ago
Błażej Sowa 08405eb792 Allow custom image filename 5 years ago
Sam Tygier 7fbfdda31e Add commandline argument for config file
A config file can be specified when running build, e.g.:

  ./build.sh myconfig
5 years ago
Sam Tygier cc6605695d Allow enabling ssh server from config
Add ENABLE_SSH option
5 years ago
Sam Tygier f4dc2dcce6 Allow setting up wifi from config
Add WPA_ESSID, WPA_PASSWORD and WPA_COUNTRY options to config.
5 years ago
Sam Tygier d07096ebb5 Allow setting user name and password from config
Add FIRST_USER_NAME and FIRST_USER_PASS variables that can be set
in the config (or enviroment). Defaults to the standard pi and
raspberry.
5 years ago
Serge Schneider d1b747747c Add PINN restore support 5 years ago
Serge Schneider 980bdb961b Update release notes 5 years ago
Serge Schneider 7e0c786c64 stage4: add vlc 5 years ago
Serge Schneider 0f7e3dec05 export-noobs: fix units 5 years ago
Serge Schneider 181218ea9d Install libreoffice with all recommended packages
Move python-games to Raspbian Full and install as a Debian package.
5 years ago
Serge Schneider 6ffcafe1b8 Update release notes 5 years ago
Serge Schneider cbe273b850 Add extra packages back and create a 4GB image 5 years ago
Tomas Cerskus 4fc1423fdf scripts: do not ignore errors inside on_chroot calls 5 years ago
Krisjanis Rijnieks c9b658ecd6 Add curl to apt-get script in README 5 years ago
Serge Schneider f8b629d6c7 Check /debootstrap exists before trying to remove 5 years ago
Serge Schneider 33e94c46f3 stage2: set timezone properly 5 years ago