Commit graph

85 commits

Author SHA1 Message Date
b94fcfc1c9
Moving towards first beta release
OctoPrint port and listening IP can now be configured

First-time and Octo-Config now use a shared library reducing duplicate
code

Reverted output files to default format

Updated TODO
2020-08-14 01:40:24 -06:00
5625779c12
Cleanup, fixed plugin permissions 2020-08-13 15:21:50 -06:00
0d495115aa
Replaced whiptail, moved OctoPrint, added plugin manager
Replaced whiptail with dialog since dialog has more features and looks
nicer imo

OctoPrint has been moved to /srv/octoprint

There is now an OctoPrint group as well as an OctoPrint user

First-time will now ask if you want to preinstall some curated plugins

Added warning advising end users that this is nowhere near production
ready.

Added more stuff to TODO

README improvements
2020-08-13 03:42:11 -06:00
0126ec25ba
Octo-Config and first-time improvements
Added root check to Octo-Config
Added blank password check to password dialog
Installs TouchUI plugin for OctoPrint by default
Updated TODO
2020-08-12 18:15:50 -06:00
ce6b2a628b
Unattended upgrades, added octo-config
Implemented unattended upgrades
Moved default systemd target command to utils
Octo-Config is no longer a blank text file and now does stuff
2020-08-12 16:45:21 -06:00
23c608198b
Reorganized utilities, fixed stupid typo, timestamp now uses start
Timestamps in the build now grab the time at the beginning of the build,
instead of the end

Sudoers file didn't use chroot path

Rearranged octo-config into first-time folder and renamed first-time
folder to utils
2020-08-12 15:08:19 -06:00
df8da13de0
Properly pipe function into the void 2020-08-12 03:03:34 -06:00
106c1a0e95
Improved security, builds have timestamps, first-time improvements
Added the unix timestamp for when the build was built to the file name
Disabled no password on the pi account for sudo actions

Fixed a stupid mistake where I piped a function into bash instead of
the void
2020-08-12 02:59:46 -06:00
ffdd76098f
Removed old files, first-time improvements
Removed the stupid Mathematica EULA agreement
Added screen timeout adjustments
Shuffled files around to more appropriate places
Added a TODO file so that I can keep track of stuff to add
OctoPrint account is now a system account and cannnot be logged into

First-time is now in profile.d. It is now ran by getty which
automatically logs in as root on first boot and then runs the script

First-time now uses chpasswd instead of passwd (passwd is shit for this)
2020-08-12 02:06:56 -06:00
201707be75
Added first time setup 2020-08-11 18:25:59 -06:00
76200d1b89 Added OctoPrint service, made NoDM actually work
Changed the NoDM config so that it evaluated variables

Added OctoPrint service file

Started work on custom config tools

Browser now checks to see if OctoPrint is running before launching
browser
2020-08-11 17:26:21 -06:00
99c4fbb46d Improved NoDM, removed swap file
Fixed NoDM configuration file, now dynamically generates instead of
copying a file.

Removed swap file because this shreds through MicroSDs and isn't needed
either.
2020-08-11 13:23:55 -06:00
5c72a8acf9
Fixed NoDM and OctoPrint building 2020-08-11 03:18:14 -06:00
d96d6ee980
Added OctoPrint user, improved security, fixed GUI
Added OctoPrint user to run OctoPrint daemon (not implemented yet)
Really removed LightDM
Fixed OctoPrint not building
2020-08-11 02:01:25 -06:00
b94d01cea2
Implemented GUI, build OctoPrint
GUI has been implemented using NoDM
Some files have been shifted to more appropriate stages
Updated the name in NOOBS (although whats the point?)
OctoPrint is now built and installed
Removed LightDM as its a buggy mess
2020-08-11 01:04:29 -06:00
0002aa3bb5
Included the files for the previous commit 2020-08-10 21:49:22 -06:00
42dcfcc588
You know
I already forgot what I changed
2020-08-10 20:39:42 -06:00
6015b1ff18
Initial commit
Nowhere near done
2020-08-10 19:21:33 -06:00
Serge Schneider
9a3a10bf10 stage2: install raspinfo 2020-06-22 05:33:42 +01:00
Serge Schneider
b4ea63c045 Update persistent rkfill files 2020-01-28 12:44:12 +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
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