Commit graph

392 commits

Author SHA1 Message Date
bd1dd3554f
Added MJPG Streamer. OctoPrint now uses Nginx reverse proxy
MJPG streamer has been added to allow for video to work inside of
OctoPrint (url is http://rpi-ip/webcam/)

OctoPrint + MJPG now uses Nginx as a reverse proxy. This is to simpify
the frontend and eventually this will allow me to add HTTPS support

Changed dialogrc background color to black to save eyeballs
2020-08-14 18:20:36 -06:00
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
e41bb81f5e
Added README 2020-08-12 18:39:06 -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
3fe2deca8b
Fixed dumb typo 2020-08-11 02:04:07 -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
e210ea8cd6
Fixed builds, remove dhcpcd
Fixed builds by adding an EXPORT_IMAGE to stage3 (oops)
Removed dhcpcd in favor of networkmanager
2020-08-10 21:47:57 -06:00
0049db4bd7
Changed default browser to surf
Also deleted unneeded Chromium garbage
2020-08-10 20:40:49 -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
f663d4c6d1 Add new changelog entry 2020-06-22 03:54:38 +01:00
Serge Schneider
825107f040 Update release notes 2020-05-19 12:07:30 +01:00
Serge Schneider
b9bb59c237 Bookshelf PDF download 2020-05-13 13:15:07 +01:00
DragonEagle
08fc0b9a82
Exposed RELEASE as a configurable variable (#391)
Exposed RELEASE as a configurable variable and updated README.md.  As a
bonus, there is only on place to change the release name when the next
release is stable now.
2020-02-26 13:36:39 +00:00
Leandro Lisboa Penz
8ef3f47d7f
Dockerfile: use --no-install-recommends in apt-get install (#383) 2020-02-20 17:20:29 +00:00
Tim Visée
65f91b8349
BusyBox realpath does not support -s flag, fallback to use no flags (#384)
* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
2020-02-20 17:20:03 +00:00
Luigi F. Cruz
38d22e976a
Retry apt downloads 3 times
Fixes #194
2020-02-20 17:18:50 +00:00
Serge Schneider
5f884374b6 Update release notes 2020-02-13 15:47:46 +00:00
Serge Schneider
6d71ac0bf9 Update release notes 2020-02-10 16:59:56 +00:00
Serge Schneider
6b72a64f02 Update release notes 2020-02-07 11:19:19 +00:00
Serge Schneider
e577677b62 Update release notes 2020-02-05 15:37:57 +00:00
Serge Schneider
87f7a59cab Update release notes 2020-02-03 13:22:33 +00:00
Serge Schneider
306c7eba3b Update release notes 2020-01-28 12:44:12 +00:00
Serge Schneider
b4ea63c045 Update persistent rkfill files 2020-01-28 12:44:12 +00:00
Serge Schneider
bdbd85892e Update MagPi URL scheme 2020-01-27 15:20:33 +00:00
Serge Schneider
ca31aef1f7 stage5: install code-the-classics 2020-01-24 13:09:04 +00:00
Serge Schneider
0a6624b26d Update ROOT_MARGIN 2020-01-24 12:48:57 +00:00
Serge Schneider
24bb01dec2 Rename HOSTNAME variable to TARGET_HOSTNAME
Bash sets the HOSTNAME variable, overriding our default
2020-01-21 17:45:22 +00:00
Andrew Pattison
f8f3d6fe93 capitalise Raspberry Pi 2020-01-08 12:01:12 +00:00
Andrew Pattison
f9375cdcec README.md - mention WPA_PASSWORD length requirement 2020-01-08 12:01:12 +00:00
Sam Tygier
9d334bee66 WPA_PASSWORD length check should only occur if set
Test if WPA_PASSWORD is set before check that it has a valid length.
2020-01-08 08:59:55 +00:00
Sam Tygier
024840034e Check WPA_PASSWORD length early
WPA_PASSWORD needs to be between 8 adn 63 characters. Check early
to avoid hitting error in stage2.
2020-01-07 08:07:48 +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
9d15c0f7d1 move picraft to stage where minecraft is installed (#362) 2019-12-12 10:15:17 +00:00
RaspberryPiFan
32353a162b Updated info about stage4 and stage5 (#359) 2019-12-09 11:57:26 +00:00
Christian Decker
18c3cebe94 configure unprotected wifi when WPA_PASSWORD is unset (#357) 2019-12-05 15:08:04 +00:00