Commit Graph

46 Commits

Author SHA1 Message Date
Richard Goodwin
215556acc8 Make HEADLESS variable check local 2018-10-30 15:31:27 -05:00
Richard Goodwin
9e5324f327 Missed a default variable setting
I hate this whole unbound variable protection mode, but it sure does catch bugs. :)
2018-10-30 15:18:23 -05:00
Richard Goodwin
0f8c380f54 trying BACKINGFILES_PARTITION_END_SPEC 2018-10-30 14:51:12 -05:00
Richard Goodwin
e3230483bc Add -s to another parted line 2018-10-30 08:59:57 -05:00
Richard Goodwin
14d1e52a9f Clearer logging message 2018-10-30 08:38:28 -05:00
Richard Goodwin
331721c742 Pass script flag to parted 2018-10-30 08:23:24 -05:00
Richard Goodwin
6201dd91ef More logging in partition creation 2018-10-30 08:15:19 -05:00
cimryan
b34f362ef4 OneStepSetup 2018-10-29 18:53:47 -07:00
cimryan
969d8a4f0e Merge branch 'u/rtgoodwin/headless-patch' into headless-patch 2018-10-28 22:44:11 -07:00
cimryan
4e8f065846 Merge branch 'master' into u/rtanaka/rclone_archive 2018-10-28 19:16:21 -07:00
Ray Tanaka
b43e4d709d making change to leverage the new /mutable directory
updating docs for clarification
2018-10-28 10:15:54 -07:00
Richard Goodwin
b3ab7788cf Updated readme to not use my fork (if this gets merged) 2018-10-27 22:52:07 -05:00
Richard Goodwin
98fab1774c Updated sample conf file 2018-10-27 22:46:07 -05:00
Richard Goodwin
a3457448ad More prep for merge 2018-10-27 22:36:00 -05:00
Richard Goodwin
8e2b69ebbc Prepping for merge to main repo 2018-10-27 22:27:04 -05:00
cimryan
2bd310814c Switch the order of the music and cam backing files in g_mass_storage.conf
This ordering makes the music partition appear in the view in the Tesla.
2018-10-27 09:34:44 -07:00
cimryan
3c7f092419 Merge branch 'u/rtanaka/rclone_archive' of https://github.com/cimryan/teslausb into u/rtanaka/rclone_archive 2018-10-27 08:55:22 -07:00
cimryan
b2111722a7 Create a 100MB "mutable" partition after the backingfiles partition. 2018-10-27 08:54:39 -07:00
cimryan
b45dade31f Merge pull request #65 from rtanaka/rclone_archive
add support for cloud based syncing (e.g. Google Drive) via rclone
2018-10-26 18:05:11 -07:00
Richard Goodwin
965b3533a4 More logging in getting scripts 2018-10-26 12:50:01 -05:00
Richard Goodwin
29466505f7 Now it really is only using LED for setup 2018-10-26 12:15:29 -05:00
Richard Goodwin
6ced0c2c04 Only use LED for headless setup for now 2018-10-26 12:14:29 -05:00
Richard Goodwin
9fee370a2d How many times can I miss the led0 entry 2018-10-26 12:00:32 -05:00
Richard Goodwin
1b5dc5343a Extra log and correct blink pattern 2018-10-26 11:57:39 -05:00
Richard Goodwin
410f5868b5 Wrong LED resource (typo) 2018-10-26 11:36:31 -05:00
Richard Goodwin
f8fd5acbed Optionally use LED for setup progress in either setup mode 2018-10-26 10:40:08 -05:00
Richard Goodwin
697ded0c54 Add a check to ensure archiveserver is set
In headless mode, the image rc.local is used. It should get replaced outside of setup, but replacing it just in case. Only takes action in headless mode.
2018-10-26 10:22:47 -05:00
Richard Goodwin
95d641cd2b Update the baseimage rc.local if needed 2018-10-26 10:07:26 -05:00
Richard Goodwin
1bf8e642bf Typo in function name. 2018-10-26 08:48:56 -05:00
Richard Goodwin
065ddfb24d Better naming of headless_setup functions 2018-10-26 07:59:12 -05:00
Richard Goodwin
11b3f510a5 Variable checks in case populated in conf file 2018-10-26 07:53:42 -05:00
Richard Goodwin
3a03382075 Reworking main setup script
Main setup script rework to support headless
2018-10-26 07:27:26 -05:00
cimryan
13e26f0589 Merge archive-teslacam-clips into archiveloop.
Now that the archiving of clips has been factored out of archive-teslacam-clips there isn't much value in keeping the template method for archiving in a separate file.
2018-10-25 20:32:30 -07:00
cimryan
78194641d4 making suggested change
Co-Authored-By: rtanaka <rtanaka@gmail.com>
2018-10-25 19:00:41 -07:00
cimryan
ccaf252309 Merge pull request #61 from skipfire/master
Doc updates - add wifi, change password; move extra wgets to setup ps1
2018-10-25 18:44:36 -07:00
Ray Tanaka
5dd38ffcb8 Merge branch 'master' of https://github.com/cimryan/teslausb into rclone_archive 2018-10-25 12:46:44 -07:00
Ray Tanaka
4deb1c35b8 add rclone configuration option in main setup script 2018-10-25 12:46:10 -07:00
cimryan
93b7663142 Use values for CIFS vers from the mount.cifs man page. 2018-10-25 07:21:39 -07:00
skipfire
ee039418e6 Move additional wgets into setup ps1 2018-10-25 08:46:18 -05:00
Ray Tanaka
ada91ef7e7 removing a couple more references here too 2018-10-24 23:56:57 -07:00
Ray Tanaka
01bccb821a removing another reference to hardcoded directory 2018-10-24 23:54:00 -07:00
Ray Tanaka
03d4df4127 use BACKINGFILES_MOUNTPOINT in all places for consistency 2018-10-24 23:41:04 -07:00
cimryan
c607860052 Extract common functionality to WpaSupplicantConf.psm1 2018-10-24 22:36:22 -07:00
cimryan
27ed80059b Rename setup-piForHeadlessConfigAddWifi 2018-10-24 21:20:35 -07:00
cimryan
5db24b3af0 Fix references to file locations, and simplify llinux/macos instructions. 2018-10-24 21:19:16 -07:00
cimryan
e875763e58 Separate files into those used for setup and those used at runtime.
Files used for both will go in the run tree.
2018-10-24 20:55:29 -07:00