1414 Commits

Author SHA1 Message Date
Simone Margaritelli
bbcfae19a7 merge 2019-10-02 19:58:22 +02:00
Simone Margaritelli
cf1558eb29 fix: keep led on to understand when the unit is still alive 2019-10-02 19:58:01 +02:00
Cassiano Aquino
01ed7c417c
change make stage 2019-10-02 18:53:29 +01:00
Cassiano Aquino
00725ae9c7
add make clean 2019-10-02 18:49:12 +01:00
evilsocket
b7776265de
Merge pull request #66 from darumaseye/master
Improved IT translation
2019-10-02 19:48:47 +02:00
Cassiano Aquino
760a94a0fe
move env only to install 2019-10-02 18:46:08 +01:00
Simone Margaritelli
5725d8b239 new: gps coordinates are saved along with handshakes if gps is connected (related to #55) 2019-10-02 19:41:50 +02:00
Cassiano Aquino
4986950ffb
remove debug for ld.so.preload 2019-10-02 18:12:05 +01:00
darumaseye
b7b4e7eb08 Improved IT translation 2019-10-02 19:09:24 +02:00
Cassiano Aquino
2abf3f21fd
remove packages 2019-10-02 18:09:02 +01:00
evilsocket
f6b3f705d3
Merge pull request #62 from massar/noSoptionneeded
The -S option does not exist, as it is automatically detected (OPT_SPARSE)
2019-10-02 19:05:38 +02:00
Cassiano Aquino
fffa3df3ad
override goroot 2019-10-02 18:05:32 +01:00
evilsocket
80e0c2f3ce
Merge pull request #65 from massar/update_dos_crlf
Fix CRLF line endings...
2019-10-02 19:05:26 +02:00
evilsocket
f449498d67
Merge pull request #64 from massar/wv1_4.00
Update waveshare v1 driver to "4.00" aka "2019.07.31"
2019-10-02 19:05:06 +02:00
Jeroen Massar
b948627bd5 Fix CRLF line endings...
Before:
```
bash: ./update_pwnagotchi.sh: /bin/bash^M: bad interpreter: No such file or directory
```

Thus:
```
scripts/update_pwnagotchi.sh: Bourne-Again shell script text executable, ASCII text, with CRLF line terminators

dos2unix: converting file scripts/update_pwnagotchi.sh to Unix format...

scripts/update_pwnagotchi.sh: Bourne-Again shell script text executable, ASCII text
```

Now it works :)
2019-10-02 19:03:50 +02:00
Simone Margaritelli
5ced9c6ecd fixed readme 2019-10-02 19:02:11 +02:00
Simone Margaritelli
47042f0946 new: implemented plugin system (closes #54) 2019-10-02 19:01:07 +02:00
Jeroen Massar
db48b7aa52 Update waveshare v1 driver to "4.00" aka "2019.07.31"
from: https://github.com/waveshare/e-Paper/tree/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd
2019-10-02 18:39:15 +02:00
Cassiano Aquino
9471d722af
specify full path for packer 2019-10-02 17:36:25 +01:00
Cassiano Aquino
956b8c7a67
add output to makefile 2019-10-02 17:30:40 +01:00
Cassiano Aquino
e0ddd0de57
new builder system based on packer/ansible 2019-10-02 17:26:29 +01:00
Jeroen Massar
58edfd2a4b The -S option does not exist, as it is automatically detected (OPT_SPARSE) 2019-10-02 18:25:18 +02:00
evilsocket
00d78248d8
Merge pull request #61 from caquino/revert-58-caquino/new-builder
Revert "initial packer/ansible base builder"
2019-10-02 18:23:48 +02:00
Cassiano Aquino
e8f126b408
Revert "initial packer/ansible base builder" 2019-10-02 17:21:41 +01:00
evilsocket
ae92d5f14c
Merge pull request #58 from caquino/caquino/new-builder
initial packer/ansible base builder
2019-10-02 18:19:37 +02:00
evilsocket
68c9e19775
Merge pull request #60 from massar/initiallogfix
Fix initial non-existent/empty log issue
2019-10-02 18:19:11 +02:00
Jeroen Massar
911c0478ba Fix initial non-existent/empty log issue
Fixes bug where on initial session there is no file, and thus no lines
are read and one thus gets a index out of bounds error as lines is empty...
2019-10-02 18:15:52 +02:00
Cassiano Aquino
894e8de290
try with generic image 2019-10-02 17:11:31 +01:00
Cassiano Aquino
4664790cc5
remove golang from apt 2019-10-02 17:01:58 +01:00
Cassiano Aquino
88fcd399ac
add go get 2019-10-02 16:51:13 +01:00
Cassiano Aquino
f7ef846d67
try adding golang to apt 2019-10-02 16:46:22 +01:00
Cassiano Aquino
a3e149420b
initial packer/ansible base builder 2019-10-02 16:42:28 +01:00
Cassiano Aquino
610bd46572
initial packer/ansible base builder 2019-10-02 16:40:58 +01:00
darumaseye
db5b9a3fae Improved IT translation 2019-10-02 17:24:41 +02:00
evilsocket
9fc2c0aebc
Merge pull request #53 from deveth0/master
Default to 8GB Images
2019-10-02 14:56:43 +02:00
Alex Muthmann
6515df2a98
Default to 8GB images 2019-10-02 14:50:02 +02:00
Alex Muthmann
96816d474c
Default to 8GB images
Currently it's not possible to build images with 4GB, therefor 8GB should be default.
2019-10-02 14:49:39 +02:00
Simone Margaritelli
816ee5771d readme fix 2019-10-02 13:36:47 +02:00
evilsocket
9504f46bd6
Merge pull request #38 from dadav/fix/add_rest_of_emotions
Add rest of emotions
2019-10-02 13:09:43 +02:00
evilsocket
505c616e1d
Merge pull request #40 from justin-p/update_script
Update script
2019-10-02 13:09:30 +02:00
evilsocket
6bd4874d45
Merge pull request #41 from massar/bmap
Enable detection of bmaptool, and if present generate sparse files.
2019-10-02 13:08:45 +02:00
evilsocket
d86946813d
Merge pull request #39 from strasharo/patch-1
Fix for the segmentation fault in qemu
2019-10-02 13:07:25 +02:00
evilsocket
1203d61ef0
Merge pull request #37 from kovachwt/mk-translation
Added MK translation strings
2019-10-02 13:07:02 +02:00
evilsocket
9b5003d8e9
Merge pull request #42 from massar/aptproxy
APT Proxy support
2019-10-02 13:06:37 +02:00
Jeroen Massar
14f1e4bccb Enlarge the created disk to 8G, as it already fails during image creation with out of diskspace 2019-10-02 12:23:30 +02:00
Jeroen Massar
4c20314c90 Update dependencies, as travis needs bmap-tools now to perform CI 2019-10-02 11:57:25 +02:00
Jeroen Massar
4aa2665daf Add -A option so that one can pass in the URL of a APT Proxy (eg apt-cacher-ng) so that rebuilding is much faster 2019-10-02 11:53:18 +02:00
Jeroen Massar
a4e2fe02b6 Enable detection of bmaptool, and if present generate sparse files.
This uses https://github.com/intel/bmap-tools to generate a .bmap file
which can be copied around. The bmaptool allows storing sparse files
onto for instance an SD card, thus avoiding having to transfer the full
disk image every time one burns one.
Thus saving lots of time (and SD card cycles).

This also adds some instructions for then transfering and copying the
sparse file.

bmaptool: info: discovered bmap file '/Users/jeroen/berry.img.bmap'
bmaptool: info: block map format version 2.0
bmaptool: info: 7324219 blocks of size 4096 (27.9 GiB), mapped 1539940 blocks (5.9 GiB or 21.0%)
bmaptool: info: copying image 'berry.img' to file 'rdisk4' using bmap file 'berry.img.bmap'
bmaptool: info: 100% copied
bmaptool: info: synchronizing '/dev/rdisk4'
bmaptool: info: copying time: 6m 49.7s, copying speed 14.7 MiB/sec

versus copying the whole 30G which would take forever...
2019-10-02 11:33:07 +02:00
Justin-p
c784d1b6be Updated README 2019-10-02 10:41:42 +02:00
Justin-p
bc2bca79b5 updated arguments to getopts. Added -m for restart mode. Moved prerequisites checks. 2019-10-02 10:40:16 +02:00