From 6eae505f16e5c90dcebb882d2302f62fe5ca31b7 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Fri, 13 Nov 2020 17:04:59 +0100 Subject: [PATCH] build_library: Ignore broken symlink in Kernel source tree Kernel source tree started to have a broken link `tools/testing/selftests/powerpc/copyloops/memcpy_mcsafe_64.S`. Especially in case of Kernel 5.8.18, like: ``` broken link: /usr/src/linux-5.8.18-coreos/tools/testing/selftests/powerpc/copyloops/memcpy_mcsafe_64.S ERROR build_packages: test_image_content: Failed symlink check ``` Ignore the symlink when checking broken symlinks. --- build_library/check_root | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_library/check_root b/build_library/check_root index 2efb15e3c4..fb181a5756 100755 --- a/build_library/check_root +++ b/build_library/check_root @@ -128,7 +128,8 @@ IGNORE_SYMLINK = ( # Other b"/etc/lsb-release", # set later in the build process b"/usr/share/coreos", # set later in the build process - b"/etc/coreos" # set later in the build process + b"/etc/coreos", # set later in the build process + b"/usr/src/linux-*/tools/testing/selftests/powerpc/copyloops/memcpy_mcsafe_64.S" # broken symlink in Kernel source tree )