opkgc — Generate distribution native packages from opkg
opkgc
[ -h | --help ] [ -V | --version ] [ -u | --supported-dist ]
opkgc
[-q] [-v] [--source] [ -o | --output-dir ] [ -i | --input-dir ] {--dist=targetDist}
opkgc generates distribution native packages (RPM or Debian) from an OSCAR package description.
By default, opkgc must be run from the
opkg directory, i.e. containing
config.xml
file. If not, this directory can
be specified with --input-dir
optional
argument.
-h
Print opkgc options list.
-V
, --version
Print opkgc version and exit.
-u
, --supported-dist
Print list of supported distributions (as for the
--dist
argument).
-v
Increase logging level (can be used several times).
-q
Decrease logging level (can be used several times).
--source
If set, does not build the packages, only generates meta-files.
-o dir
, --output-dir=dir
Generate meta-files and packages in
dir
. Default to current directory.
-i path
, --input-dir=path
Set the opkg directory, i.e. the one
containing config.xml
. Default to
current directory.
--dist=distname
Set the target distribution. Available distributions
list can be obtained with
--supported-dist
argument.
Contains paths to templates and other files opkgc uses. The first of these 3 files found is used.
Written by Jean Parpaillon
<jean.parpaillon@irisa.fr>
and Geoffroy Vallée
<valleegr@ornl.gov>
.
Ported to Python3 by Olivier Lahaye
<olivier.lahaye@cea.fr>
.
From an original idea of Erich Focht.