From b95f4eb0fcaf3207c8a8d2adb555ecfc3c29ee4e Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Tue, 21 Jan 2014 16:40:01 -0800 Subject: [PATCH] fix(test_image_content): Remove check for localtime symlink We no longer provide this symlink, it was always broken anyway. --- build_library/test_image_content.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/build_library/test_image_content.sh b/build_library/test_image_content.sh index 4edd9df66a..c750fcb16e 100644 --- a/build_library/test_image_content.sh +++ b/build_library/test_image_content.sh @@ -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