summaryrefslogtreecommitdiff
path: root/doc/apk-index.8.scd
blob: bb54f65c7329991f323a16c7c77c0ed260c3d3bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apk-index(8)

# NAME

apk index - create repository index file from packages

# SYNOPSIS

*apk index* [<_options_>...] _packages_...

# DESCRIPTION

*apk index* creates a repository index from a list of package files. See
*apk-repositories*(8) for more information on repository indicies.

Generally, the resulting index must be cryptographically signed before *apk*
will accept it. See *abuild-sign*(1) for details.

# OPTIONS

*-d, --description* _TEXT_
	Add a description to the index. Upstream, this is used to add version
	information based on the git commit SHA of aports HEAD at the time of
	index generation.

*--merge*
	Merge _packages_ into the existing _INDEX_.

*-o, --output* _FILE_
	Output generated index to _FILE_.

*--prune-origin*
	Prune packages from the existing _INDEX_ with same origin as any of
	the new _packages_ during merge.

*-x, --index* _INDEX_
	Read an existing index from _INDEX_ to speed up the creation of the new
	index by reusing data when possible.

*--no-warnings*
	Disable the warning about missing dependencies. This happens when A,
	depends on package B, that does not have a provider in the indexed
	repository.

*--rewrite-arch* _ARCH_
	Set all package's architecture to _ARCH_.