Improve BINPKG_INFO/REPOSITORY doc files.
--HG-- extra : convert_revision : 7a09f2d04e98d26d13b6a632e3c91eabe61af341
This commit is contained in:
parent
68d2bbe8fb
commit
3bb459b493
2 changed files with 6 additions and 5 deletions
|
@ -56,9 +56,10 @@ has the following structure:
|
||||||
...
|
...
|
||||||
</dict>
|
</dict>
|
||||||
|
|
||||||
This plist might be extended in the future; additional scripts might be
|
The prepost-action is an executable script/command that allows you to
|
||||||
added to trigger actions at pre/post installation/removal of the
|
trigger any action at pre/post installation/removal of the binary
|
||||||
binary package.
|
package. If return value is not 0, the package won't be registered into
|
||||||
|
the database.
|
||||||
|
|
||||||
The package's dictionary will also be written into the repository's package
|
The package's dictionary will also be written into the repository's package
|
||||||
index file, that describes information about a binary package on it.
|
index file, that describes information about a binary package on it.
|
||||||
|
|
|
@ -67,13 +67,13 @@ Here's how the package index plist file shall look like in a repository:
|
||||||
To build binary packages from all currently installed packages in
|
To build binary packages from all currently installed packages in
|
||||||
XBPS_MASTERDIR:
|
XBPS_MASTERDIR:
|
||||||
|
|
||||||
$ xbps-src.sh build-pkg all
|
$ xbps-src build-pkg all
|
||||||
|
|
||||||
To generate the repository package index in default location
|
To generate the repository package index in default location
|
||||||
XBPS_PACKAGESDIR (an additional path can be specified for another
|
XBPS_PACKAGESDIR (an additional path can be specified for another
|
||||||
alternate location):
|
alternate location):
|
||||||
|
|
||||||
$ xbps-src.sh genindex
|
$ xbps-src genindex
|
||||||
|
|
||||||
After this you can add your own local repository with binary packages:
|
After this you can add your own local repository with binary packages:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue