Re: [oe] [PATCH] waf-samba.bbclass: redefine WAF_CROSS_ANSWERS_PATH

2017-04-09 Thread Yu, Mingli

Please ignore this one.

Thanks,
Mingli

On 2017年04月10日 14:01, mingli...@windriver.com wrote:

From: Mingli Yu 

* Redefine WAF_CROSS_ANSWERS_PATH in waf-samba.bbclass
   to fix checksum mismatch for those packages which
   inherit waf-samba.bbclass when install eSDK
   # bitbake-diffsigs 
$Prj/build/sdkext_dir/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.8a0fd2871f1e464f4586c32f0e67378f
 
$Prj/build/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.16b87e6ddccb52ca5e988e928f111e5a
   basehash changed from ea2fea38e7efe710a11fa9d13c7ad94c to 
943a7ead4ed10ce794532a942569bcf9
   Variable WAF_CROSS_ANSWERS_PATH value changed from 
'$Prj/build/sdkext_dir/layers/meta-networking/files/waf-cross-answers' to 
'$Prj/layers/meta-openembedded/meta-networking/files/waf-cross-answers'

* Remove the previous WAF_CROSS_ANSWERS_PATH definition
   in layer.conf

Signed-off-by: Mingli Yu 
---
  meta-networking/classes/waf-samba.bbclass | 1 +
  meta-networking/conf/layer.conf   | 3 ---
  2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-networking/classes/waf-samba.bbclass 
b/meta-networking/classes/waf-samba.bbclass
index b94ed48..e490176 100644
--- a/meta-networking/classes/waf-samba.bbclass
+++ b/meta-networking/classes/waf-samba.bbclass
@@ -45,6 +45,7 @@ CROSS_METHOD ?= "answer"
  do_configure() {

  # Prepare the cross-answers file
+WAF_CROSS_ANSWERS_PATH="${THISDIR}/../../files/waf-cross-answers"
  CROSS_ANSWERS="${B}/cross-answers-${TARGET_ARCH}.txt"
  if [ -e ${CROSS_ANSWERS} ]; then
  rm -f ${CROSS_ANSWERS}
diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf
index c09ba4a..85ad93b 100644
--- a/meta-networking/conf/layer.conf
+++ b/meta-networking/conf/layer.conf
@@ -19,8 +19,5 @@ LAYERDEPENDS_networking-layer += "meta-python"

  LICENSE_PATH += "${LAYERDIR}/licenses"

-# used by waf-samba.bbclass
-WAF_CROSS_ANSWERS_PATH = "${LAYERDIR}/files/waf-cross-answers"
-
  # Override security flags
  require conf/distro/include/meta_networking_security_flags.inc


--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] waf-samba.bbclass: redefine WAF_CROSS_ANSWERS_PATH

2017-04-09 Thread mingli.yu
From: Mingli Yu 

* Redefine WAF_CROSS_ANSWERS_PATH in waf-samba.bbclass
  to fix checksum mismatch for those packages which
  inherit waf-samba.bbclass when install eSDK
  # bitbake-diffsigs 
$Prj/build/sdkext_dir/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.8a0fd2871f1e464f4586c32f0e67378f
 
$Prj/build/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.16b87e6ddccb52ca5e988e928f111e5a
  basehash changed from ea2fea38e7efe710a11fa9d13c7ad94c to 
943a7ead4ed10ce794532a942569bcf9
  Variable WAF_CROSS_ANSWERS_PATH value changed from 
'$Prj/build/sdkext_dir/layers/meta-networking/files/waf-cross-answers' to 
'$Prj/layers/meta-openembedded/meta-networking/files/waf-cross-answers'

* Remove the previous WAF_CROSS_ANSWERS_PATH definition
  in layer.conf

Signed-off-by: Mingli Yu 
---
 meta-networking/classes/waf-samba.bbclass | 1 +
 meta-networking/conf/layer.conf   | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-networking/classes/waf-samba.bbclass 
b/meta-networking/classes/waf-samba.bbclass
index b94ed48..e490176 100644
--- a/meta-networking/classes/waf-samba.bbclass
+++ b/meta-networking/classes/waf-samba.bbclass
@@ -45,6 +45,7 @@ CROSS_METHOD ?= "answer"
 do_configure() {
 
 # Prepare the cross-answers file
+WAF_CROSS_ANSWERS_PATH="${THISDIR}/../../files/waf-cross-answers"
 CROSS_ANSWERS="${B}/cross-answers-${TARGET_ARCH}.txt"
 if [ -e ${CROSS_ANSWERS} ]; then
 rm -f ${CROSS_ANSWERS}
diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf
index c09ba4a..85ad93b 100644
--- a/meta-networking/conf/layer.conf
+++ b/meta-networking/conf/layer.conf
@@ -19,8 +19,5 @@ LAYERDEPENDS_networking-layer += "meta-python"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
-# used by waf-samba.bbclass
-WAF_CROSS_ANSWERS_PATH = "${LAYERDIR}/files/waf-cross-answers"
-
 # Override security flags
 require conf/distro/include/meta_networking_security_flags.inc
-- 
2.8.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] waf-samba.bbclass: redefine WAF_CROSS_ANSWERS_PATH

2017-04-09 Thread mingli.yu
From: Mingli Yu 

* Redefine WAF_CROSS_ANSWERS_PATH in waf-samba.bbclass
  to fix checksum mismatch for those packages which
  inherit waf-samba.bbclass when install eSDK
  # bitbake-diffsigs 
$Prj/build/sdkext_dir/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.8a0fd2871f1e464f4586c32f0e67378f
 
$Prj/build/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.16b87e6ddccb52ca5e988e928f111e5a
  basehash changed from ea2fea38e7efe710a11fa9d13c7ad94c to 
943a7ead4ed10ce794532a942569bcf9
  Variable WAF_CROSS_ANSWERS_PATH value changed from 
'$Prj/build/sdkext_dir/layers/meta-networking/files/waf-cross-answers' to 
'$Prj/layers/meta-openembedded/meta-networking/files/waf-cross-answers'

* Remove the previous WAF_CROSS_ANSWERS_PATH definition
  in layer.conf

Signed-off-by: Mingli Yu 
---
 meta-networking/classes/waf-samba.bbclass | 1 +
 meta-networking/conf/layer.conf   | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-networking/classes/waf-samba.bbclass 
b/meta-networking/classes/waf-samba.bbclass
index b94ed48..e490176 100644
--- a/meta-networking/classes/waf-samba.bbclass
+++ b/meta-networking/classes/waf-samba.bbclass
@@ -45,6 +45,7 @@ CROSS_METHOD ?= "answer"
 do_configure() {
 
 # Prepare the cross-answers file
+WAF_CROSS_ANSWERS_PATH="${THISDIR}/../../files/waf-cross-answers"
 CROSS_ANSWERS="${B}/cross-answers-${TARGET_ARCH}.txt"
 if [ -e ${CROSS_ANSWERS} ]; then
 rm -f ${CROSS_ANSWERS}
diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf
index c09ba4a..85ad93b 100644
--- a/meta-networking/conf/layer.conf
+++ b/meta-networking/conf/layer.conf
@@ -19,8 +19,5 @@ LAYERDEPENDS_networking-layer += "meta-python"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
-# used by waf-samba.bbclass
-WAF_CROSS_ANSWERS_PATH = "${LAYERDIR}/files/waf-cross-answers"
-
 # Override security flags
 require conf/distro/include/meta_networking_security_flags.inc
-- 
2.8.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] ***SPAM*** [PATCH] chromium: enable aarch64 support

2017-04-09 Thread Herve Jourdain
Hi,

And in more recent / GN based versions of Chromium, no specific patch is
even needed, as aarch64 is "natively" supported by the codebase.
I guess recipes for those will come soon, since it seems several different
persons/groups came with their own flavor of GN build...

Cheers,
Herve

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Andrey Konovalov
Sent: vendredi 7 avril 2017 20:57
To: openembedded-devel@lists.openembedded.org
Subject: ***SPAM*** [oe] [PATCH] chromium: enable aarch64 support

Tested by running:
- chromium-wayland on HiKey
- chromium on dragonboard-410c

Signed-off-by: Andrey Konovalov 
---
 recipes-browser/chromium/chromium.inc   |  1 +
 recipes-browser/chromium/files/aarch64/include.gypi |  6 ++
 recipes-browser/chromium/files/aarch64/oe-defaults.gypi | 15
+++
 3 files changed, 22 insertions(+)
 create mode 100644 recipes-browser/chromium/files/aarch64/include.gypi
 create mode 100644 recipes-browser/chromium/files/aarch64/oe-defaults.gypi

diff --git a/recipes-browser/chromium/chromium.inc
b/recipes-browser/chromium/chromium.inc
index 60edccb..c0c3b94 100644
--- a/recipes-browser/chromium/chromium.inc
+++ b/recipes-browser/chromium/chromium.inc
@@ -7,6 +7,7 @@ COMPATIBLE_MACHINE_x86-64 = "(.*)"
 COMPATIBLE_MACHINE_armv6 = "(.*)"
 COMPATIBLE_MACHINE_armv7a = "(.*)"
 COMPATIBLE_MACHINE_armv7ve = "(.*)"
+COMPATIBLE_MACHINE_aarch64 = "(.*)"
 
 # The build type defaults to Release. If you want a Debug build, you can
set  # the variable CHROMIUM_BUILD_TYPE to "Debug" in your conf/local.conf
file.
diff --git a/recipes-browser/chromium/files/aarch64/include.gypi
b/recipes-browser/chromium/files/aarch64/include.gypi
new file mode 100644
index 000..ad0347a
--- /dev/null
+++ b/recipes-browser/chromium/files/aarch64/include.gypi
@@ -0,0 +1,6 @@
+{
+  'variables': {
+# Configure for aarch64 compilation
+'target_arch': 'arm64',
+  },
+}
diff --git a/recipes-browser/chromium/files/aarch64/oe-defaults.gypi
b/recipes-browser/chromium/files/aarch64/oe-defaults.gypi
new file mode 100644
index 000..27e1cfe
--- /dev/null
+++ b/recipes-browser/chromium/files/aarch64/oe-defaults.gypi
@@ -0,0 +1,15 @@
+{
+  'variables': {
+'use_system_bzip2': 1,
+'disable_nacl': 1,
+'proprietary_codecs': 1,
+'v8_use_snapshot': 1,
+'use_system_ffmpeg': 0,
+'linux_use_tcmalloc': 0,
+'linux_link_kerberos': 0,
+'use_kerberos': 0,
+'use_cups': 0,
+'use_gnome_keyring': 0,
+'linux_link_gnome_keyring': 0
+  },
+}
--
2.1.4

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] postfix: do NOT create directory /var/spool/mail

2017-04-09 Thread kai.kang
From: Kai Kang 

postfix installs directory /var/spool/mail which conflicts with package
shadow.

| Error: Transaction check error:
|  file /var/spool/mail conflicts between attempted installs of
|  postfix-3.1.1-r0.ppc64e6500 and shadow-4.2.1-r0.1.ppc64e6500

Make postfix not create /var/spool/mail that it does NOT create the
directory on Fedora and Ubuntu either.

Signed-off-by: Kai Kang 
---
 meta-networking/recipes-daemons/postfix/postfix.inc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc 
b/meta-networking/recipes-daemons/postfix/postfix.inc
index 5bb2491..4c794ff 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -164,8 +164,6 @@ do_install () {
 install -m 770 -d ${D}${localstatedir}/spool/postfix
 chown postfix:postfix ${D}${localstatedir}/spool/postfix
 
-install -m 2755 -d ${D}${localstatedir}/spool/mail
-chown postfix:nogroup ${D}${localstatedir}/spool/mail
 install -m 0755 -d ${D}${localstatedir}/lib/postfix
 chown postfix:nogroup ${D}${localstatedir}/lib/postfix
 install -m 0755 -d ${D}${localstatedir}/spool/postfix
-- 
2.10.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] f2fs-tools: Update to Version 1.8.0

2017-04-09 Thread Yong, Jonathan
On 04/06/2017 16:19, Martin Jansa wrote:
>> mkfs patch is already upstreamed.
> 
> Then say this in Upstream-Status: field inside the .patch file.
> 
> On Thu, Apr 6, 2017 at 10:13 AM, Yong, Jonathan 
> wrote:
> 

Done, v2 patch sent.


-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] fbida: Fix compile-host-path error

2017-04-09 Thread Marek Vasut
On 04/09/2017 08:56 PM, Khem Raj wrote:
> On Fri, Apr 7, 2017 at 2:37 PM Marek Vasut  wrote:
> 
>> Remove the explicit reference to /usr/local/* in Variables.mk.
>> This is completely bogus and causes failure during cross-compilation.
>>
>> Signed-off-by: Marek Vasut 
>> ---
>>  meta-oe/recipes-graphics/fbida/fbida_2.10.bb   |  4 ++-
>>  .../fbida/files/0001-Avoid-using-host-path.patch   | 34
>> ++
>>  2 files changed, 37 insertions(+), 1 deletion(-)
>>  create mode 100644
>> meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
>>
>> diff --git a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
>> b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
>> index c14fc9b68..459a1e8d2 100644
>> --- a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
>> +++ b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
>> @@ -10,7 +10,9 @@ LIC_FILES_CHKSUM =
>> "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
>>
>>  DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif"
>>
>> -SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz";
>> +SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz \
>> +  file://0001-Avoid-using-host-path.patch \
>> +  "
>>  SRC_URI[md5sum] = "09460b964b58c2e39b665498eca29018"
>>  SRC_URI[sha256sum] =
>> "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6"
>>
>> diff --git
>> a/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
>> b/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
>> new file mode 100644
>> index 0..cdf2c25d3
>> --- /dev/null
>> +++ b/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
>> @@ -0,0 +1,34 @@
>> +From 8d8fa9f22d9f6a95523bac63ac3af724faf5ff92 Mon Sep 17 00:00:00 2001
>> +From: Marek Vasut 
>> +Date: Fri, 7 Apr 2017 23:26:09 +0200
>> +Subject: [PATCH] Avoid using host-path
>> +
>> +Remove the explicit reference to /usr/local/* , this is completely
>> +bogus and causes trouble during cross-compilation.
>> +
>> +Signed-off-by: Marek Vasut 
>> +Upstream-Status: Inappropriate [upstream requires this]
> 
> 
> This status is confusing

This comment is confusing.

Hint: What do you expect me to put in there ?

Anyway, this fixes a bug, so feel free to tweak it and apply .

-- 
Best regards,
Marek Vasut
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] fbida: Fix compile-host-path error

2017-04-09 Thread Khem Raj
On Fri, Apr 7, 2017 at 2:37 PM Marek Vasut  wrote:

> Remove the explicit reference to /usr/local/* in Variables.mk.
> This is completely bogus and causes failure during cross-compilation.
>
> Signed-off-by: Marek Vasut 
> ---
>  meta-oe/recipes-graphics/fbida/fbida_2.10.bb   |  4 ++-
>  .../fbida/files/0001-Avoid-using-host-path.patch   | 34
> ++
>  2 files changed, 37 insertions(+), 1 deletion(-)
>  create mode 100644
> meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
>
> diff --git a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
> b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
> index c14fc9b68..459a1e8d2 100644
> --- a/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
> +++ b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
> @@ -10,7 +10,9 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
>
>  DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif"
>
> -SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz";
> +SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz \
> +  file://0001-Avoid-using-host-path.patch \
> +  "
>  SRC_URI[md5sum] = "09460b964b58c2e39b665498eca29018"
>  SRC_URI[sha256sum] =
> "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6"
>
> diff --git
> a/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
> b/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
> new file mode 100644
> index 0..cdf2c25d3
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
> @@ -0,0 +1,34 @@
> +From 8d8fa9f22d9f6a95523bac63ac3af724faf5ff92 Mon Sep 17 00:00:00 2001
> +From: Marek Vasut 
> +Date: Fri, 7 Apr 2017 23:26:09 +0200
> +Subject: [PATCH] Avoid using host-path
> +
> +Remove the explicit reference to /usr/local/* , this is completely
> +bogus and causes trouble during cross-compilation.
> +
> +Signed-off-by: Marek Vasut 
> +Upstream-Status: Inappropriate [upstream requires this]


This status is confusing


> +---
> + mk/Variables.mk | 6 --
> + 1 file changed, 6 deletions(-)
> +
> +diff --git a/mk/Variables.mk b/mk/Variables.mk
> +index 99f787c..3ffd87a 100644
> +--- a/mk/Variables.mk
>  b/mk/Variables.mk
> +@@ -42,12 +42,6 @@ CFLAGS  += -Wall -Wmissing-prototypes
> -Wstrict-prototypes \
> +  -Wpointer-arith -Wunused
> + CXXFLAGS  += -Wall -Wpointer-arith -Wunused
> +
> +-# add /usr/local to the search path if something is in there ...
> +-ifneq ($(wildcard /usr/local/include/*.h),)
> +-  CFLAGS  += -I/usr/local/include
> +-  LDFLAGS += -L/usr/local/$(LIB)
> +-endif
> +-
> + # fixup include path for $(srcdir) != "."
> + ifneq ($(srcdir),.)
> +   CFLAGS  += -I. -I$(srcdir)
> +--
> +2.11.0
> +
> --
> 2.11.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel