[yocto] [meta-raspberrypi][PATCH 0/2] Fix core-image-sato build failure
Builds of core-image-sato (userland) against poky master fail as libepoxy fails to build. This patch-set adds needed userland .pc files for libepoxy and adds needed paths for include files to the libepoxy recipe Alex J Lennon (2): userland: add .pc files for the OpenGLESv2 and EGL libraries libepoxy: add needed include paths for RPi recipes-graphics/libepoxy/libepoxy_git.bbappend| 2 + .../0004-rpi-userland-add-pkgconfig-files.patch| 53 ++ recipes-graphics/userland/userland_git.bb | 6 ++- 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 recipes-graphics/libepoxy/libepoxy_git.bbappend create mode 100644 recipes-graphics/userland/userland/0004-rpi-userland-add-pkgconfig-files.patch -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH 1/2] userland: add .pc files for the OpenGLESv2 and EGL libraries
These pkg-config files make it easier for libepoxy to find those libraries and the appropriate link flags. Modified from Thomas Petazzoni's patch here: http://goo.gl/jdz7lO Signed-off-by: Alex J Lennon --- .../0004-rpi-userland-add-pkgconfig-files.patch| 53 ++ recipes-graphics/userland/userland_git.bb | 6 ++- 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 recipes-graphics/userland/userland/0004-rpi-userland-add-pkgconfig-files.patch diff --git a/recipes-graphics/userland/userland/0004-rpi-userland-add-pkgconfig-files.patch b/recipes-graphics/userland/userland/0004-rpi-userland-add-pkgconfig-files.patch new file mode 100644 index 000..2d454a4 --- /dev/null +++ b/recipes-graphics/userland/userland/0004-rpi-userland-add-pkgconfig-files.patch @@ -0,0 +1,53 @@ +Add .pc files for the OpenGLESv2 and EGL libraries + +Those pkg-config files make it easier for Qt5 to find those libraries +and the appropriate link flags. + +(Modified to apply to userland by Alex J Lennon) + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Alex J Lennon + +diff -urN git.org/interface/khronos/CMakeLists.txt git/interface/khronos/CMakeLists.txt +--- git.org/interface/khronos/CMakeLists.txt 2015-10-22 11:51:22.616445270 +0100 git/interface/khronos/CMakeLists.txt 2015-10-22 11:55:32.024448754 +0100 +@@ -74,3 +74,11 @@ + + install(TARGETS EGL GLESv2 OpenVG WFC khrn_client DESTINATION lib) + install(TARGETS EGL_static GLESv2_static khrn_static DESTINATION lib) ++configure_file("${CMAKE_CURRENT_SOURCE_DIR}/egl/egl.pc.in" ++ "${CMAKE_CURRENT_BINARY_DIR}/egl/egl.pc" @ONLY) ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/egl/egl.pc" ++ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") ++configure_file("${CMAKE_CURRENT_SOURCE_DIR}/glxx/glesv2.pc.in" ++ "${CMAKE_CURRENT_BINARY_DIR}/glxx/glesv2.pc" @ONLY) ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/glxx/glesv2.pc" ++ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") +diff -urN git.org/interface/khronos/egl/egl.pc.in git/interface/khronos/egl/egl.pc.in +--- git.org/interface/khronos/egl/egl.pc.in1970-01-01 01:00:00.0 +0100 git/interface/khronos/egl/egl.pc.in2015-10-22 11:54:25.724447827 +0100 +@@ -0,0 +1,10 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: egl ++Description: RasberryPi implementation of EGL ++Version: 1.0 ++Libs: -L${libdir} -lEGL -lGLESv2 ++Cflags: -I${includedir}/ -I${includedir}/interface/vcos/pthreads/ +diff -urN git.org/interface/khronos/glxx/glesv2.pc.in git/interface/khronos/glxx/glesv2.pc.in +--- git.org/interface/khronos/glxx/glesv2.pc.in1970-01-01 01:00:00.0 +0100 git/interface/khronos/glxx/glesv2.pc.in2015-10-22 11:54:50.248448170 +0100 +@@ -0,0 +1,10 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: glesv2 ++Description: RasberryPi implementation of OpenGL ESv2 ++Version: 2.0 ++Libs: -L${libdir} -lGLESv2 ++Cflags: -I${includedir}/ diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index 896229e..46ae2c2 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb @@ -21,11 +21,12 @@ SRC_URI = "\ file://0001-fix-gcc-5.x-inlines.patch \ file://0002-fix-musl-build.patch \ file://0003-fix-alloc-size-uninitialized.patch \ +file://0004-rpi-userland-add-pkgconfig-files.patch \ " S = "${WORKDIR}/git" -inherit cmake +inherit cmake pkgconfig EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" CFLAGS_append = " -fPIC" @@ -43,7 +44,8 @@ FILES_${PN} += " \ ${libdir}/*${SOLIBS} \ ${libdir}/plugins" FILES_${PN}-dev = "${includedir} \ - ${prefix}/src" + ${prefix}/src \ + ${libdir}/pkgconfig/*.pc" FILES_${PN}-doc += "${datadir}/install" FILES_${PN}-dbg += "${libdir}/plugins/.debug" -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH 2/2] libepoxy: add needed include paths for RPi
ref: https://github.com/raspberrypi/firmware/issues/34 Signed-off-by: Alex J Lennon --- recipes-graphics/libepoxy/libepoxy_git.bbappend | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 recipes-graphics/libepoxy/libepoxy_git.bbappend diff --git a/recipes-graphics/libepoxy/libepoxy_git.bbappend b/recipes-graphics/libepoxy/libepoxy_git.bbappend new file mode 100644 index 000..e6a428c --- /dev/null +++ b/recipes-graphics/libepoxy/libepoxy_git.bbappend @@ -0,0 +1,2 @@ +EXTRA_OECONF_append_raspberrypi = " CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads'" +EXTRA_OECONF_append_raspberrypi2 = " CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads'" -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Release Candidate Build for yocto-2.0.rc2.rc2 now available.
-e A release candidate build for yocto-2.0.rc2 is now available at: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.rc2 Please begin QA on this build as soon as possible. Build hash information: meta-intel : 6e91701dcf68f9351db8bb0b92eb2d26af1b8f7f meta-fsl-arm : 5efa2d7c81a4c1f3590a3e2f8cf77bf2f2d756e9 meta-minnow : 9c965ef5252e383843d796cd8b50c61b3034b6ae meta-qt3 : 5233565c80db869f6f539f37f26ea6662d9dc5f6 meta-fsl-ppc : 84263d57fcada761a350015ce4d77fb91af54bf8 poky : 505a82673ac2487df5ea343a6422c2fc47018831 This is an automated message from The Yocto Project Autobuilder Git: git://git.yoctoproject.org/yocto-autobuilder Email: elizabeth.flana...@intel.com -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH v2] linux-raspberrypi: support configuration fragments / in-tree defconfig
Synopsis Start using Yocto kernel configuration fragments[0] and the "in-tree defconfig" solution provided in poky[1]. To specify an "in-tree" defconfig file, you may edit the recipe that builds your kernel so that it has the following command form: KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file You need to append the variable with KMACHINE and then supply the path to your "in-tree" defconfig file. In order to achieve this meta-raspberrypi needs to: - start using KBUILD_DEFCONFIG_KMACHINE - remove placeholder defconfig and custom copying logic. - avoid replacing all Yocto project configured settings in do_configure_prepend. In many cases it should not be necessary to change the defconfig file used. Instead Yocto supports use of kernel configuration fragment files to override the in-tree defconfig defaults[0]. For more background regarding this migration read the bugzilla bug info[2]. [0] - http://www.yoctoproject.org/docs/1.8/kernel-dev/kernel-dev.html#changing-the-configuration [1] - http://www.yoctoproject.org/docs/1.8/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file [2] - https://bugzilla.yoctoproject.org/show_bug.cgi?id=7474 Testing === Poky master (#6d8ace03) core-image-sato with MACHINE=raspberrypi2 Kernels 3.18.16 / 4.1.10 (1) with no fragment files defined, using in-tree defconfig, kernels/images build and boot without error. - build host kernel .config file contains CONFIG_SND_BCM2835=m. - post boot, target aplay -l reports no sound devices until module is loaded. - post modprobe, target aplay -l reports sound device. (2) adding a test configuration fragment to build sound driver into the kernel. - build host kernel .config file contains CONFIG_SND_BCM2835=y. - post boot, target aplay -l reports sound device with no modprobe step. Note: It may be necessary to clean sstate for the kernel after adding a new configuration fragment to the SRC_URI, e.g. bitbake -c cleansstate virtual/kernel Sample Fragment Implementation == linux-raspberrypi.inc: +SRC_URI += " \ +file://build-in-audio.cfg \ +" linux-raspberrypi/build-in-audio.cfg: +CONFIG_SND=y +CONFIG_SND_BCM2835=y Signed-off-by: Alex J Lennon --- recipes-kernel/linux/linux-raspberrypi.inc | 12 recipes-kernel/linux/linux-raspberrypi/defconfig | 1 - recipes-kernel/linux/linux.inc | 7 +++ 3 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 recipes-kernel/linux/linux-raspberrypi/defconfig diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 70e8bfe..d3766c4 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc @@ -6,10 +6,6 @@ SECTION = "kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" -SRC_URI += " \ -file://defconfig \ -" - COMPATIBLE_MACHINE = "raspberrypi" PE = "1" @@ -18,6 +14,10 @@ PV = "${LINUX_VERSION}+git${SRCPV}" # NOTE: For now we pull in the default config from the RPi kernel GIT tree. KERNEL_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig" +KMACHINE ?= "${MACHINE}" +KCONFIG_MODE = "--alldefconfig" +KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" +KBUILD_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig" # CMDLINE for raspberrypi CMDLINE = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" @@ -42,10 +42,6 @@ python __anonymous () { d.setVar("DEPENDS", depends) } -do_kernel_configme_prepend() { -install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." -} - do_install_prepend() { install -d ${D}/lib/firmware } diff --git a/recipes-kernel/linux/linux-raspberrypi/defconfig b/recipes-kernel/linux/linux-raspberrypi/defconfig deleted file mode 100644 index ecbf32c..000 --- a/recipes-kernel/linux/linux-raspberrypi/defconfig +++ /dev/null @@ -1 +0,0 @@ -# Dummy file to get through do_kernel_configme. diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc index fae78b7..7ed80af 100644 --- a/recipes-kernel/linux/linux.inc +++ b/recipes-kernel/linux/linux.inc @@ -33,8 +33,7 @@ kernel_configure_variable() { } do_configure_prepend() { -# Clean .config -echo "" > ${B}/.config +mv -f ${B}/.config ${B}/.config.patched CONF_SED_SCRIPT="" # oabi / eabi support @@ -109,8 +108,8 @@ do_configure_prepend() { # Keep this the last line # Remove all modified configs and add the rest to .config -sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config' - +sed -e "${CONF_SED_SCRIPT}" < '${B}/.config.patched' >> '${B}/.config' +rm -f ${B}/.config.patched yes '' | oe_runmake oldconfig }
[yocto] [meta-raspberrypi][PATCH] README: Add section on audio routing
See http://redmine.gherzan.com/issues/55 Signed-off-by: Alex J Lennon --- README | 36 +++- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/README b/README index e32de3a..e16dee9 100644 --- a/README +++ b/README @@ -199,8 +199,34 @@ able to compile omxplayer you will need to whiteflag the commercial license adding to you local.conf: LICENSE_FLAGS_WHITELIST = "commercial" +4. Board Configuration +== -4. Source code and mirrors +4.A. Audio Routing +== +To load audio driver + +modprobe snd-bcm2835 + +To test audio playback + +e.g. aplay test.wav + +Note that without HDMI connected this emits audio from the 3.5in jack connector +as expected. However With an HDMI display connected there is no audio output from +the jack connector. + +To force the audio routing via the 3.5in jack connector use + +amixer cset numid=3 1 + +Options to amixer cset are: + +0=auto +1=headphones +2=hdmi + +5. Source code and mirrors == Main repo: @@ -214,10 +240,10 @@ Bitbucket mirror: https://bitbucket.org/agherzan/meta-raspberrypi -5. Contributing +6. Contributing === -5.A. Mailing list +6.A. Mailing list = The main communication tool we use is a mailing list: yocto@yoctoproject.org @@ -241,7 +267,7 @@ When sending patches to mailing list, please use something like: git send-email --to yocto@yoctoproject.org -5.B. Redmine +6.B. Redmine In order to manage and trace the meta-raspberrypi issues, we use redmine: http://redmine.gherzan.ro/projects/meta-raspberrypi @@ -255,7 +281,7 @@ for a bug: [Bug #13] -6. Maintainers +7. Maintainers == Andrei Gherzan -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] How to output all distro features in a given build?
I know how to add and remove distro features. However, what I'm after is how to dynamically list all the distro features that a build thinks is needs once all the files are combined together. For example, one can look at dependencies for a _single_ package by doing: $ bitbake -g seescan-image-ccu-dev -u depexp Also, one can look in the manifest file for all the included packages. This is great. I'm after for a method to do the same for distro features. Frederick -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] using do_install_append?
Hello, This seems like it should be an easy task, but perhaps I'm missing something very basic so it is not working. I have working recipe that installs the fluxbox window manager. However I want to customize the default runtime configuration files located in /usr/share/fluxbox. To do this I created fluxbox_1.3.5.bbappend in order to replace the default configuration files with my own. This file contains the following: FILESEXTRAPATHS_prepend_poky := "${THISDIR}/files:" SRC_URI = "file://apps \ file://init \ file://keys \ file://menu \ file://overlay \ file://windowmenu " # # Install the customized Fluxbox configuration files. # do_install_append() { install -m 0644 ${WORKDIR}/apps ${D}{datadir}/fluxbox/apps install -m 0644 ${WORKDIR}/init ${D}{datadir}/fluxbox/init install -m 0644 ${WORKDIR}/keys ${D}{datadir}/fluxbox/keys install -m 0644 ${WORKDIR}/menu ${D}{datadir}/fluxbox/menu install -m 0644 ${WORKDIR}/windowmenu${D}{datadir}/fluxbox/windowmenu } However now when I bitbake fluxbox it fails to configure: ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING ERROR: Logfile of failure stored in: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/temp/log.do_configure.32643 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | NOTE: nothing to configure | DEBUG: Shell function do_configure finished | DEBUG: Executing python function do_qa_configure | NOTE: Checking autotools environment for common misconfiguration | DEBUG: Python function do_qa_configure finished | ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING ERROR: Task 5 (/export/home/dwsmith/poky-fido-13.0.0/meta-lightwm-master/recipes-fluxbox/fluxbox/fluxbox_1.3.5.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 793 tasks of which 792 didn't need to be rerun and 1 failed. Why would adding a do_install_append cause the config to now fail? What am I missing? I can remove fluxbox_1.3.5.bbappend and it works fine, so there is obviously something I'm not doing right. Thanks for nay help you can provide. -Daniel Smith This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] using do_install_append?
On 2015-10-22 12:26, Smith, Daniel W wrote: Hello, This seems like it should be an easy task, but perhaps I’m missing something very basic so it is not working. I have working recipe that installs the fluxbox window manager. However I want to customize the default runtime configuration files located in /usr/share/fluxbox. To do this I created fluxbox_1.3.5.bbappend in order to replace the default configuration files with my own. This file contains the following: FILESEXTRAPATHS_prepend_poky := "${THISDIR}/files:" Have you tried leaving off the _poky qualifier? e.g. FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI = "file://apps \ file://init \ file://keys \ file://menu \ file://overlay \ file://windowmenu " # # Install the customized Fluxbox configuration files. # do_install_append() { install -m 0644 ${WORKDIR}/apps ${D}{datadir}/fluxbox/apps install -m 0644 ${WORKDIR}/init ${D}{datadir}/fluxbox/init install -m 0644 ${WORKDIR}/keys ${D}{datadir}/fluxbox/keys install -m 0644 ${WORKDIR}/menu ${D}{datadir}/fluxbox/menu install -m 0644 ${WORKDIR}/windowmenu${D}{datadir}/fluxbox/windowmenu } However now when I bitbake fluxbox it fails to configure: ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING ERROR: Logfile of failure stored in: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/temp/log.do_configure.32643 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | NOTE: nothing to configure | DEBUG: Shell function do_configure finished | DEBUG: Executing python function do_qa_configure | NOTE: Checking autotools environment for common misconfiguration | DEBUG: Python function do_qa_configure finished | ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING ERROR: Task 5 (/export/home/dwsmith/poky-fido-13.0.0/meta-lightwm-master/recipes-fluxbox/fluxbox/fluxbox_1.3.5.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 793 tasks of which 792 didn't need to be rerun and 1 failed. Why would adding a do_install_append cause the config to now fail? What am I missing? I can remove fluxbox_1.3.5.bbappend and it works fine, so there is obviously something I’m not doing right. Thanks for nay help you can provide. -Daniel Smith This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. -- Gary Thomas | Consulting for the MLB Associates |Embedded world -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] using do_install_append?
On 2015-10-22 12:26, Smith, Daniel W wrote: Hello, This seems like it should be an easy task, but perhaps I’m missing something very basic so it is not working. I have working recipe that installs the fluxbox window manager. However I want to customize the default runtime configuration files located in /usr/share/fluxbox. To do this I created fluxbox_1.3.5.bbappend in order to replace the default configuration files with my own. This file contains the following: FILESEXTRAPATHS_prepend_poky := "${THISDIR}/files:" SRC_URI = "file://apps \ file://init \ file://keys \ file://menu \ file://overlay \ file://windowmenu " Shouldn't this be SRC_URI_append ? Otherwise, your .bbappend will be writing over the SRC_URI from the original recipe. Also, please CC your replies to the list so that everyone benefits. # # Install the customized Fluxbox configuration files. # do_install_append() { install -m 0644 ${WORKDIR}/apps ${D}{datadir}/fluxbox/apps install -m 0644 ${WORKDIR}/init ${D}{datadir}/fluxbox/init install -m 0644 ${WORKDIR}/keys ${D}{datadir}/fluxbox/keys install -m 0644 ${WORKDIR}/menu ${D}{datadir}/fluxbox/menu install -m 0644 ${WORKDIR}/windowmenu${D}{datadir}/fluxbox/windowmenu } However now when I bitbake fluxbox it fails to configure: ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING ERROR: Logfile of failure stored in: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/temp/log.do_configure.32643 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | NOTE: nothing to configure | DEBUG: Shell function do_configure finished | DEBUG: Executing python function do_qa_configure | NOTE: Checking autotools environment for common misconfiguration | DEBUG: Python function do_qa_configure finished | ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING ERROR: Task 5 (/export/home/dwsmith/poky-fido-13.0.0/meta-lightwm-master/recipes-fluxbox/fluxbox/fluxbox_1.3.5.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 793 tasks of which 792 didn't need to be rerun and 1 failed. Why would adding a do_install_append cause the config to now fail? What am I missing? I can remove fluxbox_1.3.5.bbappend and it works fine, so there is obviously something I’m not doing right. Thanks for nay help you can provide. -Daniel Smith This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. -- Gary Thomas | Consulting for the MLB Associates |Embedded world -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] using do_install_append?
> > On 2015-10-22 12:26, Smith, Daniel W wrote: > > Hello, > > > > This seems like it should be an easy task, but perhaps I'm missing > something very basic so it is not working. > > > > I have working recipe that installs the fluxbox window manager. However I > want to customize the default runtime configuration files located in > /usr/share/fluxbox. To do this I > > created fluxbox_1.3.5.bbappend in order to replace the default > configuration files with my own. > > > > This file contains the following: > > > > FILESEXTRAPATHS_prepend_poky := "${THISDIR}/files:" > > > > SRC_URI = "file://apps \ > > > > file://init \ > > > > file://keys \ > > > > file://menu \ > > > > file://overlay \ > > > > file://windowmenu " > > Shouldn't this be SRC_URI_append ? Otherwise, your .bbappend will be > writing over the SRC_URI from the original recipe. > > Also, please CC your replies to the list so that everyone benefits. > [Smith, Daniel W] OK, now we are getting somewhere. It configures now that I fixed it to append. That was causing it to never fetch the source so it never actually obtained the license file. Thanks I knew it had to be something very simple I was missing. I was also missing '$' before the {datadir}. -Daniel Smith This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Alternate Terminal
Does anyone know of an easy way to install xterm, gnome-terminal, or Konsole on Yocto. I need a terminal window that has a -e option to execute a program in the shell, which matchbox-terminal appears to not support. Thanks, -Daniel Smith This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto