Debian Developers - Re: Menu files in /usr/lib/menu violate FHS

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > April 2004 > Re: Menu files in /usr/lib/menu violate FHS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Menu files in /usr/lib/menu violate FHS
Bill Allombert

2004-04-28, 8:34 pm

On Wed, Apr 28, 2004 at 10:17:19PM +0200, Gerfried Fuchs wrote:
> * Bill Allombert <allomber@math.u-bordeaux.fr> [2002-12-17 20:28]:
>
> I was wondering why this hasn't happend yet....


After some discussion on debian-policy I have decided to
1) Change menu to read menu files in both /usr/lib/menu and /usr/share/menu
(/usr/lib/menu having higher priority)

2) To document this change only after sarge is released so that people
doing partial upgrade don't get broken menu. Packages for sarge must
still use /usr/share/menu.

> And I discussed with a fellow developer and he raised some interesting
> concerns wrt/ that:
>
> Putting the menu files into /usr/share would make files in /usr/share
> depend on stuff in architecture directories. The purpose of /usr/share
> is that it is shareable amongst different machines. If you use such a
> setup an update-menus on a machine that doesn't have the package
> installed would create a menu entry that simply doesn't work.


Remember, menu checks if the package is installed so for example a
liloconfig menu entry will be displayed only if the lilo package is
installed on the box. In extreme cases, you will still be able to ship
your menu entry in /usr/lib/menu if it needs to be different between
architecture (but it seems unlikely to be ever needed).

Cheers,
--
Bill. <ballombe@debian.org>

Imagine a large red swirl here.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com