-
Notifications
You must be signed in to change notification settings - Fork 6
/
kas-poky-snapd.yml
79 lines (73 loc) · 1.84 KB
/
kas-poky-snapd.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
header:
version: 8
machine: qemux86-64
distro: poky
target:
- snapd
repos:
meta-snapd:
poky:
url: https://git.yoctoproject.org/git/poky
path: layers/poky
refspec: master
layers:
meta:
meta-poky:
meta-yocto-bsp:
meta-openembedded:
url: http://git.openembedded.org/meta-openembedded
path: layers/meta-openembedded
refspec: 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
refspec: 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 = " systemd apparmor security usrmerge"
systemd: |
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
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"