Skip to content
Snippets Groups Projects
Unverified Commit 86ccaf4c authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

base-files: fix user creation on sysupgrade with few opkg control files


If only a single opkg control file exists (which can happen with
CONFIG_CLEAN_IPKG), grep would not print the file name by default. Instead
of forcing it using -H, we just switch to -l (print only file names) and
get rid of the cut.

Add -s to suppress an error message when no control files exist.

Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
parent 7e1fc09c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment