[haiku-commits] Re: r40893 - in haiku/branches/features/package-management: build/jam data/system/boot headers/os/storage src/bin src/kits/locale ...

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 10 Mar 2011 10:34:26 +0100

Am 10.03.2011 10:00, schrieb Ingo Weinhold:

On 2011-03-10 at 09:25:51 [+0100], Axel Dörfler<axeld@xxxxxxxxxxxxxxxx>
wrote:
BTW, the runtime loader also has built-in fallback paths, that you probably
need to adjust as well.
Not sure if it helps, but maybe we can have a private find_directory.h that
contains some defines for things like "common/..." that could then be used
in system files (like the runtime loader, or the boot loader) that hard
code their paths.

Sure we can. Actually that has been proposed before. Most paths used in the
kernel can use those constants, too. After all, with the exception of the
user-specific, paths none of them is context-dependent or can change during
runtime.

Yes, this was a very old ticket on my TODO list. I think I've applied some patch to use find_directory() in the kernel at some places and the above was suggested as a better solution.

Best regards,
-Stephan


Other related posts: