Commit Graph

65 Commits

Author SHA1 Message Date
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
18c3cebe94 configure unprotected wifi when WPA_PASSWORD is unset (#357) 2019-12-05 15:08:04 +00:00
Serge Schneider
d1ed4a2982 Include rpi-eeprom 2019-09-18 14:53:35 +01:00
Serge Schneider
77833ba929 cmdline.txt: remove dwc_otg.lpm_enable=0 2019-08-14 15:32:05 +01:00
Serge Schneider
c49261d756 stage2: install pciutils 2019-08-14 15:32:05 +01:00
Joshua Bussdieker
d1f7a38905 Support regional config settings (#323) 2019-08-14 11:26:55 +01:00
Serge Schneider
9c0a25d852 stage2: add ntfs-3g 2019-07-18 12:07:45 +01:00
Serge Schneider
37482277d3 stage2: Add vl805fw 2019-07-08 19:42:09 +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
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
Serge Schneider
0cdec86026 Disable ld.so.preload while building 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
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
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
c72f0b47ff Quote wpa wifi variables
Allows essid and passwords with special characters.
2019-01-22 17:44:28 +10:00
Sam Tygier
cc6605695d Allow enabling ssh server from config
Add ENABLE_SSH option
2018-12-21 04:09:47 +00:00
Sam Tygier
f4dc2dcce6 Allow setting up wifi from config
Add WPA_ESSID, WPA_PASSWORD and WPA_COUNTRY options to config.
2018-12-21 04:09:47 +00:00
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.
2018-12-21 04:09:47 +00:00
Serge Schneider
cbe273b850 Add extra packages back and create a 4GB image 2018-11-08 12:26:07 +00:00
Serge Schneider
33e94c46f3 stage2: set timezone properly 2018-10-11 17:20:18 +01:00
Serge Schneider
378a2bdfa7 stage2: remove left-over debconf file 2018-10-11 16:24:38 +01:00
Serge Schneider
59cd0a3d9c stage2: add ssh-import-id 2018-10-04 15:41:31 +01:00
Serge Schneider
37da6846dd stage2: Set default timezone to 'London' 2018-09-10 10:11:40 +01:00
Serge Schneider
6000d5871f stage2: accept Mathematica EULA here instead of stage5 2018-09-10 09:58:17 +01:00
Hugo Hromic
9d76d3a6a2 stage2: clean unused/obsolete patch (#187) 2018-06-04 09:42:52 +01:00
Serge Schneider
ff2d5edee1 shellcheck 2018-03-13 12:50:50 +00:00
Serge Schneider
56da271499 Remove unnecessary files 2018-03-13 12:37:13 +00:00
Serge Schneider
e6f7cd5cd6 stage2: don't set 'country' in wpa_supplicant.conf 2018-03-01 15:54:13 +00:00
Serge Schneider
c430f618d0 Remove ld.so.preload and policy-rc.d changes 2018-03-01 15:54:12 +00:00
Serge Schneider
13185c8224 stage2: install policykit-1
Closes #116
2017-12-13 11:17:58 +00:00
Serge Schneider
5c44fc727e stage2: install man-db 2017-11-24 07:10:45 +00:00
Jacen
26fcf59f3f [adding] qemu emulation layout to test images with qemu 2017-09-14 10:12:30 +01:00
Serge Schneider
496e41575e Revert "stage2: install fdisk"
This reverts commit e7e04fcde3.
2017-09-05 14:34:19 +01:00
Serge Schneider
e7e04fcde3 stage2: install fdisk 2017-09-05 14:29:33 +01:00
Serge Schneider
dc0fb57fb9 stage2: install net-tools explicitly 2017-08-24 16:31:15 +01:00
Serge Schneider
178b1e404b Remove NTP in favour of systemd-timesyncd 2017-07-28 13:35:46 +01:00
Serge Schneider
f2060a8ee2 export-noobs: enable NOOBS config script here instead of stage2 2017-07-28 13:35:46 +01:00
Serge Schneider
207003b5ed stage2: Move ssh host key regen and NOOBS config scripts to raspberrypi-sys-mods 2017-07-28 13:35:46 +01:00
Serge Schneider
c77669ad9f stage2: firmware-ralink renamed to firmware-misc-nonfree 2017-07-28 13:35:46 +01:00
Serge Schneider
6618df4b08 stage2: update wait.conf 2017-07-28 13:35:46 +01:00
Serge Schneider
19fc4a367e stage2: Add htop 2017-07-28 13:35:46 +01:00
Serge Schneider
036e5242b3 stage2: Add libmtp-runtime and rsync 2017-07-28 13:35:46 +01:00
Serge Schneider
8f361a1c38 Switch to Stretch 2017-07-28 13:35:46 +01:00
TJ Rana
3441133d1c Corrected various typos (#91)
* Rename License.md to LICENSE

* Correct typos

* Clean up code layout

Organize layout with extra lines
2017-07-27 12:11:07 +02:00
Serge Schneider
dc7b589e7a Move rpi-update from stage3 to stage2 2017-05-15 15:46:59 +01:00
Serge Schneider
3c0b364028 stage0: Install locales
fixes #65
2017-05-15 14:48:25 +01:00
Serge Schneider
6c146a7bb7 Clean up clean up 2017-04-03 16:01:13 +01:00
Benjamin Parzella
762e20cc0a Minor error in stage2 sys-tweaks debconf file
Seems like there is a misplaced line break
2017-04-03 15:59:16 +01:00
Serge Schneider
1f1ddb5f13 Specify additional variables in EXPORT_* files 2017-03-13 17:39:58 +00:00