We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e2b77 commit 8f26ad7Copy full SHA for 8f26ad7
bin/xbps-install/main.c
@@ -61,6 +61,7 @@ usage(bool fail)
61
" This option can be specified multiple times\n"
62
" -r, --rootdir <dir> Full path to rootdir\n"
63
" --reproducible Enable reproducible mode in pkgdb\n"
64
+ " --staging Enable use of staged packages\n"
65
" -S, --sync Sync remote repository index\n"
66
" -u, --update Update target package(s)\n"
67
" -v, --verbose Verbose messages\n"
@@ -118,6 +119,7 @@ main(int argc, char **argv)
118
119
{ "version", no_argument, NULL, 'V' },
120
{ "yes", no_argument, NULL, 'y' },
121
{ "reproducible", no_argument, NULL, 1 },
122
+ { "staging", no_argument, NULL, 2 },
123
{ NULL, 0, NULL, 0 }
124
};
125
struct xbps_handle xh;
@@ -138,6 +140,9 @@ main(int argc, char **argv)
138
140
case 1:
139
141
flags |= XBPS_FLAG_INSTALL_REPRO;
142
break;
143
+ case 2:
144
+ flags |= XBPS_FLAG_USE_STAGE;
145
+ break;
146
case 'A':
147
flags |= XBPS_FLAG_INSTALL_AUTO;
148
bin/xbps-install/xbps-install.1
@@ -154,6 +154,8 @@ The
154
and
155
.Ar repository
156
package objects are not stored in pkgdb.
157
+.It Fl -staging
158
+Enables the use of staged packages from remote repositories.
159
.It Fl r , Fl -rootdir Ar dir
160
Specifies a full path for the target root directory.
161
.It Fl S , Fl -sync
0 commit comments