Commit 956aadd6 authored by Steev Klimaszewski's avatar Steev Klimaszewski

pinebook: Disable resume in initrd and speed up boot

parent 16fe275a
......@@ -164,6 +164,12 @@ ExecStartPost=/bin/systemctl disable pinebook-wifi-dkms.service
EOF
chmod 644 kali-${architecture}/usr/lib/systemd/system/pinebook-wifi-dkms.service
# Disable RESUME (suspend/resume is currently broken anyway!) which speeds up boot massively.
mkdir -p kali-${architecture}/etc/initramfs-tools/conf.d/
cat << EOF > kali-${architecture}/etc/initramfs-tools/conf.d/resume
RESUME=none
EOF
cat << EOF > kali-${architecture}/third-stage
#!/bin/bash
set -e
......
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