[yocto] cryptsetup in initramfs causes ~4 MB image size increase
I'm interested to use an encrypted root filesystem, by using cryptsetup in initramfs. I'm finding that adding cryptsetup to an initramfs image increases its size by about 4 MB. It seems that cryptsetup depends on openssl and lvm2, and lvm2 depends on bash, and the result of that is that a lot of extra files get dragged in. Is this all strictly necessary? Perhaps cryptsetup really only needs libraries, not all of openssl and lvm2. What would be a good way to go about reducing the dependencies that get pulled in for cryptsetup? I also noticed that libgcrypt could possibly be used instead of openssl (by putting in bbappend, PACKAGECONFIG = ""), saving about 0.5 MB. However libgcrypt isn't used, according to the cryptsetup bb file, because it drops root privileges if it is linked with libcap support. That gives the obscure cryptsetup error "Cannot initialize device-mapper. Is dm_mod kernel module loaded?" when trying to use cryptsetup with libgcrypt. Is there any reasonable work-around for this? -- Craig McQueen -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] OpenCV yocto
On 06/20/2015 09:22 PM, Victor Rodriguez wrote: HI team I am having this same problem: http://stackoverflow.com/questions/25332969/opencv-pkg-config-cannot-find-lopencv-ts-when-compiling-using-g I try to build opencv simple source code : g++ hello.cpp -o video `pkg-config --cflags --libs opencv` Victor, you may take at look at this recipe (opencv_samples) http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recipes-support/opencv/opencv-samples_2.4.bb?h=master What I can see, seems that the `pkg-config --libs openvc` is missing on your bb. But got this error : /usr/lib/gcc/i586-poky-linux/4.9.2/../../../../i586-poky-linux/bin/ld: cannot find -lopencv_ts collect2: error: ld returned 1 exit status My local.conf is like this : EXTRA_IMAGE_FEATURES = "debug-tweaks tools-sdk" IMAGE_INSTALL_append = " mpich mpich-dev gcc gcc-dev openssh php mariadb opencv" LICENSE_FLAGS_WHITELIST = "commercial" CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev" All the help is more than welcome Best regards Victor Rodriguez -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [Recipe reporting system] Upgradable recipe name list
This mail was sent out by Recipe reporting system. This message list those recipes which need to be upgraded. If maintainers believe some of them needn't to upgrade this time, they can fill in RECIPE_NO_UPDATE_REASON_pn-"xxx" in upstream_tracking files to ignore this recipe remainder until newer upstream version was detected. Example: RECIPE_NO_UPDATE_REASON_pn-"xxx" = "Not upgrade to 2.0 is unstable" You can check the detail information at: http://packages.yoctoproject.org/ Package Version Upstream version Maintainer NoUpgradeReason --- --- -- nfs-utils 1.3.11.3.2 Alejandro Hernandez midori0.5.80.5.10Alejandro Hernandez python-smmap 0.8.20.9.0 Alejandro Hernandez python3 3.4.33.5.0b2 Alejandro Hernandez python2.7.93.5.0b2 Alejandro Hernandez cronie1.4.12 1.5.0 Alejandro Hernandez which 2.20 2.21 Alejandro Hernandez gnome-icon-theme 2.31.0 3.12.0Alejandro Hernandez jpeg 8d 9aAníbal Limón webkit-gtk 1.8.3 doesn't wo... dpkg 1.17.25 1.18.1Aníbal Limón sqlite3 3.8.10.0 3.8.10.2. Aníbal Limón mc4.8.13 4.8.14Aníbal Limón screen4.0.34.3.0 Aníbal Limón lz4 128+gitX r123 Armin Kuster nettle2.7.13.1rc3Armin Kuster 3.0.0 breaks gnutls, api ch... pinentry 0.9.20.9.4 Armin Kuster linux-libc-headers3.19 3.19.8Bruce Ashfield console-tools 0.3.21999.03.02Chen Qi dbus-test 1.8.10 1.9.16Chen Qi dbus 1.8.16 1.9.16Chen Qi systemd 219-stable+gitX 21522eade6dd8422b... Chen Qi kmod 20+gitX 21+gitAUTOINC+114... Chen Qi curl 7.42.1 7.43.0Chen Qi cups 2.0.22.1b1 Chen Qi sysstat 11.1.4 11.1.5Chen Qi bluez55.30 5.31 Cristian Iorga iproute2 3.17.0 4.0.0 Cristian Iorga libpcap 1.6.21.7.3 Cristian Iorga gstreamer1.0-libav1.4.51.5.1 Cristian Iorga gstreamer1.0-plug... 1.4.51.5.1 Cristian Iorga gstreamer1.0-plug... 1.4.51.5.1 Cristian Iorga gstreamer1.0-plug... 1.4.51.5.1 Cristian Iorga gstreamer1.0-plug... 1.4.51.5.1 Cristian Iorga gstreamer1.0 1.4.51.5.1 Cristian Iorga libvorbis 1.3.41.3.5 Cristian Iorga speex 1.2rc1 1.2rc2Cristian Iorga gstreamer1.0-rtsp... 1.4.51.5.1 Cristian Iorga db6.0.30 6.1.23.NC Cristian Iorga API compatibility issue libical 1.0.01.0.1 Cristian Iorga libtirpc 0.2.50.3.2 Cristian Iorga harfbuzz 0.9.40 0.9.41Cristian Iorga linux-yocto-rt3.14.36+gitX 3.14.39+gitAUTOIN... Darren Hart u-boot-fw-utils v2015.01+gitXv2015.04+gitAUTOI... Denys Dmytriyenko u-boot-mkimagev2015.01+gitXv2015.04+gitAUTOI... Denys Dmytriyenko u-bootv2015.01+gitXv2015.04+gitAUTOI... Denys Dmytriyenko ncurses 5.9 20150613 Hongxu Jia distcc3.1 3.2rc1Hongxu Jia elfutils 0.1610.163 Hongxu Jia perl 5.20.0 5.23.0Hongxu Jia createrepo0.4.11 0.10.4Hongxu Jia Versions after 0.9.* use YU... bash 4.3 4.3.30Hongxu Jia The latest version in yocto... gnupg 2.1.42.1.5 Hongxu Jia python-nose 1.3.61.3.7 Khem Raj python-numpy 1.7.01.9.2 Khem Raj rpm 5.4.14 5.4.15Mark Ha