archboot/usr/lib/initcpio/install/archboot_lshw

20 lines
386 B
Bash

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_binary lshw
for i in manuf oui pnpid; do
add_file "/usr/share/lshw/${i}.txt"
done
add_file /usr/share/lshw/pnpid.txt
}
help ()
{
cat <<HELPEOF
This hook will add lshw to your archboot image.
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: