summarylogtreecommitdiffstats
path: root/dsdt
blob: d9a1fd6f7535472e9b7fa9c9a63afa059786ce35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only

build() {
    quiet "extracting acpi override image: '%s'" "/boot/acpi_override"
    LC_ALL=C.UTF-8 bsdtar -C "$EARLYROOT" -xf "/boot/acpi_override"
}

help() {
    cat <<HELPEOF
This hook adds acpi_override files to the initramfs for those who have
modified the dsdt table following https://wiki.archlinux.org/title/DSDT.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: