What steps will reproduce the problem? 1.Run opkg flag with an invalid flag opkg flag badflag A 2.Opkg will return no error (0) and a misleading message that makes you think the operation succeeded "Setting flags for package A to badflag." Package A will remain unchanged. What is the expected output? What do you see instead? Opkg flag only supports the following flags = hold|noprune|user|ok|installed|unpacked It should validate the input and report an error if invalid. Originally reported by alejandro.delcastill, Jun 23, 2015 -----------------------------------------------------------------------------
Created attachment 3547 [details] [PATCH] Added flag validation to opkg flag call.
Commited (14429c593c6ee593da937b859967b645174a730f) thanks Oleg!