blob: 21d1b8beacafbda446bdecd334752c6121457d95 (
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
|
SUMMARY = "Basic console-based gateway image"
require lmp-image-common.inc
IMAGE_FEATURES += "ssh-server-openssh"
# Base packages
CORE_IMAGE_BASE_INSTALL += " \
coreutils \
cpufrequtils \
ldd \
gptfdisk \
hostapd \
htop \
iptables \
kernel-modules \
networkmanager-nmtui \
${@bb.utils.contains("MACHINE_FEATURES", "optee", "optee-test optee-client", "", d)} \
rsync \
sshfs-fuse \
"
CORE_IMAGE_BASE_INSTALL += " \
docker \
bluez5-noinst-tools \
git \
linux-firmware-ar3k \
linux-firmware-ath9k \
linux-firmware-ath10k \
linux-firmware-qca \
linux-firmware-wl18xx \
openssh-sftp-server \
packagegroup-core-full-cmdline-utils \
packagegroup-core-full-cmdline-extended \
packagegroup-core-full-cmdline-multiuser \
python3-compression \
python3-distutils \
python3-docker \
python3-docker-compose \
python3-json \
python3-netclient \
python3-pkgutil \
python3-shell \
python3-unixadmin \
pciutils \
strace \
tcpdump \
vim-tiny \
"
fakeroot do_populate_rootfs_src () {
# Disable bluetooth service by default (allow to be contained in docker)
ln -sf /dev/null ${IMAGE_ROOTFS}/etc/systemd/system/bluetooth.service
}
# docker pulls runc/containerd, which in turn recommend lxc unecessarily
BAD_RECOMMENDATIONS_append = " lxc"
IMAGE_PREPROCESS_COMMAND += "do_populate_rootfs_src; "
EXTRA_USERS_PARAMS += "\
usermod -a -G docker osf; \
"
|