[haiku-bugs] Re: [Haiku] #11502: Package management: implement the ability to write data out of read only directories

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Sat, 22 Nov 2014 19:28:38 -0000

#11502: Package management: implement the ability to write data out of read only
directories
--------------------------------------+----------------------------
   Reporter:  Giova84                 |      Owner:  bonefish
       Type:  enhancement             |     Status:  closed
   Priority:  low                     |  Milestone:  R1
  Component:  Servers/package_daemon  |    Version:  R1/Development
 Resolution:  no change required      |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  0                       |   Platform:  x86
--------------------------------------+----------------------------

Comment (by Giova84):

 Replying to [comment:2 bonefish]:
 > Replying to [ticket:11502 Giova84]:
 > > In this page [https://dev.haiku-os.org/wiki/PackageManagement/TODO]
 I've read that someday the package system will get rid of these
 post_install scripts,
 >
 > That is not what the TODO item means. It refers to the post_install
 scripts that the Haiku build system installs ("default_deskbar_items.sh"
 and "add_catalog_entry_attributes.sh"). Those tasks can be performed by
 the build system and shouldn't use post_install scripts at all.
 >

 Sorry, i misunderstood, since also the "post_install" scripts are present
 in packages building.


 > I don't really see what this has to do with packages at all. When
 creating/customizing the image for the customer, you can just copy the
 settings and other data, create desktop symlinks, etc. at your heart's
 desire. If you really need to provide you customization via a package (for
 whatever reason) you can use the post_install script mechanism (it won't
 go away anytime soon, respectively will only be replaced by an at least
 equally powerful mechanism).

 And in facts is what I do :-)
 The reason is that HPKG files (with post_install scripts) are able to
 provide, in a simple way, updates or changes in needed configuration.
 "Just install this file and everything will be as you currently needs".

 Thank you for your reply.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11502#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: