Merge pull request #155 from marineam/fix-img-check

fix(test_image_content): Remove check for localtime symlink
This commit is contained in:
Michael Marineau 2014-01-21 16:42:34 -08:00
commit c46c2e1c57

View File

@ -77,20 +77,6 @@ test_image_content() {
fi
done
# Check that /etc/localtime is a symbolic link pointing at
# /var/lib/timezone/localtime.
local localtime="$root/etc/localtime"
if [ ! -L "$localtime" ]; then
error "test_image_content: /etc/localtime is not a symbolic link"
returncode=1
else
local dest=$(readlink "$localtime")
if [ "$dest" != "/var/lib/timezone/localtime" ]; then
error "test_image_content: /etc/localtime points at $dest"
returncode=1
fi
fi
# Check that the symlink-usr flag agrees with the filesystem state.
# Things are likely to break if they don't match.
if [[ $(ROOT="${root}" $portageq envvar USE) == *symlink-usr* ]]; then