mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 20:34:17 +08:00
Add recipe for the pci.ids db.
This database contains a very comprehensive list of PCI devices and IDs to make more sense of them. The `lspci` tool in Linux uses this as it's source of data as well. Signed-off-by: Wren Turkal <wt@penguintechs.org>
This commit is contained in:
parent
9a60468f0f
commit
a583db85ae
14
recipes/pciids/recipe.sh
Normal file
14
recipes/pciids/recipe.sh
Normal file
@ -0,0 +1,14 @@
|
||||
GIT=https://github.com/pciutils/pciids.git
|
||||
|
||||
function recipe_build {
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
|
||||
install -d "${dest}/share/misc/"
|
||||
install pci.ids "${dest}/share/misc/"
|
||||
|
||||
skip=1
|
||||
}
|
||||
9
recipes/pciids/recipe.toml
Normal file
9
recipes/pciids/recipe.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[source]
|
||||
git = "https://github.com/pciutils/pciids.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
install -d "${COOKBOOK_STAGE}/share/misc/"
|
||||
install "${COOKBOOK_BUILD}"/pci.ids "${COOKBOOK_STAGE}/share/misc/"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user