[haiku-development] Re: Couple of questions about PM

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 07 Oct 2013 01:48:02 +0200

On 10/06/2013 05:31 AM, John Scipione wrote:
I just got package management to work for the first time, so, I've got
a couple of questions.

1. When I try to install an application from a .pkg file, it doesn't
work presumably because it's trying to write to /boot/home/config.
What's the work-around? Can we perhaps change the package installer
app to write to /boot/home/config/non-packaged instead?

I suppose so. Alternatively maybe it could create a HPKG and activate that.

2. Does the package manager provide a means for requiring the user to
agree to a license as a pre-requisite for installing a package? I'm
thinking to create a package to install MS Web Fonts, but, to install
them you must first agree to an EULA.

The package format supports a B_PACKAGE_FLAG_APPROVE_LICENSE flag, but so far the package managers ignore it. I'm also not quite sure whether a global flag per package is sufficient, or whether this might be needed per license. Or maybe there even needs to be a text separate from the license?

3. Now that /boot/common/ is gone, /boot/system/ is where software for
all users is intended to go, but, creating a folder or writing
anything in there causes Tracker to throw up a nasty warning dialog,
can we relax that a bit?

I'm sure we can. :-)

CU, Ingo


Other related posts: