]> code.ossystems Code Review - openembedded-core.git/commit
createrepo-c: set path to magic database for native and nativesdk
authorDiego Santa Cruz <Diego.SantaCruz@spinetix.com>
Fri, 26 Feb 2021 11:33:32 +0000 (12:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Feb 2021 22:40:36 +0000 (22:40 +0000)
commitea666fbc74163e7ef27a52a072b75fd1f5ac5c25
tree6fcdc3ce1afb51e30107b45f3ea26a3d4649bd32
parentaac00b1c8042e41cd6bb1aea8e3033a1c6dd2b05
createrepo-c: set path to magic database for native and nativesdk

The modifyrepo_c tool can use the magic database for input files
(e.g., if the file has no recognized extension) and fails if none
can be found.

This adds a wrapper that sets MAGIC to point to the proper place,
it also sets up MAGIC in the createrepo_c wrapper since that tool
also takes input files.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb