Fix cuckoo_cpu priv dir lookup
This commit is contained in:
parent
74c7f2bb9c
commit
f0326f4b99
@ -264,9 +264,7 @@ optimize_count(MaxC, MaxM) ->
|
|||||||
|
|
||||||
|
|
||||||
platform_dir() ->
|
platform_dir() ->
|
||||||
#{deps := Deps} = zx_daemon:meta(),
|
Priv = cuckoo_cpu:priv(),
|
||||||
AppID = lists:keyfind("cuckoo_cpu", 2, Deps),
|
|
||||||
Priv = filename:join(zx_lib:ppath(lib, AppID), "priv"),
|
|
||||||
Dir =
|
Dir =
|
||||||
case os:type() of
|
case os:type() of
|
||||||
{unix, linux} ->
|
{unix, linux} ->
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
{author,"Craig Everett"}.
|
{author,"Craig Everett"}.
|
||||||
{desc,"Mining client for the Gajumaru Root"}.
|
{desc,"Mining client for the Gajumaru Root"}.
|
||||||
{package_id,{"qpq","gajumine",{0,2,0}}}.
|
{package_id,{"qpq","gajumine",{0,2,0}}}.
|
||||||
{deps,[{"uwiger","gmhive_client",{0,4,0}},
|
{deps,[{"qpq","cuckoo_cpu",{0,3,0}},
|
||||||
|
{"uwiger","gmhive_client",{0,4,0}},
|
||||||
{"uwiger","gmcuckoo",{1,1,1}},
|
{"uwiger","gmcuckoo",{1,1,1}},
|
||||||
{"uwiger","gmhive_worker",{0,3,0}},
|
{"uwiger","gmhive_worker",{0,3,0}},
|
||||||
{"uwiger","gmconfig",{0,1,2}},
|
{"uwiger","gmconfig",{0,1,2}},
|
||||||
{"uwiger","gproc",{1,0,1}},
|
{"uwiger","gproc",{1,0,1}},
|
||||||
{"qpq","cuckoo_cpu",{0,2,0}},
|
|
||||||
{"uwiger","gmhive_protocol",{0,1,1}},
|
{"uwiger","gmhive_protocol",{0,1,1}},
|
||||||
{"uwiger","enoise",{1,3,0}},
|
{"uwiger","enoise",{1,3,0}},
|
||||||
{"uwiger","setup",{2,2,4}},
|
{"uwiger","setup",{2,2,4}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user