[haiku-development] Re: replacing runtime_loader

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 16 Mar 2016 10:55:42 +0100

On 16.03.2016 01:23, Tim Kelly wrote:

Again, thank you to everyone that has contributed information and
knowledge in response to my questions.  I would like to replace the
stock runtime_loader with one that returns the specific error code from
_kernel_reserve_address_range.  However, this does not appear to be
trivial.  I've compiled runtime_loader with the change I would like, but
I am not able to discern how to replace the system one with the compiled
one.  I'd prefer to avoid building an entire image and reinstalling.  Is
there some documentation on replacing individual system files (not
add-ons)?

You don't have to replace the complete haiku package. You can build a package that contains your runtime loader and deploy it in /system/packages. When your runtime_loader file's modified time is newer than the one of the system package, it will replace the latter.

CU, Ingo


Other related posts: