helium / gateway_mfr

Erlang Manufacturing Suppport Code
Apache License 2.0
15 stars 12 forks source link

move gateway_mfr to another device #8

Closed andrewintw closed 2 years ago

andrewintw commented 2 years ago

once I finish the build. I got a _build/ on the top directory:

root@ ~/gateway_mfr# tree -L 3 _build/
_build/
├── default
│   ├── lib
│   │   ├── clique
│   │   ├── cuttlefish
│   │   ├── ecc508
│   │   ├── ecc_compact
│   │   ├── erl_base58
│   │   ├── erlang_ale
│   │   ├── getopt
│   │   ├── goldrush
│   │   └── lager
│   └── plugins
│       ├── hex_core
│       ├── rebar3_hex
│       ├── rebar_erl_vsn
│       └── verl
└── prod
    ├── bin
    │   └── cuttlefish
    ├── lib
    │   ├── clique -> /root/gateway_mfr/_build/default/lib/clique
    │   ├── cuttlefish -> /root/gateway_mfr/_build/default/lib/cuttlefish
    │   ├── ecc508 -> /root/gateway_mfr/_build/default/lib/ecc508
    │   ├── ecc_compact -> /root/gateway_mfr/_build/default/lib/ecc_compact
    │   ├── erl_base58 -> /root/gateway_mfr/_build/default/lib/erl_base58
    │   ├── erlang_ale -> /root/gateway_mfr/_build/default/lib/erlang_ale
    │   ├── gateway_mfr
    │   ├── getopt -> /root/gateway_mfr/_build/default/lib/getopt
    │   ├── goldrush -> /root/gateway_mfr/_build/default/lib/goldrush
    │   └── lager -> /root/gateway_mfr/_build/default/lib/lager
    ├── plugins
    │   ├── hex_core -> /root/gateway_mfr/_build/default/plugins/hex_core
    │   ├── rebar3_hex -> /root/gateway_mfr/_build/default/plugins/rebar3_hex
    │   ├── rebar_erl_vsn -> /root/gateway_mfr/_build/default/plugins/rebar_erl_vsn
    │   └── verl -> /root/gateway_mfr/_build/default/plugins/verl
    └── rel
        └── gateway_mfr
            ├── bin
            ├── lib
            ├── log
            └── releases

If I want to copy the tool to another device, should I copy all of the _build/ or just _build/prod/rel/gateway_mfr/ to another device?

madninja commented 2 years ago

I would copy it all.

Also I highly recommend using gateway-mfr-rs instead of this repository