-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathlinux-yocto%.bbappend
More file actions
34 lines (27 loc) · 1.17 KB
/
linux-yocto%.bbappend
File metadata and controls
34 lines (27 loc) · 1.17 KB
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
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
LINUX_VERSION_EXTENSION = "-dstack"
SRC_URI += "file://dstack-docker.cfg \
file://dstack-docker.scc \
file://dstack-tdx.cfg \
file://dstack-tdx.scc \
file://dstack-sysbox.cfg \
file://dstack-sysbox.scc \
file://dstack.cfg \
file://dstack.scc \
file://0002-overlayfs-enable-idmapped-mounts.patch"
KERNEL_FEATURES:append = " features/cgroups/cgroups.scc \
features/overlayfs/overlayfs.scc \
features/netfilter/netfilter.scc \
features/fuse/fuse.scc \
features/xfs/xfs.scc \
cfg/fs/squashfs.scc \
dstack-docker.scc \
dstack-sysbox.scc \
dstack.scc"
KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "dm-verity", " features/device-mapper/dm-verity.scc", "" ,d)}"
KERNEL_FEATURES:append:tdx = " dstack-tdx.scc"
# Enable BTF
KERNEL_DEBUG = "True"
do_deploy:append() {
install -m 0644 ${B}/.config ${DEPLOYDIR}/kernel-config
}