diff options
author | drtyhlpr <its_sead4@gmx.de> | 2015-12-13 21:07:57 +0100 |
---|---|---|
committer | drtyhlpr <its_sead4@gmx.de> | 2015-12-13 21:07:57 +0100 |
commit | 2f9424e87ca9b40d4e4c3914e65a913815a92a05 (patch) | |
tree | 05c7bb1e940ebbd98f4077eee161813cb1448277 | |
parent | 6886714e19421469f69b6f7a2a5487adab4e0de8 (diff) | |
download | rpi2-gen-image-2f9424e87ca9b40d4e4c3914e65a913815a92a05.tar.gz rpi2-gen-image-2f9424e87ca9b40d4e4c3914e65a913815a92a05.tar.bz2 rpi2-gen-image-2f9424e87ca9b40d4e4c3914e65a913815a92a05.zip |
Added: Logging of the bootstrapping process
section about logging to output file
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -76,11 +76,18 @@ Enable iptables IPv4/IPv6 firewall ##### `ENABLE_HARDNET`=false Enable IPv4/IPv6 network stack hardening settings +## Logging of the bootstrapping process +All information related to the bootstrapping process and the commands executed by the `rpi2-gen-image.sh` script can easily be saved into a logfile. The common shell command `script` can be used for this purpose: + +```shell +script -c 'APT_SERVER=ftp.de.debian.org ./rpi2-gen-image.sh' ./build.log +``` + ## Flashing the image file After the image file was succesfully created by the `rpi2-gen-image.sh` script it can be copied to the microSD card that will be used by the RPi2 computer. This can be performed by using the tools `bmaptool` or `dd`. Using `bmaptool` will probably speed-up the copy process because `bmaptool` copies more wisely than `dd`. #####Flashing examples: ```shell bmaptool copy ./images/jessie/2015-12-13-debian-jessie.img /dev/mmcblk0 -dd bs=4M if=./images/jessie/2015-12-13-debian-jessie.img of=/dev/mmcblk +dd bs=4M if=./images/jessie/2015-12-13-debian-jessie.img of=/dev/mmcblk0 ``` |