Commit 390d5129 authored by intrigeri's avatar intrigeri

Merge branch 'feature/17786-linux-5.7-stable+force-all-tests' into 'stable'

Upgrade Linux to 5.7 (stable branch)

See merge request !90
parents bc130ae9 b4800fbb
2020061003
\ No newline at end of file
2020071801
......@@ -23,7 +23,7 @@ AMNESIA_APPEND="live-media=removable nopersistence noprompt timezone=Etc/UTC blo
AMNESIA_ISOHYBRID_OPTS="-h 255 -s 63 --id 42 --verbose"
# Kernel version
KERNEL_VERSION='5.6.0-2'
KERNEL_VERSION='5.7.0-1'
KERNEL_SOURCE_VERSION=$(
echo "$KERNEL_VERSION" \
| perl -p -E 's{\A (\d+ [.] \d+) [.] .*}{$1}xms'
......
#!/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
Subproject commit 28bdbfb67243b3ed0ff16c3694d1ac1ee51f5642
Subproject commit 5d09e2fdf6350c3f763d280d3590131c43d6b3dd
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment