mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
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:
parent
491fc77fef
commit
7564371200
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user