Re: [yocto] How do I include all packages under a layer ?

2019-05-11 Thread Burton, Ross
On Sat, 11 May 2019 at 00:54, Madhu Krishnamurthy  wrote:
> Do I have to specify every package or is there a way I can add all packages 
> inside a layer?
> For example, how do I add all packages from inside poky/meta to my image?
> Or at least how do I add all packages under poky/meta/recipes-devtools ?

You need to list them explicitly.  Some layers have packagegroups that
pull in all the dependencies if that makes sense, but adding "all of
oe-core/recipes-devtools" would be odd: you'd have three package
managers for a start.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] linux-raspberrypi_4.19.bb unknown commit

2019-05-11 Thread Jean-Christian de Rivaz
Hi,

I try to use the Linux 4.19 for the RaspberryPi from the
meta-raspberrypi recipe linux-raspberrypi_4.19.bb but the commit
ab8652c03fa081b27de7e28a74c2536cb2aa3e5b from his SRCREV don't exists
into the repository github.com/raspberrypi/linux branch rpi-4.19.y . I
searched that commit on a few others branches but failed to find it.
Have anyone tested that recipe ?

Best Regards.
Jean-Christian



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] linux-raspberrypi_4.19.bb unknown commit

2019-05-11 Thread Paul Barker
On Sat, 11 May 2019, at 20:44, Jean-Christian de Rivaz wrote:
> Hi,
> 
> I try to use the Linux 4.19 for the RaspberryPi from the
> meta-raspberrypi recipe linux-raspberrypi_4.19.bb but the commit
> ab8652c03fa081b27de7e28a74c2536cb2aa3e5b from his SRCREV don't exists
> into the repository github.com/raspberrypi/linux branch rpi-4.19.y . I
> searched that commit on a few others branches but failed to find it.
> Have anyone tested that recipe ?

The upstream rpi-4.19.y branch is still unstable and they enjoy rebasing 
commits. The breaks the commit references used in our recipes.

For now I recommend sticking to the 4.14.y kernels for Raspberry Pi.

-- 
Paul Barker
Managing Director & Principal Engineer
Beta Five Ltd
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How do I include all packages under a layer ?

2019-05-11 Thread Burton, Ross
On Sat, 11 May 2019 at 21:32, Madhu Krishnamurthy  wrote:
> If I have to chose just one, will any one of them (say apt)  work? I somehow 
> had come to believe that you can only use opkg in Yocto.

The default is opkg but RPM and dpkg are supported.  I'd pick either
opkg or rpm though.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [yocto-infrastructure] Upcoming network outage: Fri, May 17 starting 10PM PDT (Sat, 5:00Z)

2019-05-11 Thread akuster808


On 5/10/19 4:21 PM, Michael Halstead wrote:
> What: 30-minute network outage to Portland-hosted services
> When: Fri, May 17, between 10PM-3AM PDT (Sat, 05:00-10:00 UTC)
> Why : Network equipment replacement by our service provider
>
> Services Impacted:  autobuilder.yoctoproject.org
> , downloads.yoctoproject.org
> , sstate.yoctoproject.org
> 
>
> Our Portland hosting provider needs to replace some of their main 
> network equipment, which will require rerunning some cables. They are 
> asking us to prepare for up to a 30-minute network outage between the 
> hours listed above in order to complete this work.

Thanks for the heads up.

Is there a time on Sat that if things are not back to normal that we
should contact you? I hope and don't expect you to be working @ 3am.

regards,
Armin
>
> -- 
> Michael Halstead
> Linux Foundation / SysAdmin
>
>

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Build error on dockerode using YP-Core warrior 2.7

2019-05-11 Thread Edson Seabra
Hi,


I created the recipe for dockerode 2.5.8 using the command recipetool:


recipetool create "npm://registry.npmjs.org;name=dockerode;version=2.5.8"


The recipe creates a lot of ipk's package and fails on dockerode-JSONStream ipk.


I can build dokerode with YP-Coce morty, almost sure I did with YP-Core thud.


Any hint about how to find what  is this issue will be appreciated.


NOTE. Other recipes, using npm.bbclass, build normally.


If any additional information is needed just let me know...


 here is the output of bitbake dockerode ==

Build Configuration:

BB_VERSION   = "1.42.0"

BUILD_SYS= "x86_64-linux"

NATIVELSBSTRING  = "universal"

TARGET_SYS   = "x86_64-poky-linux"

MACHINE  = "genericx86-64"

DISTRO   = "node-poky"

DISTRO_VERSION   = "2.7"

TUNE_FEATURES= "m64 core2"

TARGET_FPU   = ""

IMAGE_LINGUAS= "en-us en-gb"

MACHINE_FEATURES = "screen keyboard pci usbhost ext4 x86 acpi pcbios rtc"

IMAGE_FSTYPES= "hddimg"

DISTRO_FEATURES  = "argp pam largefile xattr nfs pci x11 ipv4 ipv6 
libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets 
libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt 
libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl 
libc-libm libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch 
libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp 
libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp 
libc-posix-regexp-glibc libc-posix-wchar-io multiarch sysvinit opengl 
pulseaudio wifi virtualization"

IMAGE_FEATURES   = "package-management read-only-rootfs tools-debug"

meta-nodegrid

meta-kernel  = "trunk:11630-11620"

meta-zpe = "trunk:11630-11629"

meta-oe  = "trunk:11630-11620"

meta-graphics= "trunk:11630-11172"

meta-networking  = "trunk:11630-11560"

meta-python  = "trunk:11630-11620"

meta-selinux = "master:b1dac7e2b26f869c991c6492aa7fa18eaa4b47f6"

meta-virtualization  = "trunk:11630-11620"

meta-tpm2= "trunk:11630-11090"

meta-java= "master:2fc78571483465ca2fc69d6bd77632acd35e0770"

meta

meta-poky

meta-yocto-bsp   = "warrior:1b425a8450872f915c30bd0a35b0b0df92172b70"


Initialising tasks: 100% 
|| Time: 0:00:02

Sstate summary: Wanted 33 Found 27 Missed 6 Current 365 (81% match, 98% 
complete)

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

WARNING: dockerode-2.5.8-r0 do_populate_lic: dockerode: No generic license file 
exists for: Unknown in any provider

ERROR: dockerode-2.5.8-r0 do_package_write_ipk: Fatal errors occurred in 
subprocesses:

Command 
'PATH="/home/edson/ng-trunk/nodegrid/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/edson/ng-trunk/poky/scripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot/usr/bin/crossscripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/sbin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/bin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/sbin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/bin:/home/edson/ng-trunk/poky/bitbake/bin:/home/edson/ng-trunk/nodegrid/tmp/hosttools"
 opkg-build -Z xz -a "--memlimit=50% --threads=4" dockerode-JSONStream 
/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/deploy-ipks/core2-64'
 returned non-zero exit status 1.: Traceback (most recent call last):

  File "/home/edson/ng-trunk/poky/meta/lib/oe/utils.py", line 272, in run

ret = self._target(*self._args, **self._kwargs)

  File "/home/edson/ng-trunk/poky/meta/classes/package_ipk.bbclass", line 230, 
in ipk_write_pkg

shell=True)

  File 
"/opt/poky/2.7/sysroots/x86_64-pokysdk-linux/usr/lib/python3.7/subprocess.py", 
line 395, in check_output

**kwargs).stdout

  File 
"/opt/poky/2.7/sysroots/x86_64-pokysdk-linux/usr/lib/python3.7/subprocess.py", 
line 487, in run

output=stdout, stderr=stderr)

subprocess.CalledProcessError: Command 
'PATH="/home/edson/ng-trunk/nodegrid/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/edson/ng-trunk/poky/scripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot/usr/bin/crossscripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/sbin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-

Re: [yocto] Build error on dockerode using YP-Core warrior 2.7

2019-05-11 Thread Khem Raj
Use all lowercase in recipe name you seem to have mixed it with uppercase

On Sat, May 11, 2019 at 5:58 PM Edson Seabra 
wrote:

> Hi,
>
>
> I created the recipe for dockerode 2.5.8 using the command recipetool:
>
>
> recipetool create "npm://registry.npmjs.org;name=dockerode;version=2.5.8"
>
>
> The recipe creates a lot of ipk's package and fails on dockerode-JSONStream
> ipk.
>
>
> I can build dokerode with YP-Coce morty, almost sure I did with YP-Core
> thud.
>
>
> Any hint about how to find what  is this issue will be appreciated.
>
>
> NOTE. Other recipes, using npm.bbclass, build normally.
>
>
> If any additional information is needed just let me know...
>
>
>  here is the output of bitbake dockerode ==
>
> Build Configuration:
>
> BB_VERSION   = "1.42.0"
>
> BUILD_SYS= "x86_64-linux"
>
> NATIVELSBSTRING  = "universal"
>
> TARGET_SYS   = "x86_64-poky-linux"
>
> MACHINE  = "genericx86-64"
>
> DISTRO   = "node-poky"
>
> DISTRO_VERSION   = "2.7"
>
> TUNE_FEATURES= "m64 core2"
>
> TARGET_FPU   = ""
>
> IMAGE_LINGUAS= "en-us en-gb"
>
> MACHINE_FEATURES = "screen keyboard pci usbhost ext4 x86 acpi pcbios
> rtc"
>
> IMAGE_FSTYPES= "hddimg"
>
> DISTRO_FEATURES  = "argp pam largefile xattr nfs pci x11 ipv4 ipv6
> libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets
> libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt
> libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl
> libc-libm libc-locales libc-locale-code libc-memusage libc-nis
> libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc
> libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp
> libc-posix-regexp-glibc libc-posix-wchar-io multiarch sysvinit opengl
> pulseaudio wifi virtualization"
>
> IMAGE_FEATURES   = "package-management read-only-rootfs tools-debug"
>
> meta-nodegrid
>
> meta-kernel  = "trunk:11630-11620"
>
> meta-zpe = "trunk:11630-11629"
>
> meta-oe  = "trunk:11630-11620"
>
> meta-graphics= "trunk:11630-11172"
>
> meta-networking  = "trunk:11630-11560"
>
> meta-python  = "trunk:11630-11620"
>
> meta-selinux = "master:b1dac7e2b26f869c991c6492aa7fa18eaa4b47f6"
>
> meta-virtualization  = "trunk:11630-11620"
>
> meta-tpm2= "trunk:11630-11090"
>
> meta-java= "master:2fc78571483465ca2fc69d6bd77632acd35e0770"
>
> meta
>
> meta-poky
>
> meta-yocto-bsp   = "warrior:1b425a8450872f915c30bd0a35b0b0df92172b70"
>
>
> Initialising tasks: 100%
> || Time: 0:00:02
>
> Sstate summary: Wanted 33 Found 27 Missed 6 Current 365 (81% match, 98%
> complete)
>
> *NOTE*: Executing SetScene Tasks
>
> *NOTE*: Executing RunQueue Tasks
>
> *WARNING*: dockerode-2.5.8-r0 do_populate_lic: dockerode: No generic
> license file exists for: Unknown in any provider
>
> *ERROR*: dockerode-2.5.8-r0 do_package_write_ipk: Fatal errors occurred
> in subprocesses:
>
> Command
> 'PATH="/home/edson/ng-trunk/nodegrid/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/edson/ng-trunk/poky/scripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot/usr/bin/crossscripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/sbin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/usr/bin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/sbin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/recipe-sysroot-native/bin:/home/edson/ng-trunk/poky/bitbake/bin:/home/edson/ng-trunk/nodegrid/tmp/hosttools"
> opkg-build -Z xz -a "--memlimit=50% --threads=4" dockerode-JSONStream
> /home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/dockerode/2.5.8-r0/deploy-ipks/core2-64'
> returned non-zero exit status 1.: Traceback (most recent call last):
>
>   File "/home/edson/ng-trunk/poky/meta/lib/oe/utils.py", line 272, in run
>
> ret = self._target(*self._args, **self._kwargs)
>
>   File "/home/edson/ng-trunk/poky/meta/classes/package_ipk.bbclass", line
> 230, in ipk_write_pkg
>
> shell=True)
>
>   File
> "/opt/poky/2.7/sysroots/x86_64-pokysdk-linux/usr/lib/python3.7/subprocess.py",
> line 395, in check_output
>
> **kwargs).stdout
>
>   File
> "/opt/poky/2.7/sysroots/x86_64-pokysdk-linux/usr/lib/python3.7/subprocess.py",
> line 487, in run
>
> output=stdout, stderr=stderr)
>
> subprocess.CalledProcessError: Command
> 'PATH="/home/edson/ng-trunk/nodegrid/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/edson/ng-trunk/poky/scripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/doc