First of all, I agree that an empty prefix is odd. However, the FHS of
which /usr and /usr/local are a part really doesn't mean much when we're
talking about snaps. For example, there's no concern about
interoperability, or arch-dependent directories. The author could ship
all binaries in $SNAP/bin and ship all config files in $SNAP/config, or
just ship everything flat in the $SNAP, and it doesn't matter. I guess
what I'm getting at is that using /usr or /usr/local as a default
doesn't really seem to make sense in this context either.

Perhaps the best solution would be to remove the default prefix all
together (if using destdir), so the project can use its own defaults.
That way snapcraft doesn't try to force the "new" or the "old" ways of
doing things upon projects by default. Would that work?

** Changed in: snapcraft
       Status: New => Incomplete

** Changed in: snapcraft (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590831

Title:
  having prefix='' by default is non standard and confusing

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1590831/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to