2
name: info/codecs_attachment
4
requires: device.driver == 'HDA Intel'
5
command: cat /proc/asound/card*/codec#*
7
name: info/cpuinfo_attachment
9
command: cat /proc/cpuinfo
11
name: info/dmesg_attachment
13
command: cat /var/log/dmesg | ansi_parser
15
name: info/dmi_attachment
17
command: grep -r . /sys/class/dmi/id/ 2>/dev/null
19
name: info/dmidecode_attachment
24
name: info/lspci_attachment
28
name: info/modprobe_attachment
30
command: find /etc/modprobe.* -name \*.conf | xargs cat
32
name: info/modules_attachment
34
command: cat /etc/modules
36
name: info/sysctl_attachment
38
command: find /etc/sysctl.* -name \*.conf | xargs cat
40
name: info/udev_attachment
42
command: udevadm info --export-db
44
name: info/gcov_attachment
46
requires: package.name == 'lcov'
50
name: info/lsmod_attachment
57
package.name == 'xorg'
58
package.name == 'imagemagick'
59
command: import -window root ${CHECKBOX_DATA}/screenshot.png
61
Captures a screenshot.
64
name: info/screenshot.png
66
command: cat ${CHECKBOX_DATA}/screenshot.png
72
Gather log from the firmware test suite run
74
cat $CHECKBOX_DATA/fwts_results.log
77
name: info/acpi_sleep_attachment
78
command: cat /proc/acpi/sleep
82
_description: Bootchart information.
83
requires: package.name == 'bootchart' or package.name == 'pybootchartgui'
86
process_wait -u root bootchart collector ureadahead; \
87
[ `ls /var/log/bootchart/*.tgz 2>/dev/null | wc -l` -lt 2 ] && reboot && sleep 100
92
package.name == 'hdparm'
93
device.category == 'DISK'
95
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=DISK"'
97
name: info/hdparm_`ls /sys$path/block`.txt
98
requires: device.path == "$path"
100
command: hdparm -I /dev/`ls /sys$path/block`
104
name: info/bootchart.png
105
depends: info/bootchart
106
requires: (package.name == 'bootchart' and float(lsb.release) < 9.04) or package.name == 'pybootchartgui'
108
file=`ls /var/log/bootchart/*.png 2>/dev/null | tail -1`; \
109
[ -e "$file" ] && cat "$file"
112
name: info/bootchart.tgz
113
depends: info/bootchart
114
requires: package.name == 'bootchart' and float(lsb.release) >= 9.04
116
file=`ls /var/log/bootchart/*.tgz 2>/dev/null | tail -1`; \
117
[ -e "$file" ] && cat "$file"
120
name: info/installer_bootchart.tgz
121
command: [ -e /var/log/installer/bootchart.tgz ] && cat /var/log/installer/bootchart.tgz
124
name: info/installer_debug.gz
125
command: [ -e /var/log/installer/debug ] && gzip -9 -c /var/log/installer/debug