]> git.apps.os.sepia.ceph.com Git - linux-firmware.git/commit
check_whence: error if symlinks are in-tree
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 Jun 2023 13:58:07 +0000 (14:58 +0100)
committerJosh Boyer <jwboyer@kernel.org>
Sun, 25 Jun 2023 15:57:45 +0000 (11:57 -0400)
commit77f92e0b9df20317bd7663ef44a13abbcde0f969
tree8e2b54e979d752e37f22072ad45572b0e7bdbe96
parentf2671b1f50eb11901f88b3e8dc3c2b47b4b33008
check_whence: error if symlinks are in-tree

Currently we have no symlinks in-tree. Add a simple check, ensuring they
don't get added in the future.

This allows us to remove the clunky symlink checking code in
copy-firmware.sh

v2:
 - tweak helper to produce link and target (based off Adam's patch)

v3:
 - honour quoted target/linkname

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
check_whence.py