Commit Graph

376 Commits

Author SHA1 Message Date
Bob Mottram 2a3c1bb429 Begin combining mesh install functions 2016-07-12 08:27:11 +01:00
Bob Mottram 94b3b80aa9 Moving apps to share 2016-07-06 19:45:58 +01:00
Bob Mottram 9ce622b5bd
Project name 2016-07-06 09:31:13 +01:00
Bob Mottram 09bc799226 Install functions 2016-07-05 08:22:33 +01:00
Bob Mottram 998274090f More script replacements 2016-07-03 17:45:55 +01:00
Bob Mottram cc61a80f97 More links to the tox app script 2016-07-03 17:36:17 +01:00
Bob Mottram f1571e14d7 Get toxid repo from app script 2016-07-03 17:34:45 +01:00
Bob Mottram 68ad1e07a5 Get toxcore repo from app script 2016-07-03 17:33:52 +01:00
Bob Mottram b77141a7e8 Get tox port from app script 2016-07-03 17:33:03 +01:00
Bob Mottram b9e1e4b72d Get toxcore commit from app script 2016-07-03 17:31:56 +01:00
Bob Mottram 5a2b0c0b1a batman not a oneshot 2016-06-26 12:38:55 +01:00
Bob Mottram 6863f6413b Restart batman daemon on failure 2016-06-26 10:02:18 +01:00
Bob Mottram 2bff9487f5 Change zeronet directory 2016-06-25 23:46:05 +01:00
Bob Mottram 94fc4e44d8 Icon names 2016-06-25 22:38:08 +01:00
Bob Mottram 4c2c0ebc36 Fix path 2016-06-25 20:08:59 +01:00
Bob Mottram f26202a3b7 Add web server to mesh images 2016-06-25 16:51:04 +01:00
Bob Mottram 2fb249e6ef Mesh client browser icon 2016-06-25 13:08:31 +01:00
Bob Mottram a440fc4acd terminal icon 2016-06-25 12:47:55 +01:00
Bob Mottram 997217983c Abandon empty password 2016-06-25 12:44:32 +01:00
Bob Mottram e89f9bc5f5 Move dconf command to mesh startup script 2016-06-25 11:01:58 +01:00
Bob Mottram 91c3974c6a dbus x11 2016-06-25 10:35:03 +01:00
Bob Mottram 9fe7188d63 Add dbus 2016-06-25 10:13:43 +01:00
Bob Mottram 681b0dbc1e dconf packages 2016-06-25 09:49:16 +01:00
Bob Mottram b5db6f0bb1 Disable screen lock on mesh clients 2016-06-25 09:37:15 +01:00
Bob Mottram 36a76be76e desktop icons 2016-06-24 23:53:25 +01:00
Bob Mottram e1933a37ca Order 2016-06-24 21:33:11 +01:00
Bob Mottram ee2b4ee261 Create desktop directory 2016-06-24 21:13:02 +01:00
Bob Mottram f862a19a02 Paths 2016-06-24 20:50:06 +01:00
Bob Mottram 16bd57f871 Terminal icon on mesh desktop 2016-06-24 19:22:23 +01:00
Bob Mottram 447db8b10b Autostart tox UI on mesh client 2016-06-24 18:45:52 +01:00
Bob Mottram a57c207750 Fix mesh client desktop background 2016-06-24 16:32:47 +01:00
Bob Mottram dc0d04ca1d Enable batman daemon on mesh client 2016-06-24 16:03:06 +01:00
Bob Mottram f95cef531d Mesh client boots to X 2016-06-24 15:36:39 +01:00
Bob Mottram d840fc68cd automatic login 2016-06-24 15:24:16 +01:00
Bob Mottram ac39c27ec8 motd for mesh clients 2016-06-24 12:20:05 +01:00
Bob Mottram 849ed3ead5 Use nodm on mesh clients, so there's no login screen 2016-06-24 09:59:38 +01:00
Bob Mottram 0645f82d30 Stick with default login for mesh clients 2016-06-23 23:12:32 +01:00
Bob Mottram 56ebd42876 Install mesh UI desktop background 2016-06-23 22:16:32 +01:00
Bob Mottram 5d952c5f66 Add lightdm to mesh/usb installs 2016-06-23 17:15:03 +01:00
Bob Mottram d21ef490ff Fixing mesh variant images 2016-06-23 13:56:02 +01:00
Bob Mottram 3e1f751b01 Import tox and syncthing public keys 2016-06-23 13:10:34 +01:00
Bob Mottram 48cee051ab Optionally install proprietary firmware for wifi on mesh variants 2016-06-23 11:04:04 +01:00
Bob Mottram 201d2cb0ca meshusb variant 2016-06-23 10:47:26 +01:00
Bob Mottram 849ee8dbec
qtox repo only works with certain architectures 2016-06-10 11:43:17 +01:00
Bob Mottram 0f7bad4a0b Beginning of usb client 2016-06-08 22:14:19 +01:00
Bob Mottram 4f4354ba19 Check that toxid gets installed 2016-06-07 09:48:33 +01:00
Bob Mottram ee2dd373ef
Beginning of usb client builds with user interfaces 2016-06-06 17:31:23 +01:00
Bob Mottram 0e91aafbbf Pass through the minimum password length when creating an image 2016-06-04 17:39:26 +01:00
Bob Mottram 152360ab96 Standardise password lengths 2016-06-04 14:25:46 +01:00
Bob Mottram b3114fc58e Set the hostname for mesh peers 2016-05-30 21:05:03 +01:00
Bob Mottram a82f68abe4 toxcore directory 2016-05-30 17:49:45 +01:00
Bob Mottram 0f3cd4b7d5 Move systemd commands 2016-05-30 15:37:58 +01:00
Bob Mottram bf11e3c6fd No reload 2016-05-30 15:07:29 +01:00
Bob Mottram 181eaa5d96 Change toxcore daemon 2016-05-30 14:36:02 +01:00
Bob Mottram efae204a4b Move daemon copy 2016-05-30 14:32:14 +01:00
Bob Mottram 8da1ff40a3 Scriptifying more things 2016-05-30 13:56:05 +01:00
Bob Mottram 230479b7e0 directory 2016-05-30 13:15:17 +01:00
Bob Mottram 2ef92742a5 Root 2016-05-30 12:52:48 +01:00
Bob Mottram 00b406144c Script name 2016-05-30 11:52:59 +01:00
Bob Mottram 7a1637daeb Script to install toxcore 2016-05-30 11:39:43 +01:00
Bob Mottram 23deff9409 no need to cd 2016-05-29 16:11:58 +01:00
Bob Mottram 68b0ae84a8 Compile toxid on mesh nodes 2016-05-29 14:12:57 +01:00
Bob Mottram 2d4dea010d Typo 2016-05-28 17:03:36 +01:00
Bob Mottram 67a9eccb9b chown in chroot 2016-05-28 16:23:05 +01:00
Bob Mottram d07212b118 Tidying 2016-05-28 15:17:27 +01:00
Bob Mottram 043862ec9a Compile toxcore and toxic on mesh nodes
This does result in a delay before fully operational but avoids needing to cross compile while building the image, which adds complexity
2016-05-28 15:13:03 +01:00
Bob Mottram a83bf3e8ca Set variant during image build 2016-05-28 13:43:05 +01:00
Bob Mottram ff69150655 Remove unused parameters 2016-05-28 12:28:00 +01:00
Bob Mottram 1089939777 Move mesh install functions
Otherwise dns lookups fail
2016-05-28 12:16:00 +01:00
Bob Mottram ad501c1083
Revert "Try with no su"
This reverts commit 411e3834e5.
2016-05-27 16:41:17 +01:00
Bob Mottram 411e3834e5
Try with no su 2016-05-27 15:38:49 +01:00
Bob Mottram e48004d3d4
Initialise mesh 2016-05-27 14:18:02 +01:00
Bob Mottram c8b1d70450 Document wifi setup when creating images 2016-05-13 18:19:34 +01:00
Bob Mottram 1c80216623
Deal with the aftermath of aggressive-indent 2016-04-28 14:36:45 +01:00
Bob Mottram e2f66dcb6c
Wifi 2016-04-28 14:05:37 +01:00
Bob Mottram f01e792ce1
Install monkeysphere 2016-04-28 09:58:38 +01:00
Bob Mottram 0e465fa575 wifi menu 2016-04-26 22:38:03 +01:00
Bob Mottram 2b14e18748 Can use wifi networks config file from the image builder 2016-04-26 20:00:30 +01:00
Bob Mottram ddc7f1a7bb
Can configure wifi from image builder 2016-04-26 15:41:35 +01:00
Bob Mottram c363cb9c18
Add wireless tools 2016-04-26 09:44:42 +01:00
Bob Mottram 4313994beb For debian-only image don't add a motd 2016-03-30 16:33:12 +01:00
Bob Mottram bb8b0c9c2d Debian only image creation 2016-03-30 10:35:07 +01:00
Bob Mottram 889c9c757e Reorganizing mesh 2016-03-15 17:48:44 +00:00
Bob Mottram b2cd70d820 More translations 2016-02-17 15:49:10 +00:00
Bob Mottram 39471b466f Move to AGPLv3 license #63 2016-02-13 22:09:27 +00:00
Bob Mottram de97e32c36 Clean before installing packages 2016-01-28 10:11:28 +00:00
Bob Mottram 597374cf8c Support for A20-olinuxino-lime 2016-01-28 09:45:49 +00:00
Bob Mottram 73f46bdc99 Make the main project repo customisable
So that we're not dependent on github
2016-01-25 17:45:37 +00:00
Bob Mottram bee3da28bc Mesh install 2016-01-16 23:44:04 +00:00
Bob Mottram 1657653079 Mesh install zeronet 2016-01-16 14:52:16 +00:00
Bob Mottram 5099ec9143 mesh firewall 2016-01-15 14:41:59 +00:00
Bob Mottram 7bc0e8db17 Beginning of mesh toxcore 2016-01-14 18:00:25 +00:00
Bob Mottram a8d6ffa091 Beginning of mesh setup 2016-01-14 17:45:02 +00:00
Bob Mottram f7e8d478b7 su 2016-01-12 10:05:23 +00:00
Bob Mottram 1b1f2258dc schroot 2016-01-12 09:20:12 +00:00
Bob Mottram b839470beb quotes 2016-01-11 17:24:18 +00:00
Bob Mottram ebf5844b4b mesh install 2016-01-11 17:06:59 +00:00
Bob Mottram 064bbf0516 Indentation 2016-01-11 11:28:18 +00:00
Bob Mottram 29bb1348f5 Mesh router setup 2016-01-11 11:27:08 +00:00
Bob Mottram b2305bf00b Message at the end of install 2016-01-08 17:32:54 +00:00
Bob Mottram ca24a885d2 Avoid reprocessing bashrc 2016-01-05 17:43:02 +00:00
Bob Mottram bae3bcc43e Wait for a specific keypress 2016-01-05 11:16:11 +00:00
Bob Mottram f946926c19 If installation fails then wait for a key press 2016-01-04 17:33:05 +00:00
Bob Mottram af30aa2689 Onion-only installations from image 2015-12-31 13:21:46 +00:00
Bob Mottram d074b0c3b9 use avahi for the default domain name on onion only installs 2015-12-31 12:00:55 +00:00
Bob Mottram 010f725ebf Mesh deployment 2015-12-24 19:04:17 +00:00
Bob Mottram 578a2bf357 Sequence 2015-12-22 11:43:07 +00:00
Bob Mottram 0ae95110d2 install atheros wifi into image 2015-12-22 11:07:00 +00:00
Bob Mottram b5d62545be Option to change the ssh port used by images 2015-12-04 12:09:07 +00:00
Bob Mottram f9d31dbdbb Interactive selection of language 2015-12-03 15:27:14 +00:00
Bob Mottram f5979fcd7a All locales 2015-12-03 15:06:12 +00:00
Bob Mottram 6a56893b47 Remove default user after installation 2015-12-03 14:40:38 +00:00
Bob Mottram af4c434ed1 Mailbox install message 2015-12-02 20:03:52 +00:00
Bob Mottram 8614f4b683 Change locations for configuring locales 2015-12-02 16:19:03 +00:00
Bob Mottram 1a98910b82 Message after install 2015-12-02 15:57:32 +00:00
Bob Mottram e7b6f13e9b Setting language 2015-12-02 14:33:56 +00:00
Bob Mottram 51b01f6fce Update before continuing install 2015-12-01 20:52:27 +00:00
Bob Mottram 7b6ef9755f Project name 2015-12-01 08:32:30 +00:00
Bob Mottram 3987268027 Minimise the number of decisions during interactive install 2015-11-30 14:25:09 +00:00
Bob Mottram 0dfa5a608f Set the avahi hostname when making an image 2015-11-29 16:20:20 +00:00
Bob Mottram 6227eb6f63 Install ntp in image 2015-11-29 15:00:10 +00:00
Bob Mottram b8d8036a3e Support manpages in image 2015-11-29 14:58:14 +00:00
Bob Mottram 3eb0cfb21f Install nano for minimal editing capability 2015-11-29 14:32:36 +00:00
Bob Mottram 5e3efcc0e2 Comment 2015-11-29 11:34:57 +00:00
Bob Mottram 44f6375131 translation command names 2015-11-27 16:52:23 +00:00
Bob Mottram ef9fcb946d Preparing for international strings 2015-11-27 15:29:43 +00:00
Bob Mottram 6fc3017853 Prepare for translations 2015-11-27 11:42:16 +00:00
Bob Mottram 873204bba6 Add ping command to image 2015-11-26 22:08:44 +00:00
Bob Mottram 94e6f86e54 Line length 2015-11-26 21:43:48 +00:00
Bob Mottram ad36c2a219 Don't remove initial ssh host keys - they will be regenerated during install 2015-11-26 20:32:00 +00:00
Bob Mottram 795f7750ab Tidying 2015-11-26 17:40:37 +00:00
Bob Mottram cbd1f8a6bc Irrelevant comments 2015-11-26 17:30:56 +00:00
Bob Mottram 4955a7fe82 Unused file 2015-11-26 17:26:45 +00:00
Bob Mottram c06899dcaa Some speculative changes to support cubieboard2 image builds 2015-11-26 16:36:10 +00:00
Bob Mottram c539cb2cf4 Dependencies 2015-11-25 09:51:35 +00:00
Bob Mottram b88f433a8e Password in large letters 2015-11-24 16:54:43 +00:00
Bob Mottram 2fb0ed4bd9 Check if installation was started before deleting initial files 2015-11-24 15:47:24 +00:00
Bob Mottram cba4e8ab8b Tidying 2015-11-24 14:56:44 +00:00
Bob Mottram d6d00373bc Avoid carriage return 2015-11-24 14:14:07 +00:00
Bob Mottram 0406b5543d Saving the generated password 2015-11-24 12:08:55 +00:00
Bob Mottram af1f72a7a4 Show generated password using dialog 2015-11-24 10:51:48 +00:00
Bob Mottram 49593d8436 Entropy check before password generation 2015-11-24 10:22:55 +00:00
Bob Mottram 11ea8d45a7 Password file 2015-11-23 22:27:32 +00:00
Bob Mottram 0b0e2c85c7 clear 2015-11-23 22:19:17 +00:00
Bob Mottram f010abb159 Rearrange initial setup 2015-11-23 22:03:17 +00:00
Bob Mottram 961cf68f58 chown 2015-11-23 21:14:12 +00:00
Bob Mottram 304eabc52f Improving initial login to generic image 2015-11-23 20:43:43 +00:00
Bob Mottram e8f4133bc4 echo to the right script 2015-11-23 17:47:53 +00:00
Bob Mottram 8c7929e4b0 rootdir 2015-11-23 17:08:31 +00:00
Bob Mottram 4ede9b7028 Path correction 2015-11-23 16:36:03 +00:00
Bob Mottram ace1114013 Don't initially change network settings for generic image 2015-11-23 16:30:31 +00:00
Bob Mottram 4202582083 touch 2015-11-23 16:08:59 +00:00
Bob Mottram 2294979689 Random initial image password 2015-11-23 15:04:05 +00:00
Bob Mottram a4aca5ddbc Generate a random initial password for images 2015-11-23 14:24:31 +00:00
Bob Mottram 972d4546ff Install avahi on image 2015-11-23 14:06:19 +00:00
Bob Mottram ec1c284069 Two stage initial setup for generic images 2015-11-23 12:04:37 +00:00
Bob Mottram 9b3263767c Missing rootdir 2015-11-23 11:26:04 +00:00
Bob Mottram 30b7745896 sudo 2015-11-23 11:16:04 +00:00
Bob Mottram ae7169e88f Generic image setup 2015-11-23 10:33:45 +00:00
Bob Mottram 1ac5bfe548 qemu support 2015-11-22 22:52:59 +00:00
Bob Mottram 049808981e More helpful motd 2015-11-22 13:52:42 +00:00
Bob Mottram 14e95ca957 Ensure that the admin user can initially sudo 2015-11-22 13:43:23 +00:00
Bob Mottram 4d3371694a Tidying 2015-11-22 13:07:48 +00:00
Bob Mottram d5fb8076ba functions 2015-11-22 11:12:38 +00:00
Bob Mottram b83fe5aa24 functions 2015-11-22 11:05:24 +00:00
Bob Mottram 48b8940d54 Ensure that the expected port is used 2015-11-21 15:47:44 +00:00
Bob Mottram cc6dff68ed Option to use an ssh pubkey during image creation 2015-11-21 14:33:39 +00:00
Bob Mottram 47b1a8c6cc Ensure that openssh-server is installed 2015-11-21 13:49:00 +00:00
Bob Mottram 6a2019dfc9 Tidying 2015-11-21 13:12:31 +00:00
Bob Mottram d3414046a8 Set config filename in temporary script 2015-11-21 12:59:19 +00:00
Bob Mottram 699c77122a If a configuration file is supplied then run it at the end of image generation 2015-11-21 11:56:40 +00:00
Bob Mottram 71503f2297 License headers 2015-11-21 11:25:32 +00:00
Bob Mottram 3239da7be5 Check if the image was created 2015-11-21 10:29:10 +00:00
Bob Mottram 5574fe2244 bash 2015-11-20 23:54:24 +00:00
Bob Mottram 4fccf12c69 Improve the image command 2015-11-20 21:43:03 +00:00
Bob Mottram 0f91280e28 Make a debian image
Based on freedom-maker with proprietary
stuff removed
2015-11-20 16:09:21 +00:00