Remove duplicate symlinks

Now that the copy-firmware.sh script can create symlinks from the Link:
entries in the WHENCE file on the fly, remove the duplicate symlinks
from the filesystem.

One odd entry was intel/dsp_fw_cnl.bin which was listed both as symlink
and as a regular file. Both entries can be removed since the it's really
a symlink, so it will be recreated at installation time.

While at it, update the check_whence.py script to not look for the
existence of symlinks in the filesystem because they are created on the
fly at installation time by the copy_firmware.sh script.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This commit is contained in:
Thierry Reding 2019-09-30 13:17:04 +02:00 committed by Josh Boyer
parent 2de7abd480
commit 9cfefbd7fb
No known key found for this signature in database
GPG Key ID: A31B6BD72486CFD6
66 changed files with 2 additions and 67 deletions

1
WHENCE
View File

@ -3678,7 +3678,6 @@ File: intel/dsp_fw_cnl_v1191.bin
Version: 10.00.00.1191
File: intel/dsp_fw_cnl_v1858.bin
Version: 10.23.00.1858
File: intel/dsp_fw_cnl.bin
Link: intel/dsp_fw_cnl.bin -> dsp_fw_cnl_v1858.bin
License: Redistributable. See LICENCE.adsp_sst for details

View File

@ -1 +0,0 @@
qcom/a300_pfp.fw

View File

@ -1 +0,0 @@
qcom/a300_pm4.fw

View File

@ -5,11 +5,11 @@ import os, re, sys
def list_whence():
with open('WHENCE') as whence:
for line in whence:
match = re.match(r'(?:File|Link|Source):\s*"(.*)"', line)
match = re.match(r'(?:File|Source):\s*"(.*)"', line)
if match:
yield match.group(1)
continue
match = re.match(r'(?:File|Link|Source):\s*(\S*)', line)
match = re.match(r'(?:File|Source):\s*(\S*)', line)
if match:
yield match.group(1)
continue

View File

@ -1 +0,0 @@
configs/t4-config-default.txt

View File

@ -1 +0,0 @@
t4fw-1.24.3.0.bin

View File

@ -1 +0,0 @@
configs/t5-config-default.txt

View File

@ -1 +0,0 @@
t5fw-1.24.3.0.bin

View File

@ -1 +0,0 @@
configs/t6-config-default.txt

View File

@ -1 +0,0 @@
t6fw-1.24.3.0.bin

View File

@ -1 +0,0 @@
dsp_fw_bxtn_v3366.bin

View File

@ -1 +0,0 @@
dsp_fw_cnl_v1858.bin

View File

@ -1 +0,0 @@
dsp_fw_glk_v3366.bin

View File

@ -1 +0,0 @@
dsp_fw_kbl_v3402.bin

View File

@ -1 +0,0 @@
dsp_fw_release_v3402.bin

View File

@ -1 +0,0 @@
irci_irci_ecr-master_20161208_0213_20170112_1500.bin

View File

@ -1 +0,0 @@
../mrvl/sd8688.bin

View File

@ -1 +0,0 @@
../mrvl/sd8688_helper.bin

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0058.nffw

View File

@ -1 +0,0 @@
nic_AMDA0081.nffw

View File

@ -1 +0,0 @@
nic_AMDA0081.nffw

View File

@ -1 +0,0 @@
nic_AMDA0097.nffw

View File

@ -1 +0,0 @@
nic_AMDA0096.nffw

View File

@ -1 +0,0 @@
nic_AMDA0097.nffw

View File

@ -1 +0,0 @@
nic_AMDA0097.nffw

View File

@ -1 +0,0 @@
nic_AMDA0097.nffw

View File

@ -1 +0,0 @@
nic_AMDA0099.nffw

View File

@ -1 +0,0 @@
nic_AMDA0099.nffw

View File

@ -1 +0,0 @@
nic_AMDA0099.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0058-0011_2x40.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0058-0012_2x40.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0078-0011_1x100.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0081-0001_1x40.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0081-0001_4x10.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0096-0001_2x10.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0097-0001_2x40.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0097-0001_4x10_1x40.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0097-0001_8x10.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0099-0001_1x10_1x25.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0099-0001_2x10.nffw

View File

@ -1 +0,0 @@
nic/nic_AMDA0099-0001_2x25.nffw

View File

@ -1 +0,0 @@
vic03_ucode.bin

View File

@ -1 +0,0 @@
vic04_ucode.bin

View File

@ -1 +0,0 @@
vic04_ucode.bin

View File

@ -1 +0,0 @@
qat_895xcc_mmp.bin

View File

@ -1 +0,0 @@
rt2870.bin

View File

@ -1 +0,0 @@
rt2860.bin

View File

@ -1 +0,0 @@
go7007/s2250-2.fw

View File

@ -1 +0,0 @@
go7007/s2250-1.fw

View File

@ -1 +0,0 @@
wl127x-nvs.bin

View File

@ -1 +0,0 @@
wl127x-nvs.bin