Add pkg metadata into /var/cache/xbps/metadata and not /xbps-metadata.
With this change it's possible to use a binary package just by unpacking it into the destination directory. --HG-- extra : convert_revision : 5f025a5e5d7593555fa55d08d5652c26736a139e
This commit is contained in:
@@ -6,13 +6,15 @@ with gzip, bzip2 or lzma and has the following structure:
|
||||
/var ------| => Package structure that will be installed.
|
||||
/etc ------|
|
||||
...
|
||||
/xbps-metadata
|
||||
/xbps-metadata/flist
|
||||
/xbps-metadata/props.plist
|
||||
/xbps-metadata/postpre-action.sh
|
||||
/var/cache/xbps/metadata/$pkgname
|
||||
/var/cache/xbps/metadata/$pkgname/flist
|
||||
/var/cache/xbps/metadata/$pkgname/props.plist
|
||||
/var/cache/xbps/metadata/$pkgname/postpre-action.sh
|
||||
|
||||
The xbps-metadata directory contains all the metadata related to this
|
||||
package. The flist file contains the list of files that the package will
|
||||
Metadata info is stored in the "/var/cache/xbps/metadata/$pkgname"
|
||||
directory and two files will be always be present: flist and props.plist.
|
||||
|
||||
The flist file contains the list of files that the package will
|
||||
install. The props.plist file is a proplib(3) property list and
|
||||
has the following structure:
|
||||
|
||||
@@ -36,5 +38,5 @@ has the following structure:
|
||||
|
||||
This plist might be extended in the future if it's required or useful.
|
||||
|
||||
The postpre-action.sh script will be run as specified in the script,
|
||||
and will do post/pre installation steps required for this package.
|
||||
Additional scripts might be added to trigger some actions at pre/post
|
||||
installation stages.
|
||||
|
||||
Reference in New Issue
Block a user