From 8523e208fe3355f2a35b028fa3b245a231388ae6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 21 Dec 2008 05:41:17 +0100 Subject: [PATCH] Mention some new recent stuff on BINPKG_REPOSITORY. --HG-- extra : convert_revision : 91043c7be9c32ef9a7d1eb8e98518d90c162fe95 --- doc/BINPKG_REPOSITORY | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/doc/BINPKG_REPOSITORY b/doc/BINPKG_REPOSITORY index 72359065041..74b52a452ff 100644 --- a/doc/BINPKG_REPOSITORY +++ b/doc/BINPKG_REPOSITORY @@ -63,3 +63,46 @@ Here's how the package index plist file shall look like in a repository: ... + +To build binary packages from all currently installed packages in +XBPS_MASTERDIR: + + $ xbps-src.sh build-pkg all + +To generate the repository package index in default location +XBPS_PACKAGESDIR (an additional path can be specified for another +alternate location): + + $ xbps-src.sh genindex + +After this you can add your own local repository with binary packages: + + $ xbps-bin repo-add /path/to/dir + Added repository at /path/to/dir (1.0) with 6 packages. + $ + +Once it's registered, you can start searching/installing/removing +binary packages. You can add multiple repositories, the order for searching +is the same than they were added; check it with: + + $ xbps-bin repo-list + /storage/xbps/binpkgs + /path/to/dir + $ + +The first repository that has the metadata for a package wins, if not found +it will search in all them until it's found. A repository can also be +unregistered from the pool: + + $ xbps-bin repo-rm /path/to/dir + +To show information about available packages in the repository pool: + + $ xbps-bin show package + +To search for binary packages by specifying a string: + + $ xbps-bin search mypkg + +------------------------------------------------------------------------------ + Juan Romero Pardines