-
Notifications
You must be signed in to change notification settings - Fork 6
/
kas-poky-snapd.common.yml
77 lines (71 loc) · 1.75 KB
/
kas-poky-snapd.common.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
header:
version: 8
distro: poky
target:
- snapd-demo-image
repos:
meta-snapd:
poky:
url: https://git.yoctoproject.org/git/poky
path: layers/poky
branch: master
layers:
meta:
meta-poky:
meta-yocto-bsp:
meta-openembedded:
url: http://git.openembedded.org/meta-openembedded
path: layers/meta-openembedded
branch: master
layers:
meta-oe:
meta-python:
meta-networking:
meta-perl:
meta-filesystems:
meta-security:
url: http://git.yoctoproject.org/git/meta-security
path: layers/meta-security
branch: master
bblayers_conf_header:
standard: |
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
local_conf_header:
reduce_diskspace: |
INHERIT += "rm_work"
RM_WORK_EXCLUDE += "snapd"
standard: |
CONF_VERSION = "2"
PACKAGE_CLASSES = "package_ipk"
SDKMACHINE = "x86_64"
USER_CLASSES = "buildstats"
PATCHRESOLVE = "noop"
debug-tweaks: |
EXTRA_IMAGE_FEATURES = "debug-tweaks"
distro: |
DISTRO_FEATURES:append = " apparmor security usrmerge"
systemd: |
INIT_MANAGER = "systemd"
DISTRO_FEATURES:append = " systemd"
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"
snapd: |
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-snapd \
bash \
"
image-tweaks: |
# some room for installing snaps
IMAGE_ROOTFS_EXTRA_SPACE = "512000"
# snapd assumes root's home is /root
ROOT_HOME = "/root"