Rework towards agl profiles.
This change is part of a series of changes to create the
AGL profiles.
This set will mainly introduce the 'core' profile.
It is setup to be a drop-in change, thus some files were kept
in (dummy) locations for now.
However, they'll be taken care of in the next changes in this series.
The main target of the meta-agl-profile-core layer is to host:
- a minimal, bootable image with network and package management enabled
-- agl-image-boot
- a minimal image with network and packagemanagement and the AGL APIs
-- agl-image-minimal
The layer meta-agl-profile-graphical is used as superset of these
and includes support for egl+wayland+weston. All recipes concerning
graphics were moved there. This is not a full profile as we still have
to migrate some parts of meta-agl-demo in a follow-up changeset.
The roadmap as discussed during the F2F session in Karlsruhe is:
- week 16 : core profile and profiles w/o graphics
- week 17 : graphical profiles
- week 18 : final conversion of the demo image
v2: moved agl-login-manager from -graphics to -core (see Jose's comment)
v3: moved back after discussion - follow-up in separate changeset
Change-Id: Idacb0d1274baac1f63f8d1b850d4b1104ac33918
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
IMAGE_FEATURES =+ "debug-tweaks eclipse-debug tools-debug tools-profile"
-IMAGE_INSTALL_append = " \
- packagegroup-agl-devel \
-"
+#IMAGE_INSTALL_append = " \
+# packagegroup-agl-core-devel \
+#"
IMAGE_INSTALL_append = "${@bb.utils.contains('IMAGE_FSTYPES', 'wic.vmdk', ' open-vm-tools vboxguestdrivers', '', d)}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
-BBFILE_COLLECTIONS += "ivi-common"
-BBFILE_PATTERN_ivi-common = "^${LAYERDIR}/"
-BBFILE_PRIORITY_ivi-common = "70"
+BBFILE_COLLECTIONS += "aglprofilecore"
+BBFILE_PATTERN_aglprofilecore = "^${LAYERDIR}/"
+BBFILE_PRIORITY_aglprofilecore = "80"
--- /dev/null
+SUMMARY = "An AGL small image just capable of allowing a device to boot."
+
+require agl-image-boot.inc
+
+LICENSE = "MIT"
+
+IMAGE_INSTALL_append = "\
+ packagegroup-agl-image-boot \
+ "
--- /dev/null
+IMAGE_LINGUAS = " "
+
+inherit core-image
+
+IMAGE_INSTALL = "${CORE_IMAGE_EXTRA_INSTALL}"
+
+IMAGE_ROOTFS_SIZE ?= "8192"
+
+# Allow extra IMAGE_FSTYPES to be added by boards configs
+IMAGE_FSTYPES += "${AGL_EXTRA_IMAGE_FSTYPES}"
--- /dev/null
+DESCRIPTION = "The minimal set of packages required by AGL"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-agl-image-boot \
+ "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+ packagegroup-core-boot-agl \
+ "
+
+
+RDEPENDS_${PN} += "\
+ "
RDEPENDS_${PN} += "\
packagegroup-agl-image-minimal \
- packagegroup-ivi-common-core \
"
RDEPENDS_${PN} += "\
inherit packagegroup
PACKAGES = "\
+ packagegroup-agl-test \
+ packagegroup-agl-test-ltp \
packagegroup-ivi-common-test \
- packagegroup-ivi-common-test-ltp \
"
ALLOW_EMPTY_${PN} = "1"
linpack \
linus-stress \
lmbench \
- ltp \
nbench-byte \
- packagegroup-ivi-common-test-ltp \
rt-tests \
stress \
"
# FTBS, SPEC-1384
# trinity
+# packagegroup-agl-test-ltp \
+# ltp \
+#
# Packages for shell commands which are required by LTP
# readelf, logrotate, vsftpd, crontab, sar, arp, ftp,
# host, rcp, rlogin, rsh, tcpdump, expect, iptables, dnsmasq,
# pgrep
-RDEPENDS_packagegroup-ivi-common-test-ltp += " \
+RDEPENDS_packagegroup-agl-test-ltp += " \
initscripts-functions bind-utils binutils \
cronie dnsmasq expect inetutils-ftp inetutils-rsh \
iptables logrotate net-tools sysstat tcpdump vsftpd \
"
+
+RDEPENDS_packagegroup-ivi-common-test = " \
+ packagegroup-agl-test \
+ "
--- /dev/null
+# We have a conf and classes directory, add to BBPATH
+BBPATH =. "${LAYERDIR}:"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "aglprofiledemo"
+BBFILE_PATTERN_aglprofiledemo = "^${LAYERDIR}/"
+BBFILE_PRIORITY_aglprofiledemo = "70"
--- /dev/null
+DESCRIPTION = "The minimal set of packages for Multimedia Subsystem"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-ivi-common-core-multimedia \
+ "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+ "
--- /dev/null
+# We have a conf and classes directory, add to BBPATH
+BBPATH =. "${LAYERDIR}:"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "aglprofilegraphical"
+BBFILE_PATTERN_aglprofilegraphical = "^${LAYERDIR}/"
+BBFILE_PRIORITY_aglprofilegraphical = "70"
SRC_URI_append = "\
file://0001-Change-socket-mode-add-rw-for-group.patch \
"
+EXTRA_OECONF_append = " --enable-ivi-shell"
+++ /dev/null
-SUMMARY = "Utilities for testing of AGL"
-DESCRIPTION = "A set of packages required by testing AGL for Quality Assurance"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-agl-test \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Automotive Subsystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-automotive \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += " "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Connectivity Subsystem "
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-connectivity \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Graphics Subsystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-graphics \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- weston weston-init weston-ini-conf weston-examples \
- wayland-ivi-extension \
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Kernel Subysystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-kernel \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Multimedia Subsystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-multimedia \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- ${@bb.utils.contains('DISTRO_FEATURES', 'agl-audio-4a-framework', '' , 'agl-audio-plugin', d)} \
- alsa-utils \
- pulseaudio-server \
- pulseaudio-misc \
- ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '\
- pulseaudio-module-bluetooth-discover \
- pulseaudio-module-bluetooth-policy \
- pulseaudio-module-bluez5-discover \
- pulseaudio-module-bluez5-device \
- pulseaudio-module-switch-on-connect \
- pulseaudio-module-loopback \
- ','', d)} \
- gstreamer1.0-meta-base \
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Navigation and Location Based Services Subsystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-navi-lbs \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Operating System and Common libraries Subsystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-os-commonlibs \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- procps \
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Security Subsystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-security \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of common packages required by Speech Services Subsystem"
-
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core-speech-services \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- "
+++ /dev/null
-SUMMARY = "The middlewares for AGL IVI profile"
-DESCRIPTION = "A set of packagegroups which contain common packages required by AGL Distribution"
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
- packagegroup-ivi-common-core \
- "
-
-ALLOW_EMPTY_${PN} = "1"
-
-RDEPENDS_${PN} += "\
- packagegroup-ivi-common-core-automotive \
- packagegroup-ivi-common-core-connectivity \
- packagegroup-ivi-common-core-graphics \
- packagegroup-ivi-common-core-multimedia \
- packagegroup-ivi-common-core-navi-lbs \
- packagegroup-ivi-common-core-os-commonlibs \
- packagegroup-ivi-common-core-speech-services \
- packagegroup-ivi-common-core-security \
- packagegroup-ivi-common-core-kernel \
- "
+++ /dev/null
-EXTRA_OECONF_append = " --enable-ivi-shell"
#see meta-agl/meta-agl/conf/include/base-agl.inc
require conf/include/base-agl.inc
+
+#see meta-agl/meta-app-framework/conf/include/agl-appfw-smack.inc
+require conf/include/agl-appfw-smack.inc
# with some automotive tools/libraries
#-----------------------------------------------------
AGL_CORE_LAYERS = " \
- ${METADIR}/meta-agl/meta-ivi-common \
- ${METADIR}/meta-agl/meta-agl \
+ ${METADIR}/meta-agl/meta-agl-profile-core \
${METADIR}/meta-agl/meta-agl-distro \
${METADIR}/meta-agl/meta-agl-bsp \
"
+AGL_APPFW_LAYERS = " \
+ ${METADIR}/meta-security \
+ ${METADIR}/meta-openembedded/meta-perl \
+ ${METADIR}/meta-agl/meta-security \
+ ${METADIR}/meta-agl/meta-app-framework \
+ "
+
+
# These are the direct dependencies of the AGL CORE Layers
#---------------------------------------------------------
AGL_CORE_DEPENDENCY_LAYERS = " \
${METADIR}/meta-openembedded/meta-filesystems \
"
+# temporary ... to avoid build breakage. To move to upper layers.
+AGL_TEMP_GFX_LAYERS = " \
+ ${METADIR}/meta-agl/meta-agl-profile-graphical \
+ ${METADIR}/meta-agl/meta-agl-profile-demo \
+ "
+
+
####################
# Combine the layers
BBLAYERS ?= " \
${AGL_CORE_DEPENDENCY_LAYERS} \
${AGL_CORE_LAYERS} \
+ ${AGL_APPFW_LAYERS} \
+ ${AGL_TEMP_GFX_LAYERS} \
${YOCTO_LAYERS} \
"
BBLAYERS_NON_REMOVABLE ?= " \
${METADIR}/poky/meta \
${METADIR}/poky/meta-poky \
- ${METADIR}//meta-agl/meta-agl \
+ ${METADIR}/meta-agl/meta-agl-profile-core \
+ ${METADIR}/meta-agl/meta-agl-distro \
"
+
+++ /dev/null
-BBLAYERS =+ " \
- ${METADIR}/meta-security \
- ${METADIR}/meta-openembedded/meta-perl \
- ${METADIR}/meta-agl/meta-security \
- ${METADIR}/meta-agl/meta-app-framework \
- "
-
-#see meta-agl/meta-app-framework/conf/include/agl-appfw-smack.inc
-require conf/include/agl-appfw-smack.inc
-agl-devel agl-netboot agl-appfw-smack
\ No newline at end of file
+agl-devel agl-netboot
\ No newline at end of file
-agl-demo agl-devel agl-netboot agl-appfw-smack
+agl-demo agl-devel agl-netboot
-agl-devel agl-netboot agl-appfw-smack agl-archiver
+agl-devel agl-netboot agl-archiver
-agl-demo agl-devel agl-netboot agl-appfw-smack agl-archiver
+agl-demo agl-devel agl-netboot agl-archiver