[haiku-development] Re: RFC: /usr symlink?

  • From: scottmc <scottmc2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 10 Oct 2013 19:27:09 -0700

On Thu, Oct 10, 2013 at 6:14 PM, Alexander von Gluck IV <
kallisti5@xxxxxxxxxxx> wrote:

> Anyone see any issues adding a /usr symlink to the default image?
>
> LLVM has /usr/bin/env at the top of quite a few build scripts,
> in the past i've solved the issue by checking for /usr and
> symlinking it to /boot/system if it doesn't exist.
>
> Adding a /usr symlink is definitely a workaround, but it likely
> will make Linux ports to Haiku go more smoothly (and we aren't
> really "going linux" by just adding a symlink.
>
> Thoughts?
>
> As a refresher, here is / as it stands today:
>
> bin  -> /boot/system/bin
> boot
> dev
> etc > /boot/system/settings/etc
> Haiku -> /boot
> packages -> /boot/system/package-links
> system -> /boot/system
> tmp -> /boot/system/cache/tmp
> var -> /boot/system/var
>
>  -- Alex
>
>
-1 from me.

 This reminds me of that old joke where Germany agrees to switch the EU to
have English as the official language, only to ask them to make a simple
change of using K in place of C, it continues until the remaining language
is basically German.  No.  We don't want to turn Haiku into Linux.

You add a symlink from /usr to something, then when a configure script
tries to detect /usr it finds it and then starts making all sorts of other
assumptions.  No, leave it as is and send patches upstream.

-scottmc

Other related posts: