From bb0882c5dad030f676e424265ebcd869bb3ff899 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Mon, 16 Apr 2018 22:14:52 +0200 Subject: Introduce meta-agl-profile-core and meta-agl-profile-graphics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../packagegroup-agl-core-automotive.bb | 13 ++++++ .../packagegroup-agl-core-connectivity.bb | 15 +++++++ .../packagegroup-agl-core-graphics.bb | 10 +++++ .../packagegroups/packagegroup-agl-core-kernel.bb | 13 ++++++ .../packagegroup-agl-core-multimedia.bb | 13 ++++++ .../packagegroup-agl-core-navi-lbs.bb | 13 ++++++ .../packagegroup-agl-core-os-commonlibs.bb | 13 ++++++ .../packagegroup-agl-core-security.bb | 13 ++++++ .../packagegroup-agl-core-speech-services.bb | 13 ++++++ .../packagegroups/packagegroup-agl-image-boot.bb | 18 ++++++++ .../packagegroup-agl-image-minimal.bb | 27 ++++++++++++ .../packagegroups/packagegroup-core-boot-agl.bb | 50 ++++++++++++++++++++++ 12 files changed, 211 insertions(+) create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-automotive.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-connectivity.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-graphics.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-kernel.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-multimedia.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-navi-lbs.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-os-commonlibs.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-security.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-speech-services.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-boot.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-minimal.bb create mode 100644 meta-agl-profile-core/recipes-core/packagegroups/packagegroup-core-boot-agl.bb (limited to 'meta-agl-profile-core/recipes-core/packagegroups') diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-automotive.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-automotive.bb new file mode 100644 index 000000000..d9f2279e1 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-automotive.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The minimal set of packages for Automotive Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-automotive \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-connectivity.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-connectivity.bb new file mode 100644 index 000000000..e909d5e5f --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-connectivity.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "The minimal set of packages for Connectivity Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-connectivity \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + dhcp-server \ + ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','connman','connman connman-client connman-tests connman-tools connman-ncurses','',d)} \ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-graphics.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-graphics.bb new file mode 100644 index 000000000..1cc6f457b --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-graphics.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "The minimal set of packages for Graphics Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-graphics \ + " + +ALLOW_EMPTY_${PN} = "1" diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-kernel.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-kernel.bb new file mode 100644 index 000000000..3d5556fd5 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-kernel.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The minimal set of packages for Kernel Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-kernel \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-multimedia.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-multimedia.bb new file mode 100644 index 000000000..01ca4cb85 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-multimedia.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The minimal set of packages for Multimedia Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-multimedia \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-navi-lbs.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-navi-lbs.bb new file mode 100644 index 000000000..2b04d5387 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-navi-lbs.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The minimal set of packages for Navigation and Location Based Services Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-navi-lbs \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-os-commonlibs.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-os-commonlibs.bb new file mode 100644 index 000000000..c44166e12 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-os-commonlibs.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The minimal set of packages for Operating System and Common libraries Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-os-commonlibs \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-security.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-security.bb new file mode 100644 index 000000000..eb5a68f0a --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-security.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The minimal set of packages for Security Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-security \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-speech-services.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-speech-services.bb new file mode 100644 index 000000000..a494e5889 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-core-speech-services.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The minimal set of packages for Speech Services Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-core-speech-services \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-boot.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-boot.bb new file mode 100644 index 000000000..29f859c49 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-boot.bb @@ -0,0 +1,18 @@ +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} += "\ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-minimal.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-minimal.bb new file mode 100644 index 000000000..630c11d43 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-agl-image-minimal.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "The minimal set of packages required by AGL" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-image-minimal \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + packagegroup-core-boot-agl \ + " + + +RDEPENDS_${PN} += "\ + packagegroup-agl-core-automotive \ + packagegroup-agl-core-connectivity \ + packagegroup-agl-core-graphics \ + packagegroup-agl-core-multimedia \ + packagegroup-agl-core-navi-lbs \ + packagegroup-agl-core-os-commonlibs \ + packagegroup-agl-core-speech-services \ + packagegroup-agl-core-security \ + packagegroup-agl-core-kernel \ + " diff --git a/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-core-boot-agl.bb b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-core-boot-agl.bb new file mode 100644 index 000000000..c9d679879 --- /dev/null +++ b/meta-agl-profile-core/recipes-core/packagegroups/packagegroup-core-boot-agl.bb @@ -0,0 +1,50 @@ +# +# Copyright (C) 2007 OpenedHand Ltd. +# +# derived from oe-core: meta/recipes-core/packagegroups/packagegroup-core-boot.bb + +SUMMARY = "Minimal boot requirements" +DESCRIPTION = "The minimal set of packages required to boot the system" +LICENSE = "MIT" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup + +# +# Set by the machine configuration with packages essential for device bootup +# +MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" + +# Distro can override the following VIRTUAL-RUNTIME providers: +VIRTUAL-RUNTIME_dev_manager ?= "udev" +VIRTUAL-RUNTIME_login_manager ?= "busybox" +VIRTUAL-RUNTIME_init_manager ?= "sysvinit" +VIRTUAL-RUNTIME_initscripts ?= "initscripts" +VIRTUAL-RUNTIME_keymaps ?= "keymaps" + +SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \ + modutils-initscripts \ + init-ifupdown \ + ${VIRTUAL-RUNTIME_initscripts} \ + " + +RDEPENDS_${PN} = "\ + base-files \ + base-passwd \ + busybox \ + run-agl-postinsts \ + ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \ + ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ + netbase \ + ${VIRTUAL-RUNTIME_login_manager} \ + ${VIRTUAL-RUNTIME_init_manager} \ + ${VIRTUAL-RUNTIME_dev_manager} \ + ${VIRTUAL-RUNTIME_update-alternatives} \ + ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" + +RRECOMMENDS_${PN} = "\ + tzdata \ + ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" + -- cgit 1.2.3-korg