Ray Tanaka
aefdb082d0
refactoring to add back write configs script
2018-11-02 15:24:25 -07:00
Ray Tanaka
d758757839
remove command line support and corresponding debugs
2018-11-02 12:25:10 -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
6dc1b79813
bug fix - removing resolv.conf causes dns errors until you reboot. this is safer.
2018-10-31 02:07:18 -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
Ray Tanaka
5e2b081246
only move fake-hwclock.data if it's not already a symlink
...
take out rclone specific logic out of here and move into rclone_archive
2018-10-31 00:25:45 -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
cimryan
f8241bbbba
Make setup_logfile and headless_setup local to setup_progress
2018-10-30 15:30:49 -07:00
cimryan
5443c0a607
Remove vestigial LAST_BACKINGFILES_PARTITION_BYTE variable
2018-10-30 15:25:19 -07:00
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
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
c54c5c26c3
fixing typo
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
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
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
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
Ray Tanaka
01bccb821a
removing another reference to hardcoded directory
2018-10-24 23:54:00 -07:00