build: Use HOME env in post-upgrade.sh (#1172)
build: Use HOME env in post-upgrade.sh (#1172)

Remove hardcoded pi strings,
in case we want to run gateway as specific user
(for security and privacy concern).

This was tested as user mozilla on fedora-24,
so I guess it should work same with default "pi" user

Note, systemd service should be updated too

Change-Id: I25c595ee455fbc79d2313bf06601fd8cad6b408c
Signed-off-by: Philippe Coval <e55eb7f5ae8caa4c9c0d2fc7cb5c13ca6c4cd6e0@samsung.com>
moziot/gateway,mozilla-iot/gateway,moziot/gateway,mozilla-iot/gateway,mozilla-iot/gateway,moziot/gateway,mozilla-iot/gateway,mozilla-iot/gateway