hack(build_image): Make check for /usr/share/locale a warning.

Switching the toolchain to upstream Gentoo brought this directory back
and based on the Chromium OS history keeping this directory out of the
builds is a bit tedious. Keeping image sizes down isn't *that* important
right now so just let it be.
This commit is contained in:
Michael Marineau 2013-07-18 10:38:16 -07:00
parent 491fc77fef
commit 7564371200

View File

@ -33,8 +33,11 @@ test_image_content() {
)
for dir in "${blacklist_dirs[@]}"; do
if [ -d "$dir" ]; then
error "test_image_content: Blacklisted directory found: $dir"
returncode=1
warn "test_image_content: Blacklisted directory found: $dir"
# Only a warning for now, size isn't important enough to kill time
# playing whack-a-mole on things like this this yet.
#error "test_image_content: Blacklisted directory found: $dir"
#returncode=1
fi
done