[haiku-bugs] [Haiku] #11466: Package management: define the install location

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Fri, 14 Nov 2014 02:40:49 -0000

#11466: Package management: define the install location
------------------------------------+------------------------------
 Reporter:  Giova84                 |        Owner:  bonefish
     Type:  enhancement             |       Status:  new
 Priority:  normal                  |    Milestone:  R1
Component:  Servers/package_daemon  |      Version:  R1/Development
 Keywords:                          |   Blocked By:
 Blocking:                          |  Has a Patch:  0
 Platform:  All                     |
------------------------------------+------------------------------
 Currently, when we install an application through HaikuDepot, the HPKG
 file, by default, will be installed under /system/packages.
 To choose instead /config/packages as install location, we can rely on
 pkgman, by invoking it as:


 {{{
 pkgman install -H appname
 }}}


 Well, an user may obviously decide where to install applications on his
 system, even if it were possible through HaikuDepot, but wouldn't be
 nice/useful, for packagers/coders having the ability to define inside the
 .PackageInfo file, the default install location? I think, in this regard,
 about those apps which rely about B_USER_CONFIG_DIRECTORY,
 B_USER_APPS_DIRECTORY and any other B_USER_* directory. The same
 consideration would be equal for those apps which is preferable install
 under /system.

 So the proposal of this enhancement is about add something like to
 .PackageInfo:


 {{{
 install-location {
         "home"
 }

 or

 install-location {
         "system"
 }

 }}}

 Any thoughts?

--
Ticket URL: <https://dev.haiku-os.org/ticket/11466>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: