Name

opkgc — Generate distribution native packages from opkg

Synopsis

opkgc [ -h | --help ] [ -V | --version ] [ -u | --supported-dist ]

opkgc [-q] [-v] [--source] [ -o | --output-dir ] [ -i | --input-dir ] {--dist=targetDist}

Description

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.

Options

-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.

Files

./opkgc.conf, ~/.opkgc, /etc/opkgc.conf

Contains paths to templates and other files opkgc uses. The first of these 3 files found is used.

Author

Written by Jean Parpaillon and Geoffroy Vallée . Ported to Python3 by Olivier Lahaye .

From an original idea of Erich Focht.

Reporting Bugs

Report bugs to

Copyright

Copyright (c) 2007 INRIA-IRISA.
Copyright (c) 2007 ORNL.

This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.

See Also

opkg (5)