mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
vere: implements --no-dock to disable binary copying/linking
This commit is contained in:
parent
05b817a207
commit
b9404c32e3
@ -197,6 +197,7 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
{ "http-port", required_argument, NULL, c3__http },
|
||||
{ "https-port", required_argument, NULL, c3__htls },
|
||||
{ "no-conn", no_argument, NULL, c3__noco },
|
||||
{ "no-dock", no_argument, NULL, c3__nodo },
|
||||
{ "quiet", no_argument, NULL, 'q' },
|
||||
{ "versions", no_argument, NULL, 'R' },
|
||||
{ "replay-from", required_argument, NULL, 'r' },
|
||||
@ -322,6 +323,10 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
u3_Host.ops_u.con = c3n;
|
||||
break;
|
||||
}
|
||||
case c3__nodo: {
|
||||
u3_Host.ops_u.doc = c3n;
|
||||
break;
|
||||
}
|
||||
case 'R': {
|
||||
u3_Host.ops_u.rep = c3y;
|
||||
return c3y;
|
||||
|
@ -796,6 +796,7 @@
|
||||
# define c3__noah c3_s4('n','o','a','h')
|
||||
# define c3__nock c3_s4('n','o','c','k')
|
||||
# define c3__noco c3_s4('n','o','c','o')
|
||||
# define c3__nodo c3_s4('n','o','d','o')
|
||||
# define c3__none c3_s4('n','o','n','e')
|
||||
# define c3__noop c3_s4('n','o','o','p')
|
||||
# define c3__nop c3_s3('n','o','p')
|
||||
|
@ -310,6 +310,7 @@
|
||||
c3_c* puk_c; // -Y, scry result filename
|
||||
c3_c* puf_c; // -Z, scry result format
|
||||
c3_o con; // run conn
|
||||
c3_o doc; // dock binary in pier
|
||||
} u3_opts;
|
||||
|
||||
/* u3_host: entire host.
|
||||
|
@ -1451,7 +1451,9 @@ u3_king_done(void)
|
||||
|
||||
// copy binary into pier on boot
|
||||
//
|
||||
if ( c3y == u3_Host.ops_u.nuu ) {
|
||||
if ( (c3y == u3_Host.ops_u.nuu)
|
||||
&& (c3y == u3_Host.ops_u.doc) )
|
||||
{
|
||||
c3_c* pac_c;
|
||||
|
||||
// hack to ensure we only try once
|
||||
|
Loading…
Reference in New Issue
Block a user