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.
This commit is contained in:
Dongsu Park 2020-11-13 17:04:59 +01:00
parent 5201aee4a3
commit 6eae505f16

View File

@ -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
)