Re: [yocto] QA cycle report for 2.4 M2 rc2

2017-08-03 Thread Richard Purdie
On Wed, 2017-08-02 at 17:55 -0700, Cruz, Libertad wrote:
> QA does not approve that  the workarounds provided  for 2.4 m2 rc2
>  were on different commits. Testing was not limited to 2.4 m2 rc2
> commit “8e15e9b6e478f6368034519b2a8fd3c7ea71d23b” it was performed by
> following each commit on the provided workarounds described below.  

Thanks Libertad.

The different commits wasn't intentional, there were bugs which were
reported and fixed after rc2 was built. It made sense to resolve those
bugs as fixed in master but obviously they were still present in M2.

Given the high volume of issues and other things that went on with rc2
I've decided to build an rc3. We'll have to take current master as
there are some many fixes it only makes sense to use that rather than
create any special branch. I've set that build away.

Cheers,

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


[yocto] Mplayer how to?

2017-08-03 Thread Riko Ho
Dear Yocto Team Member,

How can I add mplayer to my image?

Regards,
Riko Ho
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] bitbake download only

2017-08-03 Thread blackthirt33n .
Is it possible to perform a download only bitbake of a recipe/target?

For instance only download the necessary files for core-image-minimal?

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


Re: [yocto] bitbake download only

2017-08-03 Thread Burton, Ross
Yes,

bitbake core-image-minimal -c fetchall

Ross

On 3 August 2017 at 15:55, blackthirt33n .  wrote:

> Is it possible to perform a download only bitbake of a recipe/target?
>
> For instance only download the necessary files for core-image-minimal?
>
> James
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake download only

2017-08-03 Thread Matthew McClintock
On Thu, Aug 3, 2017 at 10:00 AM, Burton, Ross  wrote:
> Yes,
>
> bitbake core-image-minimal -c fetchall

Or for more recent version of bitbake

bitbake core-image-minimal --runall fetch

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


Re: [yocto] bitbake download only

2017-08-03 Thread Burton, Ross
On 3 August 2017 at 17:00, Matthew McClintock 
wrote:

> On Thu, Aug 3, 2017 at 10:00 AM, Burton, Ross 
> wrote:
> > Yes,
> >
> > bitbake core-image-minimal -c fetchall
>
> Or for more recent version of bitbake
>
> bitbake core-image-minimal --runall fetch


I'd actually forgotten that existed.  Maybe fetchall should tell the user?

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


[yocto] Release Candidate Build for yocto-2.4_M2.rc3 now available.

2017-08-03 Thread Poky Build User

A release candidate build for yocto-2.4_M2.rc3 is now available at:


https://autobuilder.yocto.io/pub/releases/yocto-2.4_M2.rc3


Please begin QA on this build as soon as possible.


Build hash information: 
meta-intel : 0d590c4be300365a2d1787fcea767ac41c741875 
meta-qt4 : d52c38ad9f0a617b9ad5048a872a9e97b3af5b44 
refkit : 112c0e10de6414657f097671005bc21adabf381b 
meta-mingw : 0679d2a91575bd7f3efd0973aa99d7ee681e9395 
meta-qt3 : f33b73a9563f2dfdfd0ee37b61d65d90197a456f 
meta-gplv2 : 07e5dd2136a2a7cc069ad8c70bb422fa9d5b14f0 
poky : 9ed748a542b520c1cb763d981969233c0f5efd4e 

\nThis is an automated message from\nThe Yocto Project Autobuilder\nGit: 
git://git.yoctoproject.org/yocto-autobuilder\nEmail: pi...@toganlabs.com 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-cgl][PATCH] corosync: update to 1.4.8

2017-08-03 Thread jackie.huang
From: Jackie Huang 

- Add systemd support
- Add PACKAGECONFIG for nss, dbus, rdma and snmp
- Install config file for corosync-notifyd

Signed-off-by: Jackie Huang 
---
 .../corosync/corosync/corosync-notifyd.service | 13 +++
 .../recipes-cgl/corosync/corosync/corosync.service | 26 ++
 .../{corosync_1.4.7.bb => corosync_1.4.8.bb}   | 42 ++
 3 files changed, 74 insertions(+), 7 deletions(-)
 create mode 100644 
meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service
 create mode 100644 
meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service
 rename meta-cgl-common/recipes-cgl/corosync/{corosync_1.4.7.bb => 
corosync_1.4.8.bb} (51%)

diff --git 
a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service 
b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service
new file mode 100644
index 000..ce576fe
--- /dev/null
+++ b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Corosync Dbus and snmp notifier
+Wants=corosync.service
+After=corosync.service
+
+[Service]
+EnvironmentFile=@SYSCONFDIR@/sysconfig/corosync-notifyd
+ExecStart=@SBINDIR@/corosync-notifyd -f $OPTIONS
+Type=simple
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service 
b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service
new file mode 100644
index 000..d5dd38f
--- /dev/null
+++ b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service
@@ -0,0 +1,26 @@
+[Unit]
+Description=Corosync Cluster Engine
+ConditionKernelCommandLine=!nocluster
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+ExecStart=@DATADIR@/corosync/corosync start
+ExecStop=@DATADIR@/corosync/corosync stop
+Type=oneshot
+RemainAfterExit=yes
+
+# The following config is for corosync with enabled watchdog service.
+#
+#  When corosync watchdog service is being enabled and using with
+#  pacemaker.service, and if you want to exert the watchdog when a
+#  corosync process is terminated abnormally,
+#  uncomment the line of the following Restart= and RestartSec=.
+#Restart=on-failure
+#  Specify a period longer than soft_margin as RestartSec.
+#RestartSec=70
+#  rewrite according to environment.
+#ExecStartPre=/sbin/modprobe softdog soft_margin=60
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync_1.4.7.bb 
b/meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb
similarity index 51%
rename from meta-cgl-common/recipes-cgl/corosync/corosync_1.4.7.bb
rename to meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb
index 019a2f4..3b5afce 100644
--- a/meta-cgl-common/recipes-cgl/corosync/corosync_1.4.7.bb
+++ b/meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb
@@ -4,7 +4,7 @@ several default APIs and libraries, default configuration 
files, and an init \
 script."
 HOMEPAGE = "http://corosync.github.io/corosync/";
 
-inherit autotools pkgconfig update-rc.d useradd
+inherit autotools pkgconfig update-rc.d useradd systemd
 
 SRC_URI = "http://build.clusterlabs.org/corosync/releases/${BPN}-${PV}.tar.gz \
file://groff-desc-path.patch \
@@ -13,22 +13,29 @@ SRC_URI = 
"http://build.clusterlabs.org/corosync/releases/${BPN}-${PV}.tar.gz \
file://build-cleanup-configure-ac.patch \
file://corosync.init \
file://notifyd.init \
+   file://corosync.service \
+   file://corosync-notifyd.service \
file://volatiles \
   "
 
-SRC_URI[md5sum] = "da9b2cf0b55f08ac4cf7cd82ac2f977a"
-SRC_URI[sha256sum] = 
"c1d005b2093e9a725abd1dfb2be936114b561c0b3145aca11f58c1a733a05af8"
+SRC_URI[md5sum] = "e16c71db45c8b39948847655958d0dec"
+SRC_URI[sha256sum] = 
"64ee50f783a4bfa8a63fd576090cf7dd1810f3c60e01b4886723b87c5ff2b013"
 
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=25656171d1e4054c636a9893067f8c30"
 
-DEPENDS = "groff-native nss"
+DEPENDS = "groff-native"
 
 INSANE_SKIP_${PN} += ""
 
-EXTRA_OECONF += " --enable-nss "
 CFLAGS_append += " -fPIC "
 
+PACKAGECONFIG ?= "dbus nss snmp"
+PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
+PACKAGECONFIG[nss] = "--enable-nss,--disable-nss,nss"
+PACKAGECONFIG[rdma] = "--enable-rdma,--disable-rdma"
+PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp"
+
 do_compile() {
 DESCPATH="${STAGING_DATADIR_NATIVE}/groff/`groff -v | awk '{if(NR==1)print 
$4}'`/font"
 oe_runmake DESCPATH=${DESCPATH}
@@ -37,6 +44,7 @@ do_compile() {
 do_install_append() {
 install -d ${D}${sysconfdir}/default/volatiles
 install -m 0644 ${WORKDIR}/volatiles 
${D}${sysconfdir}/default/volatiles/05_corosync
+install -D -m 0644 ${S}/tools/corosync-notifyd.sysconfig.example 
${D}${sysconfdir}/sysconfig/corosync-notifyd
 
 # Original init script is too bashy
 rm -f ${D}/${sysconfdir}/init.d/corosync
@@ -44,17 +52,37 @@ do_install_append() {

[yocto] meta-kodi questions ?

2017-08-03 Thread Riko Ho

Dear Yocto Team Member,

I want to build my image with meta-kodi for beagle but I got this issue :

==

ERROR: libffi-native-3.2.1-r0 do_configure: Function failed: 
do_configure (log file is located at 
/home/bianchi77/poky/build/tmp/work/x86_64-linux/libffi-native/3.2.1-r0/temp/log.do_configure.15177)
ERROR: Logfile of failure stored in: 
/home/bianchi77/poky/build/tmp/work/x86_64-linux/libffi-native/3.2.1-r0/temp/log.do_configure.15177

Log data follows:
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 
'bit-64', 'x86_64-linux', 'common']

| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| Unescaped left brace in regex is illegal here in regex; marked by <-- 
HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at 
/home/bianchi77/poky/build/tmp/work/x86_64-linux/libffi-native/3.2.1-r0/recipe-sysroot-native/usr/bin/automake 
line 3940.
| Unescaped left brace in regex is illegal here in regex; marked by <-- 
HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at 
/home/bianchi77/poky/build/tmp/work/x86_64-linux/libffi-native/3.2.1-r0/recipe-sysroot-native/usr/bin/automake 
line 3940.

| WARNING: exit code 255 from a shell command.

=

Does anyone know any ideas about it ?

Thanks,

--
*

/***/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/***/

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


Re: [yocto] bitbake download only

2017-08-03 Thread Vineeth Chowdary Karumanchi

Hi,

bitbake recipe/target -c do_fetch

VIneeth

On 8/3/2017 8:25 PM, blackthirt33n . wrote:

Is it possible to perform a download only bitbake of a recipe/target?

For instance only download the necessary files for core-image-minimal?

James




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