[Top][All Lists]

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

Re: [PATCH] Allow to add/change menu entry class defaults.

From: Andrei Borzenkov
Subject: Re: [PATCH] Allow to add/change menu entry class defaults.
Date: Sun, 27 Dec 2015 20:03:36 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

27.12.2015 00:17, Robin Schneider пишет:
> I am sorry for the misunderstanding. I should have explained the indention
> behind my patch a bit better then just linking to another patch which makes 
> use
> of the newly introduced variables by this patch.
> My indented use case is to allow to add options like '--unrestricted' or
> '--users "Jane"' to each menuentry generated by grub-mkconfig without altering
> the scripts itself.

Oh, no, sorry. CLASS is for adding --class option and --class option is
for defining icon used to represent menu entry. Please do not misuse it
for something else.

I try to understand possible use cases.

Please get a look at
thread. SUSE has actually implemented my suggestion. This gives us "all
menu entries unrestricted" case.

Do you really have situation where you need separate category of users
that won't have access to CLI but will be the *only* users allowed to
select non-default menu entry? Moreover, do you really need to allow
different users to boot different categories of menu entries?


> BTW: The efi menuentry has the class 'windows'. Is that correct? My patch
> assumes that this menuentry is indented for UEFI applications.

Well, so far upstream os-prober only detects Windows on EFI. But yes,
SUSE includes additional script.

- does it address your concern?

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]