blob: 3ea1df017cd59f1fab72b8a408315a9e154fea84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
require linaro-image-common.inc
IMAGE_INSTALL += " \
arndale-pre-boot \
bridge-utils \
calibrator \
cunit \
curl \
cronie \
fping \
git \
lmbench \
lng-network-config \
ltp \
netperf \
odp \
openssh-sftp-server \
openvswitch \
packagegroup-core-buildessential \
procps \
python-numpy \
qemu \
rt-tests \
trace-cmd \
tunctl \
usecpu \
"
# install the odp-ptest package if ptest is enabled in the
# DISTRO_FEATURES (configured in local.conf)
IMAGE_INSTALL += "${@bb.utils.contains( \
'DISTRO_FEATURES', 'ptest', 'odp-ptest', '', d)}"
IMAGE_INSTALL_append_armv7a = " \
latency-test \
systemtap \
valgrind \
trinity-example \
"
IMAGE_INSTALL_append_aarch64 = " \
trinity-example \
"
IMAGE_INSTALL_append_qemux86 = " \
"
IMAGE_FEATURES += "\
dev-pkgs \
staticdev-pkgs \
tools-debug \
tools-sdk \
"
IMAGE_FSTYPES_append_qemux86 += "cpio.gz"
IMAGE_FSTYPES_lng-x86-64 = "tar.gz cpio.gz"
IMAGE_FSTYPES_lng-rt-x86-64 = "tar.gz cpio.gz"
EXTRA_IMAGE_FEATURES_append_qemux86 = " autoserial"
FEATURE_PACKAGES_autoserial = "auto-serial-console"
IMAGE_PREPROCESS_COMMAND_qemux86 += "qemux86_fixup;"
qemux86_fixup() {
# Since we use autoserial, remove serial consoles
# See sysvinit-inittab recipe
sed -i '/2345:respawn:\/sbin\/getty/d' ${IMAGE_ROOTFS}/etc/inittab
# Add a default network interface
echo "auto eth0" >> ${IMAGE_ROOTFS}/etc/network/interfaces
echo "iface eth0 inet dhcp" >> ${IMAGE_ROOTFS}/etc/network/interfaces
# The hostname can be changed by using
# hostname_pn-base-files = "linaro"
# See base-files recipe
echo "linaro" > ${IMAGE_ROOTFS}${sysconfdir}/hostname
}
|