summaryrefslogtreecommitdiffstats
path: root/debian/templates/image.bug/include-pci
blob: 8e6528e5a7b8ac13a619967f46737d9b41a51381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
add_pci() {
  echo '** PCI devices:' >&3
  lspci -nnvv >&3 2>/dev/null || echo 'not available' >&3
  echo >&3
}

ask_pci() {
  # This information shouldn't vary much between kernel versions, so
  # include it anyway.
  test $same_system = nop || add_pci
}