-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkas-poky-rpi.yml
117 lines (101 loc) · 2.98 KB
/
kas-poky-rpi.yml
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
header:
version: 8
machine: raspberrypi4-64
distro: poky
target:
- secure-image
repos:
meta-secureos:
poky:
url: https://git.yoctoproject.org/git/poky
path: layers/poky
branch: scarthgap
layers:
meta:
meta-poky:
meta-yocto-bsp:
meta-openembedded:
url: http://git.openembedded.org/meta-openembedded
path: layers/meta-openembedded
branch: scarthgap
layers:
meta-oe:
meta-python:
meta-networking:
meta-perl:
meta-raspberrypi:
url: https://github.com/agherzan/meta-raspberrypi
path: layers/meta-raspberrypi
branch: scarthgap
meta-secutity:
url: git://git.yoctoproject.org/meta-security
path: layers/meta-security
branch: scarthgap
meta-selinux:
url: git://git.yoctoproject.org/meta-selinux
path: layers/meta-selinux
branch: scarthgap
meta-wolfssl:
url: https://github.com/wolfSSL/meta-wolfssl
path: layers/meta-wolfssl
branch: master
meta-clang:
url: https://github.com/kraj/meta-clang.git
path: layers/meta-clang
branch: scarthgap
bblayers_conf_header:
standard: |
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
local_conf_header:
rpi-specific: |
RPI_EXTRA_CONFIG = "dtoverlay=disable-bt"
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
PREFERRED_VERSION_linux-raspberrypi = "6.6.%"
ENABLE_DWC2_HOST = "1"
ENABLE_UART = "1"
RPI_USE_U_BOOT = "1"
DISABLE_SPLASH = "1"
BOOT_DELAY = "0"
BOOT_DELAY_MS = "0"
reduce_diskspace: |
standard: |
CONF_VERSION = "2"
PACKAGE_CLASSES = "package_deb"
SDKMACHINE = "x86_64"
USER_CLASSES = "buildstats"
PATCHRESOLVE = "noop"
PARALLEL_MAKE = "-j 4"
BB_NUMBER_THREADS = "4"
debug-tweaks: |
EXTRA_IMAGE_FEATURES = "debug-tweaks"
distro-tweaks: |
DISTRO_FEATURES:remove = "pulseaudio bluetooth "
DISTRO_FEATURES:append = " security xattr systemd usrmerge lkrg ${DISTRO_FEATURES_LIBC} ipsec wifi "
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
IMAGE_INSTALL:append = " wolfssh wolfcrypt-py"
PREFERRED_VERSION:audit = "4.0.2"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
VIRTUAL-RUNTIME_syslog = ""
VIRTUAL-RUNTIME_base-utils-syslog = ""
PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-targeted"
dm-verify: |
DISTRO_FEATURES:append = " integrity"
DM_VERITY_IMAGE = "secure-image"
DM_VERITY_IMAGE_TYPE = "ext4"
IMAGE_CLASSES += "dm-verity-img"
INITRAMFS_IMAGE_BUNDLE = "1"
INITRAMFS_IMAGE = "dm-verity-image-initramfs"
WKS_FILE = "secure-raspberrypi.wks"
diskmon: |
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"