diff --git a/conf/layer.conf b/conf/layer.conf index ba79626..c2f9a36 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -10,5 +10,5 @@ BBFILE_PATTERN_application-development = "^${LAYERDIR}/" BBFILE_PRIORITY_application-development = "6" LAYERDEPENDS_application-development = "core" -LAYERSERIES_COMPAT_application-development = "dunfell" +LAYERSERIES_COMPAT_application-development = "kirkstone" diff --git a/conf/machine/include/application.inc b/conf/machine/include/application.inc index 090965c..2147ae2 100644 --- a/conf/machine/include/application.inc +++ b/conf/machine/include/application.inc @@ -1,5 +1,5 @@ # To support layered ipk generation APP_LAYER_ARCH = "${MACHINE}-application" -PACKAGE_EXTRA_ARCHS_append = " ${APP_LAYER_ARCH}" +PACKAGE_EXTRA_ARCHS:append = " ${APP_LAYER_ARCH}" require package_revisions.inc diff --git a/conf/machine/include/package_revisions.inc b/conf/machine/include/package_revisions.inc index 1049d7a..34a4586 100644 --- a/conf/machine/include/package_revisions.inc +++ b/conf/machine/include/package_revisions.inc @@ -1,8 +1,8 @@ -PV_pn-rdkresidentapp= "1.0.0" -PR_pn-rdkresidentapp= "r0" -PACKAGE_ARCH_pn-lib32-rdkresidentapp = "${APP_LAYER_ARCH}" +PV:pn-rdkresidentapp= "1.0.0" +PR:pn-rdkresidentapp= "r0" +PACKAGE_ARCH:pn-rdkresidentapp = "${APP_LAYER_ARCH}" -PV_pn-residentui= "1.0.0" -PR_pn-residentui= "r0" -PACKAGE_ARCH_pn-lib32-residentui = "${APP_LAYER_ARCH}" +PV:pn-residentui= "1.0.0" +PR:pn-residentui= "r0" +PACKAGE_ARCH:pn-residentui = "${APP_LAYER_ARCH}" diff --git a/conf/template/bblayers.conf.sample b/conf/template/bblayers.conf.sample index 58a5ef7..b02ed7b 100644 --- a/conf/template/bblayers.conf.sample +++ b/conf/template/bblayers.conf.sample @@ -9,11 +9,13 @@ RDKROOT := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../.. include manifest_vars.conf BBLAYERS ?= " \ - ${RDKROOT}/rdke/common/poky/meta \ - ${RDKROOT}/rdke/common/meta-openembedded/meta-oe \ - ${RDKROOT}/rdke/common/meta-openembedded/meta-python \ - ${RDKROOT}/rdke/common/meta-openembedded/meta-multimedia \ - " + ${MANIFEST_PATH_POKY}/meta \ + ${MANIFEST_PATH_OPENEMBEDDED}/meta-oe \ + ${MANIFEST_PATH_OPENEMBEDDED}/meta-python \ + ${MANIFEST_PATH_OPENEMBEDDED}/meta-webserver \ + ${MANIFEST_PATH_OPENEMBEDDED}/meta-multimedia \ + ${MANIFEST_PATH_OPENEMBEDDED}/meta-networking \ +" BBLAYERS =+ "${@'${MANIFEST_PATH_COMMON_OSS_REFERENCE}' if os.path.isfile('${MANIFEST_PATH_COMMON_OSS_REFERENCE}/conf/layer.conf') else ''}" BBLAYERS =+ "${@'${MANIFEST_PATH_OSS_RELEASE}' if os.path.isfile('${MANIFEST_PATH_OSS_RELEASE}/conf/layer.conf') else ''}" @@ -24,7 +26,6 @@ BBLAYERS =+ "${@'${MANIFEST_PATH_APPLICATION_DEVELOPMENT}' if os.path.isfile('${ BBLAYERS =+ "${@'${MANIFEST_PATH_STACK_LAYERING_SUPPORT}' if os.path.isfile('${MANIFEST_PATH_STACK_LAYERING_SUPPORT}/conf/layer.conf') else ''}" BBLAYERS =+ "${@'${MANIFEST_PATH_RDK_AUXILIARY}' if os.path.isfile('${MANIFEST_PATH_RDK_AUXILIARY}/conf/layer.conf') else ''}" -BBLAYERS =+ "${@'${MANIFEST_PATH_IMAGE_SUPPORT}' if os.path.isfile('${MANIFEST_PATH_IMAGE_SUPPORT}/conf/layer.conf') else ''}" BBLAYERS =+ "${@'${MANIFEST_PATH_OPENEMBEDDED}' if os.path.isfile('${MANIFEST_PATH_OPENEMBEDDED}/conf/layer.conf') else ''}" BBLAYERS =+ "${@'${MANIFEST_PATH_POKY}' if os.path.isfile('${MANIFEST_PATH_POKY}/conf/layer.conf') else ''}" BBLAYERS =+ "${@'${MANIFEST_PATH_SCRIPTS}' if os.path.isfile('${MANIFEST_PATH_SCRIPTS}/conf/layer.conf') else ''}" @@ -33,5 +34,5 @@ BBLAYERS =+ "${@'${MANIFEST_PATH_VENDOR_RELEASE}' if os.path.isfile('${MANIFEST_ BBLAYERS =+ "${@'${MANIFEST_PATH_COMMON_CONFIG}' if os.path.isfile('${MANIFEST_PATH_COMMON_CONFIG}/conf/layer.conf') else ''}" BBLAYERS =+ "${@'${MANIFEST_PATH_PROFILE_CONFIG}' if os.path.isfile('${MANIFEST_PATH_PROFILE_CONFIG}/conf/layer.conf') else ''}" - - +# Optional layers +BBLAYERS =+ " ${@d.getVar('MANIFEST_PATH_IMAGE_SUPPORT') if d.getVar('MANIFEST_PATH_IMAGE_SUPPORT') is not None and os.path.isfile(d.getVar('MANIFEST_PATH_IMAGE_SUPPORT') + '/conf/layer.conf') else ''}" diff --git a/conf/template/local.conf.sample b/conf/template/local.conf.sample index fdbfaef..3ef9ef4 100644 --- a/conf/template/local.conf.sample +++ b/conf/template/local.conf.sample @@ -235,7 +235,7 @@ BB_DISKMON_DIRS = "\ # By default qemu will build with a builtin VNC server where graphical output can be # seen. The two lines below enable the SDL backend too. This assumes there is a # libsdl library available on your build system. -# PACKAGECONFIG_append_pn-qemu-native = " sdl" +# PACKAGECONFIG:append:pn-qemu-native = " sdl" # ASSUME_PROVIDED += "libsdl-native" # Nice debug data diff --git a/recipes-apps/rdkresidentapp/rdkresidentapp.bb b/recipes-apps/rdkresidentapp/rdkresidentapp.bb index 59f38ce..3f23133 100644 --- a/recipes-apps/rdkresidentapp/rdkresidentapp.bb +++ b/recipes-apps/rdkresidentapp/rdkresidentapp.bb @@ -4,7 +4,7 @@ HOMEPAGE = "" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3cc4d276e918f48b04eb2faf952d0537" -RDEPENDS_${PN} += "bash lighttpd wpeframework" +RDEPENDS:${PN} += "bash lighttpd wpeframework" inherit systemd syslog-ng-config-gen SYSLOG-NG_FILTER = "residentapp" SYSLOG-NG_SERVICE_residentapp = "residentapp.service" @@ -12,7 +12,7 @@ SYSLOG-NG_DESTINATION_residentapp = "residentapp.log" SYSLOG-NG_LOGRATE_residentapp = "low" # FIXME: Move to a common config -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" PACKAGE_ARCH = "${APP_LAYER_ARCH}" @@ -42,23 +42,23 @@ do_install() { } # Remove once RDKEMW-671 is release. Workaround to fix UI issue -do_install_append() { +do_install:append() { install -m 0644 ${S}/resources/systemd/wpeframework-rdkshell.service ${D}${systemd_unitdir}/system/wpeframework-rdkshell.service } # FIXME: Move to a common config -do_install_append() { +do_install:append() { install -d ${D}${sysconfdir}/lighttpd.d install -m 0644 ${WORKDIR}/ref-webui-docroot-path.conf ${D}${sysconfdir}/lighttpd.d/ } -SYSTEMD_SERVICE_${PN} = "residentapp.service" -FILES_${PN} += "${systemd_unitdir}/system/residentapp.service" -FILES_${PN} += "/lib/rdk/residentApp.sh" -FILES_${PN} += "${systemd_unitdir}/system/residentapp.service.d/*" +SYSTEMD_SERVICE:${PN} = "residentapp.service" +FILES:${PN} += "${systemd_unitdir}/system/residentapp.service" +FILES:${PN} += "/lib/rdk/residentApp.sh" +FILES:${PN} += "${systemd_unitdir}/system/residentapp.service.d/*" # Remove once RDKEMW-671 is release. Workaround to fix UI issue -SYSTEMD_SERVICE_${PN} += "wpeframework-rdkshell.service" -FILES_${PN} += "${systemd_unitdir}/system/wpeframework-rdkshell.service" +SYSTEMD_SERVICE:${PN} += "wpeframework-rdkshell.service" +FILES:${PN} += "${systemd_unitdir}/system/wpeframework-rdkshell.service" diff --git a/recipes-apps/residentui/residentui.bb b/recipes-apps/residentui/residentui.bb index 4cc3933..226b2fe 100644 --- a/recipes-apps/residentui/residentui.bb +++ b/recipes-apps/residentui/residentui.bb @@ -17,7 +17,7 @@ S = "${WORKDIR}/git/accelerator-home-ui/dist/" do_compile[noexec] = "1" do_configure[noexec] = "1" -RDEPENDS_${PN}-dev = "" +RDEPENDS:${PN}-dev = "" do_install() { install -d ${D}/home/root/lxresui @@ -25,4 +25,4 @@ do_install() { } -FILES_${PN} += "/home/root/*" +FILES:${PN} += "/home/root/*" diff --git a/recipes-core/images/application-test-image.bb b/recipes-core/images/application-test-image.bb index e427748..5ae912d 100644 --- a/recipes-core/images/application-test-image.bb +++ b/recipes-core/images/application-test-image.bb @@ -3,15 +3,19 @@ SUMMARY = "RDKE Bootable Image with App support" LICENSE = "MIT" IMAGE_INSTALL = " \ packagegroup-vendor-layer \ - packagegroup-middleware-generic \ + packagegroup-middleware-layer \ packagegroup-application-layer \ " +# VOLATILE_BINDS configuration can change for each layer, it has to be built locally across all layer +IMAGE_INSTALL:append = " volatile-binds" +# Todo: remove once https://github.com/rdk-e/meta-rdk-oss-reference/pull/429 is released +IMAGE_INSTALL:append = " virtual/default-font" inherit core-image inherit custom-rootfs-creation IMAGE_ROOTFS_SIZE ?= "8192" -IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}" +IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}" create_init_link() { ln -sf /sbin/init ${IMAGE_ROOTFS}/init diff --git a/recipes-core/packagegroups/packagegroup-application-layer.bb b/recipes-core/packagegroups/packagegroup-application-layer.bb index 8fdf2a8..263566e 100644 --- a/recipes-core/packagegroups/packagegroup-application-layer.bb +++ b/recipes-core/packagegroups/packagegroup-application-layer.bb @@ -8,7 +8,7 @@ inherit packagegroup ##Change the version number for each release. PV = "1.1.0" -RDEPENDS_packagegroup-application-layer = " \ +RDEPENDS:packagegroup-application-layer = " \ residentui \ rdkresidentapp \ "