mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Merge pull request #42 from marineam/locale
hack(build_image): Make check for /usr/share/locale a warning.
This commit is contained in:
commit
ee3fc09057
@ -33,8 +33,11 @@ test_image_content() {
|
|||||||
)
|
)
|
||||||
for dir in "${blacklist_dirs[@]}"; do
|
for dir in "${blacklist_dirs[@]}"; do
|
||||||
if [ -d "$dir" ]; then
|
if [ -d "$dir" ]; then
|
||||||
error "test_image_content: Blacklisted directory found: $dir"
|
warn "test_image_content: Blacklisted directory found: $dir"
|
||||||
returncode=1
|
# 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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user