Re: [yocto] Using anonymous python function to define variables
On Friday 12 December 2014 16:19:39 Ulf Winberg wrote: Thanks! Using python as a function with return value solved it. Great! When bb.parse.SkipPackage is used, there seems to be no warning when building. Does the text I wrote end up in a log somewhere? SkipPackage (or SkipRecipe which should really now be used instead) just marks the recipe as skipped - you only see the message when you try to build that recipe. I was testing the SOMEVAR example you give. Am I right to assume that the overrides only works for gobal variables, already defined elsewhere? I was not able to define one myself and use the overrides. No, that should work for any variable (and you can see existing examples where we do that, e.g. meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb ) Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Vacation time - out Christmas and New Years weeks
I will be on vacation Dec 22 through Dec 24 and Dec 29 through Dec 31. Scott Scott Rifenbark Intel Corporation Yocto Project Documentation 503.712.2702 503.341.0418 (cell) -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] USBmount and systemd-udev namespace conflict
Hello, I need to automount a usb drive when it is plugged in. I found that the necessary udev rules are in the udev-extraconf package so I added that to my build. I tried it but it does not really work since when I insert the key, it is in fact mounted by udev but since the mount namespace of udev is private and not the same one as the shell I want to check if the key is mounted, I don't see it. Is there a way to tell udev to mount using a global namespace so it can be seen be everybody? Thanks. François Gallichand Engineer - Software Group ABB Group Analytical Business (418)877-2944 x268 [ABB logo] -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] (no subject)
Hi, I have this problem: Assuming /home/fabricio/qemuarm-sato is an nfs rootfs Error: conflicting FSTYPE types [/home/fabricio/qemuarm-sato] and nfs Anybody can help me? Thanks in advance! -- Fabrício Gutemberg Lélis de Melo Master in Computer Science at UFCG http://fabriciolelis.googlepages.com/ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] PHP recipe do_install() function
I I'm trying to understand this snippet from the php recipe do_install_append_class-target() { install -d ${D}/${sysconfdir}/ if [ -d ${D}/${STAGING_DIR_NATIVE}/${sysconfdir} ];then mv ${D}/${STAGING_DIR_NATIVE}/${sysconfdir}/* ${D}/${sysconfdir}/ fi rm -rf ${D}/${TMPDIR} rm -rf ${D}/.registry rm -rf ${D}/.channels rm -rf ${D}/.[a-z]* rm -rf ${D}/var rm -f ${D}/${sysconfdir}/php-fpm.conf.default sed -i 's:${STAGING_DIR_NATIVE}::g' ${D}/${sysconfdir}/pear.conf install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf install -d ${D}/${sysconfdir}/apache2/conf.d install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf install -d ${D}${sysconfdir}/init.d sed -i 's:=/usr/sbin:=${sbindir}:g' ${B}/sapi/fpm/init.d.php-fpm sed -i 's:=/etc:=${sysconfdir}:g' ${B}/sapi/fpm/init.d.php-fpm sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm TMP=`dirname ${D}/${TMPDIR}` while test ${TMP} != ${D}; do rmdir ${TMP} TMP=`dirname ${TMP}`; done } I've written a bbappend for php that removes some of the options that I don't need and I'm having a problem with the rmdir ${TMP} line failing saying that the file or directory doesn't exist. Reading this function in its entirety ${TMP} shouldn't exist and this recipe shouldn't ever work because ${D}/${TMPDIR} has already been forcefully and recursively removed up at the top of the function. Am I missing something here? Thanks, Matt S. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] USBmount and systemd-udev namespace conflict
Hi, This is my way to use udev to automount a usb driver, perhaps it can help you. 1. Add udev rules. root # cat /etc/udev/rules.d/10-udevtest.rules KERNEL==sda,ACTION==add,OWNER:=udev,GROUP:=udevs 2. Add user and group. root # useradd udev root # groupadd udevs 3. start the udev service root # systemctl start systemd-udevd.service root # ps aux | grep udev root 21927 0.3 0.0 26140 1388 ?Ss 22:51 0:00 /lib/systemd/systemd-udevd 4. insert usb driver 5. check root # ls /dev/sda -al brw-rw 1 udev udevs 8, 0 Sep 15 03:13 /dev/sda - Best regards, Li From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Francois P. Gallichand Sent: Tuesday, December 16, 2014 3:34 AM To: yocto@yoctoproject.org Subject: [yocto] USBmount and systemd-udev namespace conflict Hello, I need to automount a usb drive when it is plugged in. I found that the necessary udev rules are in the udev-extraconf package so I added that to my build. I tried it but it does not really work since when I insert the key, it is in fact mounted by udev but since the mount namespace of udev is private and not the same one as the shell I want to check if the key is mounted, I don’t see it. Is there a way to tell udev to mount using a global namespace so it can be seen be everybody? Thanks. François Gallichand Engineer - Software Group ABB Group Analytical Business (418)877-2944 x268 [ABB logo] -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] adding drivers to rpi-basic-image
Hi allI have generated image for raspberrypi basic image rpi-basic-image using hob Now How can i add my TFT drivers or any other driver to the rpi-basic-image? I am also willing to know some more details on package importance in building raspberrypi image such that what those packages would do, if I add them to my image or how it helps? Actually I am into making a customized LINUX just for my target requirement so I want to be very specific on packages I am adding and why? Please guide me. warm regards Abhishek -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Agenda: Yocto Project Technical Team Meeting - Tuesday, Dec. 2, 2014 8:00 AM US Pacific Time
Tuesday, December 16, 2014 8:00 AM US Pacific Time Agenda: * Opens collection - 5 min (Stephen) * Yocto Project status - 5 min (Stephen/team) https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.8_Status https://wiki.yoctoproject.org/wiki/Yocto_1.8_Schedule https://wiki.yoctoproject.org/wiki/Yocto_1.8_Features * SWAT team rotation: Cristian - Nitin https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team * Opens - 10 min * Team Sharing - 10 min We encourage people attending the meeting to logon the Yocto Project IRC chancel during the meeting (optional): Yocto IRC: http://webchat.freenode.net/?channels=#yocto IRC Tutorial: http://www.irchelp.org/irchelp/irctutorial.html Conference Details: Company: WIND RIVER SYS Ready-Access Number: 8007302996/9139049836 Access Code: 2705751 For International numbers see: https://www.yoctoproject.org/tools-resources/community/weekly-technical-call Thanks, Stephen K. Jolley Yocto Project Program Manager INTEL, MS JF1-255, 2111 N.E. 25th Avenue, Hillsboro, OR 97124 * Work Telephone: (503) 712-0534 *Cell:(208) 244-4460 * Email: stephen.k.jol...@intel.com -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto