Commit Graph

15 Commits

Author SHA1 Message Date
4c20314c90 Update dependencies, as travis needs bmap-tools now to perform CI 2019-10-02 11:57:25 +02:00
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
21730a82cb Update create_sibling.sh
added ../ to help new users to find the .img after creation. command tested to work to burn image, though I use sudo
2019-10-01 00:05:04 -07:00
4006e45704 Merge pull request #18 from alwayslivid/master
Changed hardcoded paths
2019-09-29 21:26:34 +02:00
feb80fc635 Changed hardcoded paths 2019-09-29 07:26:27 +00:00
83a6e3f45d services cleanup. powersave features and shellcheck fixes 2019-09-29 01:41:49 +01:00
8b9f8bf022 Add travis support 2019-09-28 19:52:45 +02:00
39d42716c7 adding resolv.conf for DNS resolution in chroot 2019-09-27 12:23:47 -05:00
4b16c4c946 Update create_sibling.sh
Fixed a getcwd() error
2019-09-27 18:03:44 +02:00
67c1206276 Fixed bugs and made the script work out-of-the-box for the first time 2019-09-27 13:11:02 +02:00
3b24d27d6b Added ability to provide path to raspbian.img
For people that are testing and don't want to download it again.
2019-09-26 17:15:26 +03:00
ed272f70bf Update create_sibling.sh
Fix for “dependencies checks” flag option.
2019-09-25 19:39:40 -04:00
c76c85b861 Script improvement and bugfixes 2019-09-24 21:32:27 +02:00
5bac6ba5c0 misc: small fix or general refactoring i did not bother commenting 2019-09-24 15:54:41 +02:00
fb3ddfe2ce scripts folder 2019-09-24 15:50:27 +02:00