-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlocal.conf.sample
60 lines (44 loc) · 1.66 KB
/
local.conf.sample
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
# Supported machines
#MACHINE ?= "nanopc-t4"
#MACHINE ?= "lec-px30"
BALENA_STORAGE = "overlay2"
# More info meta-resin/README.md
#TARGET_REPOSITORY ?= ""
#TARGET_TAG ?= ""
# Set this to 1 if development image is desired
#DEVELOPMENT_IMAGE = "1"
# Set this to make build system generate resinhup bundles
#RESINHUP ?= "yes"
# Set this to change the supervisor tag used
#TARGET_TAG ?= "master"
# Compress final raw image
#RESIN_RAW_IMG_COMPRESSION ?= "xz"
# Parallelism Options
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
# Resin specific distros
DISTRO ?= "resin-systemd"
# Custom downloads directory
#DL_DIR ?= "${TOPDIR}/downloads"
# Custom sstate directory
#SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
# Inheriting this class has shown to speed up builds due to significantly lower
# amounts of data stored in the data cache as well as on disk.
# http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-rm-work
#INHERIT += "rm_work"
# Remove the old image before the new one is generated to save disk space when RM_OLD_IMAGE is set to 1, this is an easy way to keep the DEPLOY_DIR_IMAGE clean.
RM_OLD_IMAGE = "1"
# Additional image features
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
# By default disable interactive patch resolution (tasks will just fail instead):
PATCHRESOLVE = "noop"
# Disk Space Monitoring during the build
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
CONF_VERSION = "1"
HOSTTOOLS += "docker iptables"