[yocto] Question on the U-Boot recipe

2017-11-17 Thread x
Hello I use the rocko branch to compile a rootfs for my allwinner A20 board. When build u-boot, it needs to compile a libfdt Python module, which shows as below: *** binman needs the Python libfdt library. *** Either install it on your system, or try: *** *** sudo apt-get

Re: [yocto] tiny-linux distribution with raspberrypi error

2017-11-17 Thread Michael Gloff
This looks to be because poky-tiny.conf does not allow overriding of the kernel provider. You could try the below patch to use a different kernel. Michael Gloff diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf index 2032bfde32..acafd9fef4 100644 ---

Re: [yocto] [meta-gplv2][PATCH] gnutls: update 3.3.27 -> 3.3.28

2017-11-17 Thread Andre McCurdy
On Wed, Nov 8, 2017 at 7:45 PM, Andre McCurdy wrote: > * Version 3.3.28 (released 2017-07-04) > > ** libgnutls: Fixed issue when rehandshaking without a client certificate in >a session which initially used one. Reported by Frantisek Sumsal. > > ** libgnutls: fix issue in

Re: [yocto] tiny-linux distribution with raspberrypi error

2017-11-17 Thread Josef Holzmayr
On Fri, Nov 17, 2017 at 05:36:33PM +0100, Zoran Stojsavljevic wrote: > Let me redefine the question? May I? Of course you may. > > What is the difference while building an IMAGE="core-image-minimal" > using DISTRO="poky-tiny" > versus building an IMAGE="core-image-minimal" using DISTRO="poky"?

Re: [yocto] [PATCH] Allow specifying subdir for rootfs when using wic -e

2017-11-17 Thread Leonardo Sandoval
wic stuff goes into the openembededde-core mailing list. in fact, most files under the scripts folder goes into the latter. On Fri, 17 Nov 2017 17:19:48 +0100 Volker Vogelhuber wrote: > --- > scripts/lib/wic/ksparser.py | 1 + >

Re: [yocto] Trying to filter out 2 strings from EXTRA_OECONF, why doesn't this work?

2017-11-17 Thread Matt Schepers
I ended up completely overriding EXTRA_OECONF in my .bbappend with the configure flags that I wanted. I guess I don't understand the order of evaluation in yocto's .bbappend and .bb files. Based on the error I got, problem with double use of := operator, it seems that statements in .bbappend

Re: [yocto] tiny-linux distribution with raspberrypi error

2017-11-17 Thread Zoran Stojsavljevic
Hello Josef, Let me redefine the question? May I? What is the difference while building an IMAGE="core-image-minimal" using DISTRO="poky-tiny" versus building an IMAGE="core-image-minimal" using DISTRO="poky"? Or maybe I am mistaken (maybe some other IMAGE in DISTRO="poky-tiny") !? Thank you

[yocto] [PATCH] Allow specifying subdir for rootfs when using wic -e

2017-11-17 Thread Volker Vogelhuber
--- scripts/lib/wic/ksparser.py | 1 + scripts/lib/wic/partition.py | 1 + scripts/lib/wic/plugins/source/rootfs.py | 7 --- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index

[yocto] Allow specifying sub directories for rootfs when using wic -e

2017-11-17 Thread Volker Vogelhuber
I currently have an image with six different partitions. See the following partition configuration: ># bootloader >part /boot/EFI --source bootimg-efi --sourceparams="loader=systemd-boot" >--ondisk mmcblk --fstype=vfat --label boot --active --align 1024 --size 20 >--overhead-factor=1.0

[yocto] Generate Native Package in Pyro2.3

2017-11-17 Thread Amit Gondaliya
Hello All, I am creating custom meta-layer for my project work, but some of my third package is not able to fine the dependent library and package previously in yocto daisy1.6 all the dependent package are found into below directory. /sysroot/${BUILD-SYS} directory but in pyro There is nothing

Re: [yocto] tiny-linux distribution with raspberrypi error

2017-11-17 Thread Josef Holzmayr
On Fri, Nov 17, 2017 at 07:27:27AM +0100, Zoran Stojsavljevic wrote: > > DISTRO = "poky-tiny" and i get the following > > What is the difference between core-image-minimal and poky-tiny? core-image-minimal is a IMAGE poky-tiny is a DISTRO Its just different things. ——— Josef

Re: [yocto] [OE-core] [PATCH v4 1/3] image.bbclass: add prohibited-paths QA test

2017-11-17 Thread Otavio Salvador
On Fri, Nov 17, 2017 at 8:06 AM, Martyn Welch wrote: > On Thu, 2017-11-16 at 17:21 -0600, Leonardo Sandoval wrote: >> isn't it this class meta/classes/insane.bbclass for this type of checks? >> > > I don't know. The logic for IMAGE_QA_COMMAND is in image.bbclass, as

[yocto] [meta-oracle-java][PATCH] Symlink jar and javah in bindir (native)

2017-11-17 Thread Martin Nordqvist
Create symlinks in bindir to jar and javah. If a recpie needs jar to create a jar file or javah for a JNI package, jar and javah needs to be in bindir. --- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [yocto] [PATCH v4 1/3] image.bbclass: add prohibited-paths QA test

2017-11-17 Thread Martyn Welch
On Thu, 2017-11-16 at 17:21 -0600, Leonardo Sandoval wrote: > isn't it this class meta/classes/insane.bbclass for this type of checks? > I don't know. The logic for IMAGE_QA_COMMAND is in image.bbclass, as far as I can see the package QA tests are in package.bbclass, so image.bbclass seemed like

Re: [yocto] [OE-core] [PATCH v4 1/3] image.bbclass: add prohibited-paths QA test

2017-11-17 Thread Martyn Welch
On Thu, 2017-11-16 at 15:58 -0200, Otavio Salvador wrote: > On Thu, Nov 16, 2017 at 1:05 PM, Martyn Welch > wrote: > > Sometimes we wish to ensure that files or directories are not installed > > somewhere that may prove detrimental to the operation of the system. For