[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Small change to main-menu



On Tue, Mar 25, 2008 at 05:14:13PM +0100, Frans Pop wrote:
> There are several packages that we do want to list during package selection 
> in anna, but that should not be listed in the main menu.
> The current list I'm aware of is:
> - openssh-client-udeb
> - fdisk-udeb
> - cfdisk-udeb
> - parted-udeb
>
> One of the main deciding factors to list a component in anna is the 
> menu-item-number.
> […] 
> Instead of asking isinstallable files to be added to util-linux, I intend to 
> commit the patch below to main-menu as an implementation of formal support 
> for this use case. It checks the menu item and, if it is 99999 or 99900 it 
> is marked uninstallable and will thus not be displayed.
> This is not the most beautiful solution, but IMO it is much better than 
> having both dummy menu item numbers _and_ dummy isinstallable files.

I am thinking of another option (but I have not fully researched if it
was doable): we could change main-menu to verify if a package has a
postinst script before displaying an entry in the menu.

At first look, this would remove the need for the isinstallable and for
another hard-coded menu item number in main-menu…

Cheers,
-- 
Jérémy Bobbio

Attachment: signature.asc
Description: Digital signature


Reply to: