openembedded

(Yocto / OpenEmbedded) Enabling systemd's libcryptsetup

给你一囗甜甜゛ 提交于 2020-02-04 23:57:07
问题 I am trying to enable systemd's libcryptsetup module in order to decrypt a drive at bootup through crypttab. It seems crypttab is not present because the systemd-cryptsetup-generator is missing from the systemd (216) build. I have tried specifying the "cryptsetup" option in the PACKAGECONFIG?? statement and also specifying --enable-libcryptsetup as argument in the build but the option is disabled by the config script bitbake uses (it appends automatically --disable-cryptsetup after my enable

Adding DISTRO_FEATURES to image bitbake recipe

◇◆丶佛笑我妖孽 提交于 2020-02-04 01:46:11
问题 I've added support for virtualization in my yocto image by adding the following to my local.conf file: DISTRO_FEATURES_append= " virtualization" IMAGE_INSTALL_append = " docker docker-contrib" (as per instructions in https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/README). This is working fine, so now I'm trying to create a new image bitbake recipe to move this into so that I can build both with and without virtualization. I've added an image recipe which is as follows

Is it possible to pass in command line variables to a bitbake build?

[亡魂溺海] 提交于 2020-01-12 06:38:54
问题 I have an OpenEmbedded environment using bitbake to do some builds. I wanted to get something "interactive" going on where bitbake would pause and ask for input then continue with the build but I've found out that's not possible. Since I can't do that I'm looking for some way to pass in extra flags for the build. Is there any way to pass in flags to a bitbake build sort of like gcc's -D option? ie: bitbake -Dfoo=bar oe-myimage Thus during the build process of oe-myimage the variable foo will

bitbake: adding php-intl support to php recipe

一世执手 提交于 2020-01-06 06:44:18
问题 I need to build a php package supporting the intl extension with bitbake (http://php.net/manual/en/intl.installation.php). So I created a bbappend: bernardo@bernardo-UX51VZA:~/dev/yocto/meta-steempi$ cat recipes-devtools/php/php_7.%.bbappend DEPENDS += " icu apache2" RDEPENDS_${PN} += " icu apache2" PACKAGECONFIG_append_pn-php = " apache2 icu icu-dev" EXTRA_OECONF += " --with-openssl=${STAGING_DIR_TARGET}${exec_prefix} \ --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION

How to install directory structure recursively in OpenEmbedded BitBake recipe?

百般思念 提交于 2020-01-03 18:26:18
问题 I'd like to simplify a BitBake recipe that installs a large directory structure by using some sort of recursive install routine rather than calling install many times. The source directory layout is frequently changing during development, which is causing far more recipe revisions than I want to deal with. As an example, how would the following do_install() be simplified from this: do_install() { install -d ${D}/foo install -m 0644 ${S}/foo/*.* ${D}/foo install -d ${D}/foo/a install -m 0644 $

Analog Devices Inc. Yocto/OpenEmbedded layer

戏子无情 提交于 2019-12-27 15:07:56
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Type Name Latest commit message Commit time meta-adi-bsp meta-adi-bsp: add 2019_R1 linux recipe 4 days ago meta-adi-core meta-adi-core: Add jesd-status recipe 8 months ago meta-adi-xilinx treewide: bump kernel version to 4.19 4 days ago LICENSE Initial commit 9 months ago README.md doc: Add link to meta-adi-bsp from the top level README 7 months ago README.md META-ADI Collection of layers to support Analog Devices based platforms. Please refer to the README of each layer for more information. Analog Devices layer to build Xilinx based SoC FPGA based

Why does my BitBake autotools recipe fail during do_configure?

流过昼夜 提交于 2019-12-25 18:20:12
问题 I am attempting to create a fairly simple BitBake recipe that uses autotools, which you can see here: SUMMARY = "an example autotools recipe" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" inherit autotools SRC_URI = "file://${TOPDIR}/piu/geo_utilities" S = "${TOPDIR}/piu/geo_utilities" After starting a BitBake build with this recipe's default package included, do_configure fails with the following: configure: exit 0 WARNING: /home

Error while running poky-qemu: version `GLIBC_2.17' not found. How to solve this?

て烟熏妆下的殇ゞ 提交于 2019-12-25 16:24:26
问题 I am using 32Bit Ubuntu 14.04, where newest version of libc6 is already installed. When I run 'poky-qemu qemuppc zImage-2.6.37-qemuppc-1.0.bin yocto-image-lsb-sdk-qemuppc-1.0.rootfs.ext3' , I am getting following error: /opt/poky/1.0/sysroots/i686-pokysdk-linux/usr/bin/qemu-system-ppc: /opt/poky/1.0/sysroots/i686-pokysdk-linux/lib/libc.so.6: version `GLIBC_2.17' not found (required by /usr/lib/i386-linux-gnu/libdrm.so.2) Is this problem in toolchain or my host machine? How to solve this error

Source file not available anymore

半城伤御伤魂 提交于 2019-12-25 01:48:47
问题 I'm facing something new in my experience. An updated Yocto environment fails to build while fetching MariaDB : WARNING: mariadb-5.5.64-r0 do_fetch: Failed to fetch URL https://downloads.mariadb.org/f/mariadb-5.5.64/source/mariadb-5.5.64.tar.gz, attempting MIRRORS if available ERROR: mariadb-5.5.64-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-BIEhFRRkoA"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export

YOCTO Change kernel version and select drivers

♀尐吖头ヾ 提交于 2019-12-24 16:42:56
问题 I am trying to compile a new Linux kernel obtained from https://github.com/qoriq-open-source/linux (version 4.9) for T1042D4RDB-64B embedded board using Yocto . It's currently using 4.1.35-rt41 . I followed these steps: bitbake virtual/kernel -c cleansstate bitbake virtual/kernel -c patch replacing git folder with my new kernels source code (https://github.com/qoriq-open-source/linux) make ARCH=powerpc menuconfig bitbake virtual/kernel Result is The new kernel has compiled successfully but