Commit Graph

46 Commits

Author SHA1 Message Date
cimryan
749de01c97 Allow skipping the package upgrade. 2018-11-03 21:31:58 -07:00
cimryan
2f504c8637 Move the upgrade to the end of setup.
Upgrading will update the kernel, which will require reboot. In particular, cifs mounting won't work until the reboot.
2018-11-03 19:43:02 -07:00
cimryan
06687c3549 Upgrade packages during setup. 2018-11-03 18:38:38 -07:00
cimryan
820d224c28 Put the declaration of setup_progress before its first use. 2018-11-03 18:34:11 -07:00
cimryan
f0b6cae2ea Pass --fail to curl
Ensure that the setup process will stop early if a script can't be retreived.
2018-11-03 10:44:29 -07:00
cimryan
9c37d42b4d Export declarations used in verify-configuration.s 2018-11-03 10:41:33 -07:00
cimryan
aa8e9adbee Configure archiving by default as part of the setup-teslausb script, but make it possible to skip. 2018-11-03 10:11:16 -07:00
cimryan
fe7ab50ab1 Extract verify-configuration.sh from setup-teslausb 2018-11-02 22:44:28 -07:00
cimryan
b9efb5006f Express stage 2 progress in terms of the process rather than the implementation. 2018-11-02 19:52:26 -07:00
cimryan
efdab38530 Move the verification of the available space just after the verification of the variables. 2018-11-02 19:47:29 -07:00
Ray Tanaka
0d682af4bf let's clean up after ourselves 2018-10-31 03:27:26 -07:00
Ray Tanaka
736b960eb7 Merge remote-tracking branch 'upstream/master' 2018-10-31 02:36:20 -07:00
Ray Tanaka
b93550e4de splitting up usb configuration from script and archive configuration / installation. this will allow a user to run configuration multiple times. 2018-10-31 01:42:25 -07:00
cimryan
74808c9541 Make setup_logfile local to setup_progress 2018-10-30 15:36:18 -07:00
cimryan
0588442962 Remove extra declaration and initialization of SETUP_LOGFILE 2018-10-30 15:35:00 -07:00
Richard Goodwin
e3230483bc Add -s to another parted line 2018-10-30 08:59:57 -05:00
Richard Goodwin
6201dd91ef More logging in partition creation 2018-10-30 08:15:19 -05:00
Ray Tanaka
fc1568db61 fixing cifs issue with my last change and reordering so we don't need a separate credential file 2018-10-29 23:59:04 -07:00
Ray Tanaka
ef523f542d making changes to reflect upstream changes 2018-10-29 22:56:11 -07:00
Ray Tanaka
0e016fb176 had a debug echo in there -- making it a log message instead 2018-10-29 22:54:29 -07:00
Ray Tanaka
e543363009 clean up the archive server set up routine 2018-10-29 22:54:29 -07:00
cimryan
969d8a4f0e Merge branch 'u/rtgoodwin/headless-patch' into headless-patch 2018-10-28 22:44:11 -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
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
Ray Tanaka
ada91ef7e7 removing a couple more references here too 2018-10-24 23:56:57 -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