-
Notifications
You must be signed in to change notification settings - Fork 119
/
console-image.bb
126 lines (110 loc) · 1.97 KB
/
console-image.bb
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
SUMMARY = "A console development image with some C/C++ dev tools"
HOMEPAGE = "http://www.jumpnowtek.com"
LICENSE = "MIT"
IMAGE_FEATURES += "package-management splash"
IMAGE_LINGUAS = "en-us"
inherit core-image
DEPENDS += "bcm2835-bootfiles"
CORE_OS = " \
openssh openssh-keygen openssh-sftp-server \
term-prompt \
tzdata \
"
WIFI_SUPPORT = " \
crda \
iw \
linux-firmware-brcm43430 \
linux-firmware-ralink \
linux-firmware-rtl8192ce \
linux-firmware-rtl8192cu \
linux-firmware-rtl8192su \
wireless-tools \
wpa-supplicant \
"
DEV_SDK_INSTALL = " \
binutils \
binutils-symlinks \
coreutils \
cpp \
cpp-symlinks \
diffutils \
file \
g++ \
g++-symlinks \
gcc \
gcc-symlinks \
gdb \
gdbserver \
gettext \
git \
ldd \
libstdc++ \
libstdc++-dev \
libtool \
make \
perl-modules \
pkgconfig \
python-modules \
"
DEV_EXTRAS = " \
ntp \
ntp-tickadj \
serialecho \
spiloop \
"
EXTRA_TOOLS_INSTALL = " \
bzip2 \
devmem2 \
dosfstools \
ethtool \
fbset \
findutils \
i2c-tools \
iperf \
iproute2 \
less \
memtester \
nano \
netcat \
procps \
rsync \
sysfsutils \
tcpdump \
unzip \
util-linux \
wget \
zip \
"
CAN_TOOLS = " \
canutils \
"
RPI_STUFF = " \
bcm2835-tests \
omxplayer \
pi-blaster \
raspi2fb \
rpio \
rpi-gpio \
userland \
wiringpi \
"
IMAGE_INSTALL += " \
${CAN_TOOLS} \
${CORE_OS} \
${DEV_SDK_INSTALL} \
${DEV_EXTRAS} \
${EXTRA_TOOLS_INSTALL} \
${RPI_STUFF} \
${WIFI_SUPPORT} \
"
set_local_timezone() {
ln -sf /usr/share/zoneinfo/EST5EDT ${IMAGE_ROOTFS}/etc/localtime
}
disable_bootlogd() {
echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
}
ROOTFS_POSTPROCESS_COMMAND += " \
set_local_timezone ; \
disable_bootlogd ; \
"
export IMAGE_BASENAME = "console-image"