Commit 6d1d772b authored by WinterFairy's avatar WinterFairy
Browse files

Fix sdmem crashing on some Intel graphic hardware.

This is fixed by allowing the Intel graphic driver
to properly reinitialize in the kexec environment
before sdmem is started.

If not done, the whole system may crash and reboot,
leaving memory unerased.
parent 4c4c106d
#!/bin/sh
set -e
MOD_FILE='/etc/initramfs-tools/modules'
[ -f "${MOD_FILE}" ] || exit 11
# Avoid sdmem sometimes crashing on Intel graphic hardware
echo "i915" >> "${MOD_FILE}"
Supports Markdown
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