diff options
| author | Antoine Amarilli <a3nm@a3nm.net> | 2017-10-25 11:17:50 +0200 |
|---|---|---|
| committer | Antoine Amarilli <a3nm@a3nm.net> | 2017-10-25 11:17:50 +0200 |
| commit | dff4a405344a9a1dd9caef8c9298b7dff9d3cc3a (patch) | |
| tree | 9345a3cadab9388a69afd2d1d93042f1c6b28743 | |
| parent | 5d5fca879430daba9db7b81d729f3ab1482e0870 (diff) | |
clean the environment but keep important variables
building the image fails otherwise (encoding issues, missing PATH,
etc.); took invocation from https://unix.stackexchange.com/a/49057
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ issuing the following: ```shell umask 022 -sudo env -i ./vmdb2/vmdb2 --output raspi3.img raspi3.yaml --log raspi3.log +sudo env -i HOME="$HOME" LC_CTYPE="${LC_ALL:-${LC_CTYPE:-$LANG}}" PATH="$PATH" USER="$USER" \ + ./vmdb2/vmdb2 --output raspi3.img raspi3.yaml --log raspi3.log ``` ## Installing the image onto the Raspberry Pi 3 |
