summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2020-07-18 07:23:42 +0000
committerintrigeri <intrigeri@boum.org>2020-07-18 07:42:23 +0000
commit3d9eb0a52256b76e09ad0611502b4c0da1b152f8 (patch)
treedab27c1e1b587cd1ca42c66b9792f3582a9ee9cd
parentc7969685d97f73e72a8877fe58e38ebcc24dad5e (diff)
Stop installing custom firmware: firmware-realtek 20200421-1 includes itfeature/17786-linux-5.7+force-all-tests
refs #17786, #17323
-rwxr-xr-xconfig/chroot_local-hooks/49-fix-missing-rtw88-firmware36
m---------submodules/tails-workarounds0
2 files changed, 0 insertions, 36 deletions
diff --git a/config/chroot_local-hooks/49-fix-missing-rtw88-firmware b/config/chroot_local-hooks/49-fix-missing-rtw88-firmware
deleted file mode 100755
index 6535d18..0000000
--- a/config/chroot_local-hooks/49-fix-missing-rtw88-firmware
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-set -e
-set -u
-
-echo "Checking for possibly missing rtw88 firmware (#17323)"
-
-# Decide where to copy from, and what:
-WORKAROUNDS_FW_DIR='/tmp/tails-workarounds/linux-firmware'
-DIR='rtw88'
-FILES='rtw8822b_fw.bin rtw8822c_fw.bin'
-
-# Sanity check:
-orig_dir="$WORKAROUNDS_FW_DIR/$DIR"
-if [ ! -d "$orig_dir" ]; then
- echo "=> ERROR: Missing origin directory ($orig_dir)"
- exit 1
-fi
-
-firmware_dir="/lib/firmware/$DIR"
-if [ ! -d "$firmware_dir" ]; then
- echo "=> Missing parent directory ($firmware_dir), creating"
- mkdir -p "$firmware_dir"
-fi
-
-
-for file in $FILES; do
- path="$firmware_dir/$file"
- if [ ! -f "$path" ]; then
- echo "=> Missing firmware ($file), copying"
- cp "$orig_dir/$file" "$path"
- else
- echo "=> ERROR: Firmware for $file found, maybe this hook could be dropped"
- exit 1
- fi
-done
diff --git a/submodules/tails-workarounds b/submodules/tails-workarounds
-Subproject 28bdbfb67243b3ed0ff16c3694d1ac1ee51f564
+Subproject 5d09e2fdf6350c3f763d280d3590131c43d6b3d