summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2020-03-08 15:38:30 +0000
committerintrigeri <intrigeri@boum.org>2020-03-08 15:43:08 +0000
commit9c8eba6a847d9d22af847b63e76d32e2759bc0ed (patch)
treeffac7170a5679e8febc2abe04db3e406e01ed507 /config
parentcfca4d4a0ec4d5b2073d999f5fbcc4eaf7d32fc6 (diff)
Ensure we stop shipping RTL8822BE/RTL8822CE firmware once it's in Debian (refs: #17323)
Once those files are in Debian and they get updated there, if we don't notice this warning, we'll be shipping outdated firmware, which is not ideal. I'm concerned that this warning will be hard to spot in the middle of a 15k-lines build log, that has 30+ other warnings which are all false positives. So let's abort the build whenever we detect this situation.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-hooks/49-fix-missing-rtw88-firmware3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/chroot_local-hooks/49-fix-missing-rtw88-firmware b/config/chroot_local-hooks/49-fix-missing-rtw88-firmware
index 0546192..6535d18 100755
--- a/config/chroot_local-hooks/49-fix-missing-rtw88-firmware
+++ b/config/chroot_local-hooks/49-fix-missing-rtw88-firmware
@@ -30,6 +30,7 @@ for file in $FILES; do
echo "=> Missing firmware ($file), copying"
cp "$orig_dir/$file" "$path"
else
- echo "=> WARNING: Firmware for $file found, maybe this hook could be dropped"
+ echo "=> ERROR: Firmware for $file found, maybe this hook could be dropped"
+ exit 1
fi
done