-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bulk of the logic is in the common file. The aarch64 and x86_64 files include it while also setting MACHINE to a specific value. This way one can easily kas build something without having to know how to compose the files by hand. Signed-off-by: Zygmunt Krynicki <[email protected]>
- Loading branch information
Showing
3 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
header: | ||
version: 8 | ||
includes: | ||
- kas-poky-snapd.common.yml | ||
machine: qemuarm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
header: | ||
version: 8 | ||
|
||
distro: poky | ||
target: | ||
- snapd-demo-image | ||
|
||
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 = " 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
header: | ||
version: 8 | ||
includes: | ||
- kas-poky-snapd.common.yml | ||
machine: qemux86-64 |