From patchwork Wed Nov 20 17:28:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aashvij Shenai X-Patchwork-Id: 52821 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34AE2D711CD for ; Wed, 20 Nov 2024 17:29:06 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web10.19814.1732123743827262270 for ; Wed, 20 Nov 2024 09:29:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=evS9y+BN; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: a-shenai@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4AKHT2aY006284; Wed, 20 Nov 2024 11:29:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1732123742; bh=LhD1vqDpyLOSiGSsgnsk2XdGyd5mm3fs1rBqalyozBk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=evS9y+BN2vbjsEfkm35CiQPQlMT+2Twx6OCBbwsh99K6vvw/yw9nOnajZ27VIGbOW RI2zRlz+T2HC4oW0++gwjrPk8BASwIAIFcKDImNc+42i/DnQQzFNjpzshKsOpZatl1 UHFPqbOci+keMHsDsPRX2GAOIBPnxv+bxg+Nu4wY= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4AKHT23R051063; Wed, 20 Nov 2024 11:29:02 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 20 Nov 2024 11:29:01 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 20 Nov 2024 11:29:01 -0600 Received: from aashvij.dhcp.ti.com (aashvij.dhcp.ti.com [172.24.227.252]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4AKHSnPp061104; Wed, 20 Nov 2024 11:28:59 -0600 From: Aashvij Shenai To: , , , CC: , Subject: [oe-layersetup][master][PATCH v2 1/1] oelayersetup: Bringing meta-selinux into Yocto builds Date: Wed, 20 Nov 2024 22:58:24 +0530 Message-ID: <20241120172824.1764599-2-a-shenai@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241120172824.1764599-1-a-shenai@ti.com> References: <20241120172824.1764599-1-a-shenai@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 20 Nov 2024 17:29:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15619 - Creating 2 new configs.xml to enable the meta-selinux layer while keeping it disabled in the others. - SELinux also requires additional attributes to be a part of DISTRO_FEATURES such as acl, pam and xattrs that will be added to local.conf when the 2 xml files are run. Signed-off-by: Aashvij Shenai --- .../arago-master-selinux-config.json | 136 +++++++++++++ .../arago-scarthgap-selinux-config.json | 136 +++++++++++++ .../bblayers.conf.sample | 32 +++ .../conf-notes.txt | 22 +++ .../conf-summary.txt | 1 + .../local.conf.sample | 186 ++++++++++++++++++ .../bblayers.conf.sample | 32 +++ .../conf-notes.txt | 22 +++ .../conf-summary.txt | 1 + .../local.conf.sample | 184 +++++++++++++++++ configs/arago-master-chromium-config.txt | 1 + configs/arago-master-config.txt | 1 + configs/arago-master-next-config.txt | 1 + configs/arago-master-selinux-config.txt | 20 ++ configs/arago-master-wip-config.txt | 1 + configs/arago-scarthgap-chromium-config.txt | 1 + configs/arago-scarthgap-config.txt | 1 + configs/arago-scarthgap-next-config.txt | 1 + configs/arago-scarthgap-selinux-config.txt | 20 ++ configs/arago-scarthgap-wip-config.txt | 1 + kas/arago-master-selinux-config.yml | 68 +++++++ kas/arago-scarthgap-selinux-config.yml | 68 +++++++ src/configs/arago-master-chromium-config.xml | 3 + src/configs/arago-master-config.xml | 3 + src/configs/arago-master-next-config.xml | 3 + src/configs/arago-master-selinux-config.xml | 75 +++++++ src/configs/arago-master-wip-config.xml | 3 + .../arago-scarthgap-chromium-config.xml | 3 + src/configs/arago-scarthgap-config.xml | 3 + src/configs/arago-scarthgap-next-config.xml | 3 + .../arago-scarthgap-selinux-config.xml | 75 +++++++ src/configs/arago-scarthgap-wip-config.xml | 3 + 32 files changed, 1110 insertions(+) create mode 100644 bitbake-setup/arago-master-selinux-config.json create mode 100644 bitbake-setup/arago-scarthgap-selinux-config.json create mode 100644 conf/templates/arago-master-selinux-config/bblayers.conf.sample create mode 100644 conf/templates/arago-master-selinux-config/conf-notes.txt create mode 100644 conf/templates/arago-master-selinux-config/conf-summary.txt create mode 100644 conf/templates/arago-master-selinux-config/local.conf.sample create mode 100644 conf/templates/arago-scarthgap-selinux-config/bblayers.conf.sample create mode 100644 conf/templates/arago-scarthgap-selinux-config/conf-notes.txt create mode 100644 conf/templates/arago-scarthgap-selinux-config/conf-summary.txt create mode 100644 conf/templates/arago-scarthgap-selinux-config/local.conf.sample create mode 100644 configs/arago-master-selinux-config.txt create mode 100644 configs/arago-scarthgap-selinux-config.txt create mode 100644 kas/arago-master-selinux-config.yml create mode 100644 kas/arago-scarthgap-selinux-config.yml create mode 100644 src/configs/arago-master-selinux-config.xml create mode 100644 src/configs/arago-scarthgap-selinux-config.xml diff --git a/bitbake-setup/arago-master-selinux-config.json b/bitbake-setup/arago-master-selinux-config.json new file mode 100644 index 0000000..a06000f --- /dev/null +++ b/bitbake-setup/arago-master-selinux-config.json @@ -0,0 +1,136 @@ +{ + "version": "1.0", + "description": "Arago reference distribution for master", + "sources": { + "oe-layersetup": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.ti.com/git/arago-project/oe-layersetup.git" + } + }, + "rev": "wip" + }, + "path": "oe-layersetup" + }, + "bitbake": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.openembedded.org/bitbake" + } + }, + "rev": "master" + }, + "path": "bitbake" + }, + "meta-arago": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-arago" + } + }, + "rev": "master" + }, + "path": "meta-arago" + }, + "meta-selinux": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-selinux" + } + }, + "rev": "master" + }, + "path": "meta-selinux" + }, + "meta-qt5": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://github.com/meta-qt5/meta-qt5.git" + } + }, + "rev": "master" + }, + "path": "meta-qt5" + }, + "meta-virtualization": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-virtualization" + } + }, + "rev": "master" + }, + "path": "meta-virtualization" + }, + "meta-openembedded": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.openembedded.org/meta-openembedded" + } + }, + "rev": "master" + }, + "path": "meta-openembedded" + }, + "meta-ti": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-ti" + } + }, + "rev": "master" + }, + "path": "meta-ti" + }, + "meta-arm": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-arm" + } + }, + "rev": "master" + }, + "path": "meta-arm" + }, + "meta-clang": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://github.com/kraj/meta-clang" + } + }, + "rev": "master" + }, + "path": "meta-clang" + }, + "oe-core": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.openembedded.org/openembedded-core" + } + }, + "rev": "master" + }, + "path": "oe-core" + } + }, + "configuration": { + "bitbake-setup": { + "default": { + "description": "Default build configuration", + "template": "oe-layersetup-arago-master-selinux-config", + "targets": [ "bitbake -k tisdk-default-image" ] + } + } + } +} diff --git a/bitbake-setup/arago-scarthgap-selinux-config.json b/bitbake-setup/arago-scarthgap-selinux-config.json new file mode 100644 index 0000000..3cfb0dc --- /dev/null +++ b/bitbake-setup/arago-scarthgap-selinux-config.json @@ -0,0 +1,136 @@ +{ + "version": "1.0", + "description": "Arago reference distribution for scarthgap", + "sources": { + "oe-layersetup": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.ti.com/git/arago-project/oe-layersetup.git" + } + }, + "rev": "wip" + }, + "path": "oe-layersetup" + }, + "bitbake": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.openembedded.org/bitbake" + } + }, + "rev": "2.8" + }, + "path": "bitbake" + }, + "meta-arago": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-arago" + } + }, + "rev": "scarthgap" + }, + "path": "meta-arago" + }, + "meta-selinux": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-selinux" + } + }, + "rev": "scarthgap" + }, + "path": "meta-selinux" + }, + "meta-qt5": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://github.com/meta-qt5/meta-qt5.git" + } + }, + "rev": "scarthgap" + }, + "path": "meta-qt5" + }, + "meta-virtualization": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-virtualization" + } + }, + "rev": "scarthgap" + }, + "path": "meta-virtualization" + }, + "meta-openembedded": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.openembedded.org/meta-openembedded" + } + }, + "rev": "scarthgap" + }, + "path": "meta-openembedded" + }, + "meta-ti": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-ti" + } + }, + "rev": "scarthgap" + }, + "path": "meta-ti" + }, + "meta-arm": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.yoctoproject.org/meta-arm" + } + }, + "rev": "scarthgap" + }, + "path": "meta-arm" + }, + "meta-clang": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://github.com/kraj/meta-clang" + } + }, + "rev": "scarthgap" + }, + "path": "meta-clang" + }, + "oe-core": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.openembedded.org/openembedded-core" + } + }, + "rev": "scarthgap" + }, + "path": "oe-core" + } + }, + "configuration": { + "bitbake-setup": { + "default": { + "description": "Default build configuration", + "template": "oe-layersetup-arago-scarthgap-selinux-config", + "targets": [ "bitbake -k tisdk-default-image" ] + } + } + } +} diff --git a/conf/templates/arago-master-selinux-config/bblayers.conf.sample b/conf/templates/arago-master-selinux-config/bblayers.conf.sample new file mode 100644 index 0000000..e46cf86 --- /dev/null +++ b/conf/templates/arago-master-selinux-config/bblayers.conf.sample @@ -0,0 +1,32 @@ +# This template file was created by taking the oe-core/meta/conf/bblayers.conf +# file and removing the BBLAYERS section at the end. + +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "5" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/../meta-arago/meta-arago-distro + ##OEROOT##/../meta-arago/meta-arago-extras + ##OEROOT##/../meta-arago/meta-arago-demos + ##OEROOT##/../meta-arago/meta-arago-test + ##OEROOT##/../meta-selinux + ##OEROOT##/../meta-qt5 + ##OEROOT##/../meta-virtualization + ##OEROOT##/../meta-openembedded/meta-networking + ##OEROOT##/../meta-openembedded/meta-python + ##OEROOT##/../meta-openembedded/meta-oe + ##OEROOT##/../meta-openembedded/meta-gnome + ##OEROOT##/../meta-openembedded/meta-filesystems + ##OEROOT##/../meta-openembedded/meta-multimedia + ##OEROOT##/../meta-ti/meta-ti-extras + ##OEROOT##/../meta-ti/meta-ti-bsp + ##OEROOT##/../meta-arm/meta-arm + ##OEROOT##/../meta-arm/meta-arm-toolchain + ##OEROOT##/../meta-clang + ##OEROOT##/../oe-core/meta + ##OEROOT##/../oe-layersetup +" diff --git a/conf/templates/arago-master-selinux-config/conf-notes.txt b/conf/templates/arago-master-selinux-config/conf-notes.txt new file mode 100644 index 0000000..1880460 --- /dev/null +++ b/conf/templates/arago-master-selinux-config/conf-notes.txt @@ -0,0 +1,22 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake ' + +If you have not set MACHINE in your local.conf you can run +'MACHINE=xxxxx bitbake ' + +Common targets are: + tisdk-default-image + tisdk-base-image + tisdk-bootstrap-base-image + tisdk-bootstrap-image + tisdk-thinlinux-image + tisdk-tiny-image + +You can also run generated qemu images with a command like 'runqemu qemux86-64'. + +Other commonly useful commands are: + - 'devtool' and 'recipetool' handle common recipe tasks + - 'bitbake-layers' handles common layer tasks + - 'oe-pkgdata-util' handles common target package tasks diff --git a/conf/templates/arago-master-selinux-config/conf-summary.txt b/conf/templates/arago-master-selinux-config/conf-summary.txt new file mode 100644 index 0000000..d6fda48 --- /dev/null +++ b/conf/templates/arago-master-selinux-config/conf-summary.txt @@ -0,0 +1 @@ +Arago reference distribution for master diff --git a/conf/templates/arago-master-selinux-config/local.conf.sample b/conf/templates/arago-master-selinux-config/local.conf.sample new file mode 100644 index 0000000..d963b8c --- /dev/null +++ b/conf/templates/arago-master-selinux-config/local.conf.sample @@ -0,0 +1,186 @@ +# CONF_VERSION is increased each time build/conf/ changes incompatibly +CONF_VERSION = "2" + +# +# Where to place downloads +# +# During a first build the system will download many different source code +# tarballs from various upstream projects. This can take a while, particularly +# if your network connection is slow. These are all stored in DL_DIR. When +# wiping and rebuilding you can preserve this directory to speed up this part +# of subsequent builds. This directory is safe to share between multiple builds +# on the same machine too. +DL_DIR = "${TOPDIR}/downloads" + +# +# Where to place shared-state files +# +# BitBake has the capability to accelerate builds based on previously built +# output. This is done using "shared state" files which can be thought of as +# cache objects and this option determines where those files are placed. +# +# You can wipe out TMPDIR leaving this directory intact and the build would +# regenerate from these files if no changes were made to the configuration. +# If changes were made to the configuration, only shared state files where the +# state was still valid would be used (done using checksums). +SSTATE_DIR = "${TOPDIR}/build/sstate-cache" + +# +# Shared-state files from other locations +# +# As mentioned above, shared state files are prebuilt cache data objects which +# can be used to accelerate build time. This variable can be used to configure +# the system to search other mirror locations for these objects before it +# builds the data itself. +# +# This can be a filesystem directory, or a remote url such as http or ftp. +# These would contain the sstate-cache results from previous builds (possibly +# from other machines). This variable works like fetcher MIRRORS/PREMIRRORS +# and points to the cache locations to check for the shared objects. +#SSTATE_MIRRORS ?= "\ +#file://.* http://someserver.tld/share/sstate/ \n \ +#file://.* file:///some/local/dir/sstate/" + +# +# Where to place the build output +# +# This option specifies where the bulk of the building work should be done and +# where BitBake should place its temporary files and output. Keep in mind that +# this includes the extraction and compilation of many applications and the toolchain +# which can use Gigabytes of hard disk space. +TMPDIR = "${TOPDIR}/arago-tmp" + +# By default, DEPLOY_DIR is inside TMPDIR, but can be changed here to be outside +#DEPLOY_DIR = "${TOPDIR}/deploy" + +# +# Machine Selection +# +# You need to select a specific machine to target the build with. There are a selection +# of emulated machines available which can boot and run in the QEMU emulator: +# +#MACHINE ?= "arago" + +# +# Package Management configuration +# +# This variable lists which packaging formats to enable. Multiple package backends +# can be enabled at once and the first item listed in the variable will be used +# to generate the root filesystems. +# Options are: +# - 'package_deb' for debian style deb files +# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager) +# - 'package_rpm' for rpm style packages +# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" +# We default to ipk: +PACKAGE_CLASSES ?= "package_ipk" + +# +# SDK/ADT target architecture +# +# This variable specified the architecture to build SDK/ADT items for and means +# you can build the SDK packages for architectures other than the machine you are +# running the build on (i.e. building i686 packages on an x86_64 host._ +# Supported values are i686 and x86_64 +SDKMACHINE ?= "x86_64" + +# +# Extra image configuration defaults +# +# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated +# images. Some of these options are added to certain image types automatically. The +# variable can contain the following options: +# "dbg-pkgs" - add -dbg packages for all installed packages +# (adds symbol information for debugging/profiling) +# "dev-pkgs" - add -dev packages for all installed packages +# (useful if you want to develop against libs in the image) +# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) +# "tools-debug" - add debugging tools (gdb, strace) +# "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only)) +# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) +# "empty-root-password" - the root user has no password set +# "allow-empty-password" - users can have an empty password +# "allow-root-login" - the root user can login +# "post-install-logging" - log the output of postinstall scriptlets +# There are other application targets that can be used here too, see +# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. +# We default to enabling the empty root login settings for debugging/testing. +EXTRA_IMAGE_FEATURES = "empty-root-password allow-empty-password allow-root-login post-install-logging" + +# +# Additional image features +# +# The following is a list of additional classes to use when building images which +# enable extra features. Some available options which can be included in this variable +# are: +# - 'buildstats' collect build statistics +# - 'image-swab' to perform host system intrusion detection +# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended +USER_CLASSES ?= "buildstats" + +# By default disable interactive patch resolution (tasks will just fail instead): +PATCHRESOLVE = "noop" + +# By default the machine configuration file sets the IMAGE_FSTYPES. But if you +# would like to add additional file system types you can uncomment the +# following line and add the additional IMAGE_FSTYPES you want created +# as part of the build flow. Some common types are listed below and you +# can remove the ones you do not want. +# IMAGE_FSTYPES += "jffs2 cramfs ext2.gz ext3.gz squashfs ubi tar.gz tar.bz2 cpio" + +# +# Parallelism Options +# +# These two options control how much parallelism BitBake should use. The first +# option determines how many tasks bitbake should run in parallel: +# +# BB_NUMBER_THREADS ?= "1" +# +# The second option controls how many processes make should run in parallel when +# running compile tasks: +# +# PARALLEL_MAKE ?= "-j 1" +# +# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would +# be appropriate for example +# +# NOTE: By default, bitbake will choose the number of processeors on your host +# so you should not need to set this unless you are wanting to lower the number +# allowed. +# + +DISTRO = "arago" + +# Set terminal types by default it expects gnome-terminal +# but we chose xterm +TERMCMD = "${XTERM_TERMCMD}" +TERMCMDRUN = "${XTERM_TERMCMDRUN}" + +# Don't generate the mirror tarball for SCM repos, the snapshot is enough +BB_GENERATE_MIRROR_TARBALLS = "0" + +# Uncomment this to remove work directory after packaging to save disk space +#INHERIT += "rm_work" + +# Keep one set of images by default +RM_OLD_IMAGE = "1" + +# Enable local PR service for binary feeds +PRSERV_HOST = "localhost:0" + +# Enable hash equiv server +BB_SIGNATURE_HANDLER = "OEEquivHash" +BB_HASHSERVE = "auto" + +# It is recommended to activate "buildhistory" for testing the PR service +INHERIT += "buildhistory" +BUILDHISTORY_COMMIT = "1" + + +#==================================================================== +# Settings from oe-layersetup config file: arago-master-selinux-config +# +# Do not remove. +#-------------------------------------------------------------------- +DISTRO_FEATURES:append = " acl xattr pam selinux" +#==================================================================== diff --git a/conf/templates/arago-scarthgap-selinux-config/bblayers.conf.sample b/conf/templates/arago-scarthgap-selinux-config/bblayers.conf.sample new file mode 100644 index 0000000..e46cf86 --- /dev/null +++ b/conf/templates/arago-scarthgap-selinux-config/bblayers.conf.sample @@ -0,0 +1,32 @@ +# This template file was created by taking the oe-core/meta/conf/bblayers.conf +# file and removing the BBLAYERS section at the end. + +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "5" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/../meta-arago/meta-arago-distro + ##OEROOT##/../meta-arago/meta-arago-extras + ##OEROOT##/../meta-arago/meta-arago-demos + ##OEROOT##/../meta-arago/meta-arago-test + ##OEROOT##/../meta-selinux + ##OEROOT##/../meta-qt5 + ##OEROOT##/../meta-virtualization + ##OEROOT##/../meta-openembedded/meta-networking + ##OEROOT##/../meta-openembedded/meta-python + ##OEROOT##/../meta-openembedded/meta-oe + ##OEROOT##/../meta-openembedded/meta-gnome + ##OEROOT##/../meta-openembedded/meta-filesystems + ##OEROOT##/../meta-openembedded/meta-multimedia + ##OEROOT##/../meta-ti/meta-ti-extras + ##OEROOT##/../meta-ti/meta-ti-bsp + ##OEROOT##/../meta-arm/meta-arm + ##OEROOT##/../meta-arm/meta-arm-toolchain + ##OEROOT##/../meta-clang + ##OEROOT##/../oe-core/meta + ##OEROOT##/../oe-layersetup +" diff --git a/conf/templates/arago-scarthgap-selinux-config/conf-notes.txt b/conf/templates/arago-scarthgap-selinux-config/conf-notes.txt new file mode 100644 index 0000000..1880460 --- /dev/null +++ b/conf/templates/arago-scarthgap-selinux-config/conf-notes.txt @@ -0,0 +1,22 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake ' + +If you have not set MACHINE in your local.conf you can run +'MACHINE=xxxxx bitbake ' + +Common targets are: + tisdk-default-image + tisdk-base-image + tisdk-bootstrap-base-image + tisdk-bootstrap-image + tisdk-thinlinux-image + tisdk-tiny-image + +You can also run generated qemu images with a command like 'runqemu qemux86-64'. + +Other commonly useful commands are: + - 'devtool' and 'recipetool' handle common recipe tasks + - 'bitbake-layers' handles common layer tasks + - 'oe-pkgdata-util' handles common target package tasks diff --git a/conf/templates/arago-scarthgap-selinux-config/conf-summary.txt b/conf/templates/arago-scarthgap-selinux-config/conf-summary.txt new file mode 100644 index 0000000..2f60f0c --- /dev/null +++ b/conf/templates/arago-scarthgap-selinux-config/conf-summary.txt @@ -0,0 +1 @@ +Arago reference distribution for scarthgap diff --git a/conf/templates/arago-scarthgap-selinux-config/local.conf.sample b/conf/templates/arago-scarthgap-selinux-config/local.conf.sample new file mode 100644 index 0000000..e7dbf47 --- /dev/null +++ b/conf/templates/arago-scarthgap-selinux-config/local.conf.sample @@ -0,0 +1,184 @@ +# CONF_VERSION is increased each time build/conf/ changes incompatibly +CONF_VERSION = "2" + +# +# Where to place downloads +# +# During a first build the system will download many different source code +# tarballs from various upstream projects. This can take a while, particularly +# if your network connection is slow. These are all stored in DL_DIR. When +# wiping and rebuilding you can preserve this directory to speed up this part +# of subsequent builds. This directory is safe to share between multiple builds +# on the same machine too. +DL_DIR = "${TOPDIR}/downloads" + +# +# Where to place shared-state files +# +# BitBake has the capability to accelerate builds based on previously built +# output. This is done using "shared state" files which can be thought of as +# cache objects and this option determines where those files are placed. +# +# You can wipe out TMPDIR leaving this directory intact and the build would +# regenerate from these files if no changes were made to the configuration. +# If changes were made to the configuration, only shared state files where the +# state was still valid would be used (done using checksums). +SSTATE_DIR = "${TOPDIR}/build/sstate-cache" + +# +# Shared-state files from other locations +# +# As mentioned above, shared state files are prebuilt cache data objects which +# can be used to accelerate build time. This variable can be used to configure +# the system to search other mirror locations for these objects before it +# builds the data itself. +# +# This can be a filesystem directory, or a remote url such as http or ftp. +# These would contain the sstate-cache results from previous builds (possibly +# from other machines). This variable works like fetcher MIRRORS/PREMIRRORS +# and points to the cache locations to check for the shared objects. +#SSTATE_MIRRORS ?= "\ +#file://.* http://someserver.tld/share/sstate/ \n \ +#file://.* file:///some/local/dir/sstate/" + +# +# Where to place the build output +# +# This option specifies where the bulk of the building work should be done and +# where BitBake should place its temporary files and output. Keep in mind that +# this includes the extraction and compilation of many applications and the toolchain +# which can use Gigabytes of hard disk space. +TMPDIR = "${TOPDIR}/arago-tmp" + +# By default, DEPLOY_DIR is inside TMPDIR, but can be changed here to be outside +#DEPLOY_DIR = "${TOPDIR}/deploy" + +# +# Machine Selection +# +# You need to select a specific machine to target the build with. There are a selection +# of emulated machines available which can boot and run in the QEMU emulator: +# +#MACHINE ?= "arago" + +# +# Package Management configuration +# +# This variable lists which packaging formats to enable. Multiple package backends +# can be enabled at once and the first item listed in the variable will be used +# to generate the root filesystems. +# Options are: +# - 'package_deb' for debian style deb files +# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager) +# - 'package_rpm' for rpm style packages +# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" +# We default to ipk: +PACKAGE_CLASSES ?= "package_ipk" + +# +# SDK/ADT target architecture +# +# This variable specified the architecture to build SDK/ADT items for and means +# you can build the SDK packages for architectures other than the machine you are +# running the build on (i.e. building i686 packages on an x86_64 host._ +# Supported values are i686 and x86_64 +SDKMACHINE ?= "x86_64" + +# +# Extra image configuration defaults +# +# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated +# images. Some of these options are added to certain image types automatically. The +# variable can contain the following options: +# "dbg-pkgs" - add -dbg packages for all installed packages +# (adds symbol information for debugging/profiling) +# "dev-pkgs" - add -dev packages for all installed packages +# (useful if you want to develop against libs in the image) +# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) +# "tools-debug" - add debugging tools (gdb, strace) +# "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only)) +# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) +# "debug-tweaks" - make an image suitable for development +# e.g. ssh root access has a blank password +# There are other application targets that can be used here too, see +# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. +# We default to enabling the debugging tweaks. +EXTRA_IMAGE_FEATURES = "debug-tweaks" + +# +# Additional image features +# +# The following is a list of additional classes to use when building images which +# enable extra features. Some available options which can be included in this variable +# are: +# - 'buildstats' collect build statistics +# - 'image-swab' to perform host system intrusion detection +# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended +USER_CLASSES ?= "buildstats" + +# By default disable interactive patch resolution (tasks will just fail instead): +PATCHRESOLVE = "noop" + +# By default the machine configuration file sets the IMAGE_FSTYPES. But if you +# would like to add additional file system types you can uncomment the +# following line and add the additional IMAGE_FSTYPES you want created +# as part of the build flow. Some common types are listed below and you +# can remove the ones you do not want. +# IMAGE_FSTYPES += "jffs2 cramfs ext2.gz ext3.gz squashfs ubi tar.gz tar.bz2 cpio" + +# +# Parallelism Options +# +# These two options control how much parallelism BitBake should use. The first +# option determines how many tasks bitbake should run in parallel: +# +# BB_NUMBER_THREADS ?= "1" +# +# The second option controls how many processes make should run in parallel when +# running compile tasks: +# +# PARALLEL_MAKE ?= "-j 1" +# +# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would +# be appropriate for example +# +# NOTE: By default, bitbake will choose the number of processeors on your host +# so you should not need to set this unless you are wanting to lower the number +# allowed. +# + +DISTRO = "arago" + +# Set terminal types by default it expects gnome-terminal +# but we chose xterm +TERMCMD = "${XTERM_TERMCMD}" +TERMCMDRUN = "${XTERM_TERMCMDRUN}" + +# Don't generate the mirror tarball for SCM repos, the snapshot is enough +BB_GENERATE_MIRROR_TARBALLS = "0" + +# Uncomment this to remove work directory after packaging to save disk space +#INHERIT += "rm_work" + +# Keep one set of images by default +RM_OLD_IMAGE = "1" + +# Enable local PR service for binary feeds +PRSERV_HOST = "localhost:0" + +# Enable hash equiv server +BB_SIGNATURE_HANDLER = "OEEquivHash" +BB_HASHSERVE = "auto" + +# It is recommended to activate "buildhistory" for testing the PR service +INHERIT += "buildhistory" +BUILDHISTORY_COMMIT = "1" + + +#==================================================================== +# Settings from oe-layersetup config file: arago-scarthgap-selinux-config +# +# Do not remove. +#-------------------------------------------------------------------- +DISTRO_FEATURES:append = " acl xattr pam selinux" +#==================================================================== diff --git a/configs/arago-master-chromium-config.txt b/configs/arago-master-chromium-config.txt index 189d6aa..75df1ed 100644 --- a/configs/arago-master-chromium-config.txt +++ b/configs/arago-master-chromium-config.txt @@ -4,6 +4,7 @@ bitbake,https://git.openembedded.org/bitbake,master,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,master,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test meta-browser,https://github.com/OSSystems/meta-browser.git,master,HEAD,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,master,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,master,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,master,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,master,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/configs/arago-master-config.txt b/configs/arago-master-config.txt index 95d4ede..bdbf9ef 100644 --- a/configs/arago-master-config.txt +++ b/configs/arago-master-config.txt @@ -4,6 +4,7 @@ bitbake,https://git.openembedded.org/bitbake,master,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,master,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test #meta-browser,https://github.com/OSSystems/meta-browser.git,master,HEAD,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,master,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,master,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,master,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,master,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/configs/arago-master-next-config.txt b/configs/arago-master-next-config.txt index aecddcd..0fbdb62 100644 --- a/configs/arago-master-next-config.txt +++ b/configs/arago-master-next-config.txt @@ -12,6 +12,7 @@ MOTD: NOTE: bitbake,https://git.openembedded.org/bitbake,master,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,master-next,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test #meta-browser,https://github.com/OSSystems/meta-browser.git,master,HEAD,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,master,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,master,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,master,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,master,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/configs/arago-master-selinux-config.txt b/configs/arago-master-selinux-config.txt new file mode 100644 index 0000000..4b02b2d --- /dev/null +++ b/configs/arago-master-selinux-config.txt @@ -0,0 +1,20 @@ +# This file takes repo entries in the format +# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern] + +bitbake,https://git.openembedded.org/bitbake,master,HEAD +meta-arago,https://git.yoctoproject.org/meta-arago,master,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test +#meta-browser,https://github.com/OSSystems/meta-browser.git,master,HEAD,layers=meta-chromium +meta-selinux,https://git.yoctoproject.org/meta-selinux,master,HEAD,layers= +meta-qt5,https://github.com/meta-qt5/meta-qt5.git,master,HEAD,layers= +meta-virtualization,https://git.yoctoproject.org/meta-virtualization,master,HEAD,layers= +meta-openembedded,https://git.openembedded.org/meta-openembedded,master,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia +meta-ti,https://git.yoctoproject.org/meta-ti,master,HEAD,layers=meta-ti-extras:meta-ti-bsp +meta-arm,https://git.yoctoproject.org/meta-arm,master,HEAD,layers=meta-arm:meta-arm-toolchain +meta-clang,https://github.com/kraj/meta-clang,master,HEAD,layers= +oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta + +OECORELAYERCONF=./sample-files/bblayers.conf.sample +OECORELOCALCONF=./sample-files/local-arago64-v3.conf.sample +BITBAKE_INCLUSIVE_VARS=yes + +LOCALCONF:DISTRO_FEATURES:append = " acl xattr pam selinux" diff --git a/configs/arago-master-wip-config.txt b/configs/arago-master-wip-config.txt index 0c4a031..3ca1ec9 100644 --- a/configs/arago-master-wip-config.txt +++ b/configs/arago-master-wip-config.txt @@ -4,6 +4,7 @@ bitbake,https://git.openembedded.org/bitbake,master,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,master-wip,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test #meta-browser,https://github.com/OSSystems/meta-browser.git,master,HEAD,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,master,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,master,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,master,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,master,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/configs/arago-scarthgap-chromium-config.txt b/configs/arago-scarthgap-chromium-config.txt index d700ec4..31e1fa8 100644 --- a/configs/arago-scarthgap-chromium-config.txt +++ b/configs/arago-scarthgap-chromium-config.txt @@ -4,6 +4,7 @@ bitbake,https://git.openembedded.org/bitbake,2.8,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,scarthgap,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,scarthgap,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/configs/arago-scarthgap-config.txt b/configs/arago-scarthgap-config.txt index 1fcfc50..0e81d34 100644 --- a/configs/arago-scarthgap-config.txt +++ b/configs/arago-scarthgap-config.txt @@ -4,6 +4,7 @@ bitbake,https://git.openembedded.org/bitbake,2.8,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,scarthgap,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,scarthgap,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/configs/arago-scarthgap-next-config.txt b/configs/arago-scarthgap-next-config.txt index d588ca6..d93b6d4 100644 --- a/configs/arago-scarthgap-next-config.txt +++ b/configs/arago-scarthgap-next-config.txt @@ -12,6 +12,7 @@ MOTD: NOTE: bitbake,https://git.openembedded.org/bitbake,2.8,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-next,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,scarthgap,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,scarthgap,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/configs/arago-scarthgap-selinux-config.txt b/configs/arago-scarthgap-selinux-config.txt new file mode 100644 index 0000000..1c6f6c6 --- /dev/null +++ b/configs/arago-scarthgap-selinux-config.txt @@ -0,0 +1,20 @@ +# This file takes repo entries in the format +# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern] + +bitbake,https://git.openembedded.org/bitbake,2.8,HEAD +meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test +#meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium +meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,HEAD,layers= +meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers= +meta-virtualization,https://git.yoctoproject.org/meta-virtualization,scarthgap,HEAD,layers= +meta-openembedded,https://git.openembedded.org/meta-openembedded,scarthgap,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia +meta-ti,https://git.yoctoproject.org/meta-ti,scarthgap,HEAD,layers=meta-ti-extras:meta-ti-bsp +meta-arm,https://git.yoctoproject.org/meta-arm,scarthgap,HEAD,layers=meta-arm:meta-arm-toolchain +meta-clang,https://github.com/kraj/meta-clang,scarthgap,HEAD,layers= +oe-core,https://git.openembedded.org/openembedded-core,scarthgap,HEAD,layers=meta + +OECORELAYERCONF=./sample-files/bblayers.conf.sample +OECORELOCALCONF=./sample-files/local-arago64-v2.conf.sample +BITBAKE_INCLUSIVE_VARS=yes + +LOCALCONF:DISTRO_FEATURES:append = " acl xattr pam selinux" diff --git a/configs/arago-scarthgap-wip-config.txt b/configs/arago-scarthgap-wip-config.txt index d0af3d4..7b67cde 100644 --- a/configs/arago-scarthgap-wip-config.txt +++ b/configs/arago-scarthgap-wip-config.txt @@ -4,6 +4,7 @@ bitbake,https://git.openembedded.org/bitbake,2.8,HEAD meta-arago,https://git.yoctoproject.org/meta-arago,scarthgap-wip,HEAD,layers=meta-arago-distro:meta-arago-extras:meta-arago-demos:meta-arago-test #meta-browser,https://github.com/OSSystems/meta-browser.git,master,1ed2254d72a4c25879014c98be287a7e3e22904c,layers=meta-chromium +#meta-selinux,https://git.yoctoproject.org/meta-selinux,scarthgap,HEAD,layers= meta-qt5,https://github.com/meta-qt5/meta-qt5.git,scarthgap,HEAD,layers= meta-virtualization,https://git.yoctoproject.org/meta-virtualization,scarthgap,HEAD,layers= meta-openembedded,https://git.openembedded.org/meta-openembedded,scarthgap,HEAD,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems:meta-multimedia diff --git a/kas/arago-master-selinux-config.yml b/kas/arago-master-selinux-config.yml new file mode 100644 index 0000000..af37fcf --- /dev/null +++ b/kas/arago-master-selinux-config.yml @@ -0,0 +1,68 @@ +header: + version: 17 + includes: + - ./templates/bblayers.conf.yml + - ./templates/local-arago64-v3.conf.yml + +target: tisdk-default-image + +repos: + meta-arago: + url: "https://git.yoctoproject.org/meta-arago" + branch: "master" + layers: + meta-arago-distro: + meta-arago-extras: + meta-arago-demos: + meta-arago-test: + + meta-selinux: + url: "https://git.yoctoproject.org/meta-selinux" + branch: "master" + + meta-qt5: + url: "https://github.com/meta-qt5/meta-qt5.git" + branch: "master" + + meta-virtualization: + url: "https://git.yoctoproject.org/meta-virtualization" + branch: "master" + + meta-openembedded: + url: "https://git.openembedded.org/meta-openembedded" + branch: "master" + layers: + meta-networking: + meta-python: + meta-oe: + meta-gnome: + meta-filesystems: + meta-multimedia: + + meta-ti: + url: "https://git.yoctoproject.org/meta-ti" + branch: "master" + layers: + meta-ti-extras: + meta-ti-bsp: + + meta-arm: + url: "https://git.yoctoproject.org/meta-arm" + branch: "master" + layers: + meta-arm: + meta-arm-toolchain: + + meta-clang: + url: "https://github.com/kraj/meta-clang" + branch: "master" + + oe-core: + url: "https://git.openembedded.org/openembedded-core" + branch: "master" + layers: + meta: + +local_conf_header: + oe-layersetup-local-conf-config-specific: | + DISTRO_FEATURES:append = " acl xattr pam selinux" diff --git a/kas/arago-scarthgap-selinux-config.yml b/kas/arago-scarthgap-selinux-config.yml new file mode 100644 index 0000000..02ded02 --- /dev/null +++ b/kas/arago-scarthgap-selinux-config.yml @@ -0,0 +1,68 @@ +header: + version: 17 + includes: + - ./templates/bblayers.conf.yml + - ./templates/local-arago64-v2.conf.yml + +target: tisdk-default-image + +repos: + meta-arago: + url: "https://git.yoctoproject.org/meta-arago" + branch: "scarthgap" + layers: + meta-arago-distro: + meta-arago-extras: + meta-arago-demos: + meta-arago-test: + + meta-selinux: + url: "https://git.yoctoproject.org/meta-selinux" + branch: "scarthgap" + + meta-qt5: + url: "https://github.com/meta-qt5/meta-qt5.git" + branch: "scarthgap" + + meta-virtualization: + url: "https://git.yoctoproject.org/meta-virtualization" + branch: "scarthgap" + + meta-openembedded: + url: "https://git.openembedded.org/meta-openembedded" + branch: "scarthgap" + layers: + meta-networking: + meta-python: + meta-oe: + meta-gnome: + meta-filesystems: + meta-multimedia: + + meta-ti: + url: "https://git.yoctoproject.org/meta-ti" + branch: "scarthgap" + layers: + meta-ti-extras: + meta-ti-bsp: + + meta-arm: + url: "https://git.yoctoproject.org/meta-arm" + branch: "scarthgap" + layers: + meta-arm: + meta-arm-toolchain: + + meta-clang: + url: "https://github.com/kraj/meta-clang" + branch: "scarthgap" + + oe-core: + url: "https://git.openembedded.org/openembedded-core" + branch: "scarthgap" + layers: + meta: + +local_conf_header: + oe-layersetup-local-conf-config-specific: | + DISTRO_FEATURES:append = " acl xattr pam selinux" diff --git a/src/configs/arago-master-chromium-config.xml b/src/configs/arago-master-chromium-config.xml index 922b6c3..8e73d0f 100644 --- a/src/configs/arago-master-chromium-config.xml +++ b/src/configs/arago-master-chromium-config.xml @@ -22,6 +22,9 @@ meta-chromium + + + diff --git a/src/configs/arago-master-config.xml b/src/configs/arago-master-config.xml index 2a845e2..33a0210 100644 --- a/src/configs/arago-master-config.xml +++ b/src/configs/arago-master-config.xml @@ -22,6 +22,9 @@ meta-chromium + + + diff --git a/src/configs/arago-master-next-config.xml b/src/configs/arago-master-next-config.xml index ca6fe53..ebdbf53 100644 --- a/src/configs/arago-master-next-config.xml +++ b/src/configs/arago-master-next-config.xml @@ -23,6 +23,9 @@ meta-chromium + + + diff --git a/src/configs/arago-master-selinux-config.xml b/src/configs/arago-master-selinux-config.xml new file mode 100644 index 0000000..f6cfc8b --- /dev/null +++ b/src/configs/arago-master-selinux-config.xml @@ -0,0 +1,75 @@ + + + Arago reference distribution for master + + + + + + + + + + + meta-arago-distro + meta-arago-extras + meta-arago-demos + meta-arago-test + + + + + meta-chromium + + + + + + + + + + + + + + meta-networking + meta-python + meta-oe + meta-gnome + meta-filesystems + meta-multimedia + + + + + meta-ti-extras + meta-ti-bsp + + + + + meta-arm + meta-arm-toolchain + + + + + + + + meta + + + + + + DISTRO_FEATURES:append = " acl xattr pam selinux" + + + + + + + + diff --git a/src/configs/arago-master-wip-config.xml b/src/configs/arago-master-wip-config.xml index 378e023..6148d25 100644 --- a/src/configs/arago-master-wip-config.xml +++ b/src/configs/arago-master-wip-config.xml @@ -22,6 +22,9 @@ meta-chromium + + + diff --git a/src/configs/arago-scarthgap-chromium-config.xml b/src/configs/arago-scarthgap-chromium-config.xml index 13d83c1..de86b18 100644 --- a/src/configs/arago-scarthgap-chromium-config.xml +++ b/src/configs/arago-scarthgap-chromium-config.xml @@ -22,6 +22,9 @@ meta-chromium + + + diff --git a/src/configs/arago-scarthgap-config.xml b/src/configs/arago-scarthgap-config.xml index abb69aa..eeeffd6 100644 --- a/src/configs/arago-scarthgap-config.xml +++ b/src/configs/arago-scarthgap-config.xml @@ -22,6 +22,9 @@ meta-chromium + + + diff --git a/src/configs/arago-scarthgap-next-config.xml b/src/configs/arago-scarthgap-next-config.xml index e4313a1..a91fbb2 100644 --- a/src/configs/arago-scarthgap-next-config.xml +++ b/src/configs/arago-scarthgap-next-config.xml @@ -23,6 +23,9 @@ meta-chromium + + + diff --git a/src/configs/arago-scarthgap-selinux-config.xml b/src/configs/arago-scarthgap-selinux-config.xml new file mode 100644 index 0000000..bb37f71 --- /dev/null +++ b/src/configs/arago-scarthgap-selinux-config.xml @@ -0,0 +1,75 @@ + + + Arago reference distribution for scarthgap + + + + + + + + + + + meta-arago-distro + meta-arago-extras + meta-arago-demos + meta-arago-test + + + + + meta-chromium + + + + + + + + + + + + + + meta-networking + meta-python + meta-oe + meta-gnome + meta-filesystems + meta-multimedia + + + + + meta-ti-extras + meta-ti-bsp + + + + + meta-arm + meta-arm-toolchain + + + + + + + + meta + + + + + + DISTRO_FEATURES:append = " acl xattr pam selinux" + + + + + + + + diff --git a/src/configs/arago-scarthgap-wip-config.xml b/src/configs/arago-scarthgap-wip-config.xml index afea4e9..6395fa0 100644 --- a/src/configs/arago-scarthgap-wip-config.xml +++ b/src/configs/arago-scarthgap-wip-config.xml @@ -22,6 +22,9 @@ meta-chromium + + +