Commit graph

51 commits

Author SHA1 Message Date
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
Serge Schneider
8f22f2f27e stage2: install libpam-chksshpwd 2017-03-13 17:31:49 +00:00
Serge Schneider
718a4e8c21 Switch to PARTUUID 2017-03-07 15:14:03 +00:00
Serge Schneider
51fbf45dd7 stage2: Manually install /etc/default/console-setup
debconf alone does not seem to work
2017-03-06 09:27:48 +00:00
Claus F. Strasburger
667318116a Added Docker support (#40)
* Added Docker support

- replaced necessity for devicemapper (through kpartx) by using parted and
  losetup with offsets
- added Dockerfile
- added dependency for parted and grep
- added hints to README.md
- common: loop through unmounts, fix shellcheck warnings

* stage2: use debconf instead of console-setup patch. Fixes #41
2017-01-23 12:44:03 +00:00
Serge Schneider
1806504983 stage2: Add apt-transport-https
Fixes RPi-Distro/repo#52
2017-01-12 14:24:43 +00:00
Serge Schneider
21a681692a Port regenerate_ssh_host_key to a systemd service 2016-11-24 20:07:05 +00:00
Serge Schneider
c5e4f61df2 regenerate_ssh_host_keys: run in the foreground 2016-11-24 17:41:10 +00:00
Serge Schneider
58e7e4023e Disable SSH by default 2016-11-23 16:15:22 +00:00
Serge Schneider
c4fb032d3b Use capsh to ensure file capabilities aren't set 2016-11-14 23:55:45 +00:00
Serge Schneider
e06f61b573 stage2: remove sudoers modification (merged into raspberrypi-sys-mods) 2016-10-18 16:46:21 +01:00
Serge Schneider
71793ce183 stage2: install raspberrypi-net-mods 2016-10-18 15:23:02 +01:00
Serge Schneider
62406bad92 stage2: Noobs export 2016-09-21 04:59:49 +10:00
Serge Schneider
ea205dc387 Remove 98-rpi.conf (now handled by raspberrypi-sys-mods) 2016-09-15 15:30:44 +10:00
Serge Schneider
bdca3e3b48 Rework 2016-05-05 21:21:42 +01:00