Using packager

bridged with qdn.public.qnxrtp.porting
Mitchell Schoenbrun

Re: Using packager

Post by Mitchell Schoenbrun » Fri Jun 22, 2001 5:08 pm

Jerry,

This is all very enlightening, I'll try it later today.
The way I've seen this presented so far has been extremely
confusing. I'll try it out later. Is there a document
around explaining .qpk, .qpm, .qpr files? One thing that I'm
finding a little confusing is what can someone do with a
..qpr file if they download it. I haven't found any options
to the package manager to install a single package file. Am
I missing something?

Previously, Jerry Chappell wrote in qdn.public.qnxrtp.porting:
Mitchell Schoenbrun <maschoen@pobox.com> wrote:
Will be created, however they are not put
in my directory "packages".

You're so close....here's the solution.

Packager creates a QPR file by default. If you want to create
a repository, you want QPK/QPM files. Use the -k option to
have packager do this. An alternative is to take your QPR and
do:
tar -zxf my_package.qpr

This will uncompress the QPR (it's just a .tar.gz) into the QPK/
QPM pair of files.

Here's the other solution:
When you have a QPR file, you can pass it directly to
Package Installer with a -u option:
pkg-installer -u my_package.qpr

You could even post your QPR on a web site, so people can
download it without connecting to a repository.

So any of those solutions will solve your problem.

I'm glad it's working for you now.

Jerry Chappell
--
Mitchell Schoenbrun --------- maschoen@pobox.com

Jerry Chappell

Re: Using packager

Post by Jerry Chappell » Mon Jun 25, 2001 12:30 pm

Mitchell Schoenbrun <maschoen@pobox.com> wrote:
This is all very enlightening, I'll try it later today.
The way I've seen this presented so far has been extremely
confusing. I'll try it out later. Is there a document
around explaining .qpk, .qpm, .qpr files? One thing that I'm
finding a little confusing is what can someone do with a
.qpr file if they download it. I haven't found any options
to the package manager to install a single package file. Am
I missing something?
When you download a QPR file, you can pass it directly to
Package Installer with a -u option:
pkg-installer -u my_package.qpr

I'm working on a QDN article explaining how to use packager
and create QPG files (don't ask... ;-) ). It should be available
around the same time as the General Release of 6.1.

Jerry Chappell

Post Reply

Return to “qdn.public.qnxrtp.porting”