On Thu, 2020-01-30 at 16:35 +0300, Alper Nebi Yasak wrote: > On 29/01/2020 21:31, Ben Hutchings wrote: > > This is definitely a rather niche option, so "wishlist" is appropriate. > > Thanks! (My reasoning was that it's a new feature.) > > > So it's possible to set any arbitrary string, but if you set it to > > anything other than "gzip", "xz", or "lzma" then the required > > compressor might not be installed. (And it's possible to set a string > > that mkinitramfs doesn't install either.) > > > > I think this needs to be a "select" type question, so that only the > > supported compression types can be selected. > > Allowing arbitrary strings wasn't the intention. I had mimicked the > driver-policy implementation. The template you quoted is only used to > set a "select" type question, and I assumed doing that with an invalid > value would cause an error. [...] Oh, right, then I misunderstood what you were doing. I don't understand how the two templates work together, so it may well be that the first version was OK. Ben. -- Ben Hutchings For every complex problem there is a solution that is simple, neat, and wrong.
Attachment:
signature.asc
Description: This is a digitally signed message part