mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
File is compiled with a path to the default magic database, but since we install it into /usr/local rather than the normal /usr, that default path does not work. Add a smaller wrapper script around `file` to specify the new database location so people don't have to manually do so. BUG=chromium-os:27725 TEST=`./build_image --board=x86-alex dev` produced an image where `file /bin/bash` worked Change-Id: I3862cb368437a14bf1e4b6ccf4e2df3e4f774817 Reviewed-on: https://gerrit.chromium.org/gerrit/19137 Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Chris Sosa <sosa@chromium.org> Reviewed-by: Richard Barnette <jrbarnette@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org>