1401 Commits

Author SHA1 Message Date
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
Justin-p
cd5be9c4cd Add /boot. Redo help. Replaced --commit/--branch with --version. Added --url to easly switch to other fork for testing 2019-10-02 10:14:26 +02:00
Justin-p
a495ffb136 Add update script 2019-10-02 00:29:14 +02:00
strasharo
30744a8dd5
Fix for the segmentation fault in qemu
Without this I'm getting a constant segmentation fault when running go under qemu on Fedora 30:

+ export GOPATH=/root/go
+ GOPATH=/root/go
+ go get -u github.com/bettercap/bettercap
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
bin/bash: line 52: 23146 Segmentation fault      (core dumped) go get -u github.com/bettercap/bettercap

https://bugs.launchpad.net/qemu/+bug/1696773
2019-10-01 23:52:59 +03:00
Andreas Kupfer
d3a8dc85c3 add support for 3 colored Waveshare-Display 2019-10-01 22:10:20 +02:00
dadav
a004125bde Add rest of emotions 2019-10-01 21:52:35 +02:00
kovach
cb0100a878 add mk translation strings 2019-10-01 21:15:34 +02:00
Simone Margaritelli
8c840f9c82 fix 2019-10-01 20:18:09 +02:00
Simone Margaritelli
efc1997f02 antani 2019-10-01 20:16:23 +02:00
evilsocket
3c95566dfb
Merge pull request #36 from nicesocket/master
Update main.py to use correct displays for --clear
2019-10-01 20:15:00 +02:00
nicesocket
c3d19d8c36
Merge pull request #1 from nicesocket/nicesocket-patch-1
Make sure to clear with the correct parameters for the configured display
2019-10-01 19:39:35 +02:00
nicesocket
cfd3f6dbc0
Make sure to clear with the correct parameters for the configured display
The former versions always used the V2-Controls which effectively destroys V1-Boards.
2019-10-01 19:38:52 +02:00
Simone Margaritelli
7739ed805e fix 2019-10-01 19:38:09 +02:00
Simone Margaritelli
b502912d7f fixed preview script 2019-10-01 18:56:27 +02:00