All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] groff: add runtime dependency on sed
@ 2015-04-09 19:58 Dmitry Eremin-Solenikov
  2015-04-09 19:58 ` [PATCH 2/4] bitbake.conf: add sed-native to ASSUME_PROVIDED Dmitry Eremin-Solenikov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dmitry Eremin-Solenikov @ 2015-04-09 19:58 UTC (permalink / raw)
  To: openembedded-core

This is to suppress the following QA warning:
groff-1.22.2: groff requires /bin/sed, but no providers in its RDEPENDS [file-rdeps]

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
---
 meta/recipes-extended/groff/groff_1.22.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/groff/groff_1.22.2.bb b/meta/recipes-extended/groff/groff_1.22.2.bb
index 6e84587..dd345b7 100644
--- a/meta/recipes-extended/groff/groff_1.22.2.bb
+++ b/meta/recipes-extended/groff/groff_1.22.2.bb
@@ -17,6 +17,7 @@ SRC_URI[sha256sum] = "380864dac4772e0c0d7b1282d25d0c5fd7f63baf45c87c4657afed22a1
 
 DEPENDS = "groff-native"
 DEPENDS_class-native = ""
+RDEPENDS_${PN} += "sed"
 
 inherit autotools texinfo
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/4] bitbake.conf: add sed-native to ASSUME_PROVIDED
  2015-04-09 19:58 [PATCH 1/4] groff: add runtime dependency on sed Dmitry Eremin-Solenikov
@ 2015-04-09 19:58 ` Dmitry Eremin-Solenikov
  2015-04-09 19:58 ` [PATCH 3/4] security_flags.inc: add more exceptions Dmitry Eremin-Solenikov
  2015-04-09 19:58 ` [PATCH 4/4] lsb: provide lsb-core-ARCH Dmitry Eremin-Solenikov
  2 siblings, 0 replies; 8+ messages in thread
From: Dmitry Eremin-Solenikov @ 2015-04-09 19:58 UTC (permalink / raw)
  To: openembedded-core

There is no reason to build sed for the host, however now:
ERROR: Nothing RPROVIDES 'sed-native' (but virtual:native:/OE/sources/openembedded-core/meta/recipes-extended/groff/groff_1.22.2.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
---
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f3586da..2b3c110 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -171,6 +171,7 @@ ASSUME_PROVIDED = "\
     virtual/libintl-native \
     texinfo-native \
     bash-native \
+    sed-native \
     "
 # gzip-native should be listed above?
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/4] security_flags.inc: add more exceptions
  2015-04-09 19:58 [PATCH 1/4] groff: add runtime dependency on sed Dmitry Eremin-Solenikov
  2015-04-09 19:58 ` [PATCH 2/4] bitbake.conf: add sed-native to ASSUME_PROVIDED Dmitry Eremin-Solenikov
@ 2015-04-09 19:58 ` Dmitry Eremin-Solenikov
  2015-04-10  0:28   ` Khem Raj
  2015-04-09 19:58 ` [PATCH 4/4] lsb: provide lsb-core-ARCH Dmitry Eremin-Solenikov
  2 siblings, 1 reply; 8+ messages in thread
From: Dmitry Eremin-Solenikov @ 2015-04-09 19:58 UTC (permalink / raw)
  To: openembedded-core

Add few more exceptions from other layers as noted during custom image
builds.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
---
 meta/conf/distro/include/security_flags.inc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
index 21e1a53..f977c8e 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -58,8 +58,10 @@ SECURITY_CFLAGS_pn-libglu = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-libpcap = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-libpcre = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-libproxy = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-libvirt = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-lttng-ust = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-mesa = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-mesa-gl = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-openssl = "${SECURITY_NO_PIE_CFLAGS}"
@@ -69,14 +71,18 @@ SECURITY_CFLAGS_pn-python = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-python-imaging = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-python-pycurl = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-python-smartpm = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-tcl = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-tiff = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-valgrind = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-webkit-gtk = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-zlib = "${SECURITY_NO_PIE_CFLAGS}"
 
-# These 2 have text relco errors with the pie options enabled
+# These have text relco errors with the pie options enabled
 SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-lxc = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-mozjs = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-pulseaudio = "${SECURITY_NO_PIE_CFLAGS}"
 
 TARGET_CFLAGS_append = " ${SECURITY_CFLAGS}"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/4] lsb: provide lsb-core-ARCH
  2015-04-09 19:58 [PATCH 1/4] groff: add runtime dependency on sed Dmitry Eremin-Solenikov
  2015-04-09 19:58 ` [PATCH 2/4] bitbake.conf: add sed-native to ASSUME_PROVIDED Dmitry Eremin-Solenikov
  2015-04-09 19:58 ` [PATCH 3/4] security_flags.inc: add more exceptions Dmitry Eremin-Solenikov
@ 2015-04-09 19:58 ` Dmitry Eremin-Solenikov
  2015-04-11 22:27   ` Richard Purdie
  2 siblings, 1 reply; 8+ messages in thread
From: Dmitry Eremin-Solenikov @ 2015-04-09 19:58 UTC (permalink / raw)
  To: openembedded-core

Some lsb packages depend on correct lsb-core-ARCH package being
installed (or rather provided) on the target file system. Provide this
package name by main lsb package.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
---
 meta/recipes-extended/lsb/lsb_4.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
index 1ae1e26..c3a79c0 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -4,6 +4,10 @@ HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
 LICENSE = "GPLv2+"
 PR = "r2"
 
+LSB_CORE = "lsb-core-${TARGET_ARCH}"
+LSB_CORE_i586 = "lsb-core-ia32"
+RPROVIDES_${PN} += "${LSB_CORE}"
+
 # lsb_release needs getopt
 RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_getopt}"
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/4] security_flags.inc: add more exceptions
  2015-04-09 19:58 ` [PATCH 3/4] security_flags.inc: add more exceptions Dmitry Eremin-Solenikov
@ 2015-04-10  0:28   ` Khem Raj
  2015-04-15  9:10     ` Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2015-04-10  0:28 UTC (permalink / raw)
  To: Dmitry Eremin-Solenikov; +Cc: openembedded-core


> On Apr 9, 2015, at 12:58 PM, Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> wrote:
> 
> Add few more exceptions from other layers as noted during custom image
> builds.
> 

you can put it in respective layer.conf its seems a bit auxiliary to have it in OE-Core

> Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
> ---
> meta/conf/distro/include/security_flags.inc | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
> index 21e1a53..f977c8e 100644
> --- a/meta/conf/distro/include/security_flags.inc
> +++ b/meta/conf/distro/include/security_flags.inc
> @@ -58,8 +58,10 @@ SECURITY_CFLAGS_pn-libglu = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-libpcap = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-libpcre = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-libproxy = "${SECURITY_NO_PIE_CFLAGS}"
> +SECURITY_CFLAGS_pn-libvirt = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-lttng-ust = "${SECURITY_NO_PIE_CFLAGS}"
> +SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-mesa = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-mesa-gl = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-openssl = "${SECURITY_NO_PIE_CFLAGS}"
> @@ -69,14 +71,18 @@ SECURITY_CFLAGS_pn-python = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-python-imaging = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-python-pycurl = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-python-smartpm = "${SECURITY_NO_PIE_CFLAGS}"
> +SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-tcl = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-tiff = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-valgrind = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-webkit-gtk = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-zlib = "${SECURITY_NO_PIE_CFLAGS}"
> 
> -# These 2 have text relco errors with the pie options enabled
> +# These have text relco errors with the pie options enabled
> SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
> +SECURITY_CFLAGS_pn-lxc = "${SECURITY_NO_PIE_CFLAGS}"
> +SECURITY_CFLAGS_pn-mozjs = "${SECURITY_NO_PIE_CFLAGS}"
> +SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-pulseaudio = "${SECURITY_NO_PIE_CFLAGS}"
> 
> TARGET_CFLAGS_append = " ${SECURITY_CFLAGS}"
> -- 
> 2.1.4
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 4/4] lsb: provide lsb-core-ARCH
  2015-04-09 19:58 ` [PATCH 4/4] lsb: provide lsb-core-ARCH Dmitry Eremin-Solenikov
@ 2015-04-11 22:27   ` Richard Purdie
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2015-04-11 22:27 UTC (permalink / raw)
  To: Dmitry Eremin-Solenikov; +Cc: openembedded-core

On Thu, 2015-04-09 at 22:58 +0300, Dmitry Eremin-Solenikov wrote:
> Some lsb packages depend on correct lsb-core-ARCH package being
> installed (or rather provided) on the target file system. Provide this
> package name by main lsb package.
> 
> Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
> ---
>  meta/recipes-extended/lsb/lsb_4.1.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
> index 1ae1e26..c3a79c0 100644
> --- a/meta/recipes-extended/lsb/lsb_4.1.bb
> +++ b/meta/recipes-extended/lsb/lsb_4.1.bb
> @@ -4,6 +4,10 @@ HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
>  LICENSE = "GPLv2+"
>  PR = "r2"
>  
> +LSB_CORE = "lsb-core-${TARGET_ARCH}"
> +LSB_CORE_i586 = "lsb-core-ia32"

A _x86 here is probably a better option?

Cheers,

Richard

> +RPROVIDES_${PN} += "${LSB_CORE}"
> +
>  # lsb_release needs getopt
>  RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_getopt}"
>  
> -- 
> 2.1.4
> 




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/4] security_flags.inc: add more exceptions
  2015-04-10  0:28   ` Khem Raj
@ 2015-04-15  9:10     ` Dmitry Eremin-Solenikov
  2015-04-16 21:07       ` Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Eremin-Solenikov @ 2015-04-15  9:10 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 04/10/2015 03:28 AM, Khem Raj wrote:
>
>> On Apr 9, 2015, at 12:58 PM, Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> wrote:
>>
>> Add few more exceptions from other layers as noted during custom image
>> builds.
>>
>
> you can put it in respective layer.conf its seems a bit auxiliary to have it in OE-Core

Would it be better to fix the layer.conf or individual recipes?

>
>> Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
>> ---
>> meta/conf/distro/include/security_flags.inc | 8 +++++++-
>> 1 file changed, 7 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
>> index 21e1a53..f977c8e 100644
>> --- a/meta/conf/distro/include/security_flags.inc
>> +++ b/meta/conf/distro/include/security_flags.inc
>> @@ -58,8 +58,10 @@ SECURITY_CFLAGS_pn-libglu = "${SECURITY_NO_PIE_CFLAGS}"
>> SECURITY_CFLAGS_pn-libpcap = "${SECURITY_NO_PIE_CFLAGS}"
>> SECURITY_CFLAGS_pn-libpcre = "${SECURITY_NO_PIE_CFLAGS}"
>> SECURITY_CFLAGS_pn-libproxy = "${SECURITY_NO_PIE_CFLAGS}"
>> +SECURITY_CFLAGS_pn-libvirt = "${SECURITY_NO_PIE_CFLAGS}"
>> SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
>> SECURITY_CFLAGS_pn-lttng-ust = "${SECURITY_NO_PIE_CFLAGS}"
>> +SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}"
>> SECURITY_CFLAGS_pn-mesa = "${SECURITY_NO_PIE_CFLAGS}"
>> SECURITY_CFLAGS_pn-mesa-gl = "${SECURITY_NO_PIE_CFLAGS}"

[ skipped the rest]


-- 
With best wishes
Dmitry


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/4] security_flags.inc: add more exceptions
  2015-04-15  9:10     ` Dmitry Eremin-Solenikov
@ 2015-04-16 21:07       ` Khem Raj
  0 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-04-16 21:07 UTC (permalink / raw)
  To: Dmitry Eremin-Solenikov; +Cc: Patches and discussions about the oe-core layer

On Wed, Apr 15, 2015 at 5:10 AM, Dmitry Eremin-Solenikov
<dmitry_eremin@mentor.com> wrote:
> Would it be better to fix the layer.conf or individual recipes?

recipes even better.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-04-16 21:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 19:58 [PATCH 1/4] groff: add runtime dependency on sed Dmitry Eremin-Solenikov
2015-04-09 19:58 ` [PATCH 2/4] bitbake.conf: add sed-native to ASSUME_PROVIDED Dmitry Eremin-Solenikov
2015-04-09 19:58 ` [PATCH 3/4] security_flags.inc: add more exceptions Dmitry Eremin-Solenikov
2015-04-10  0:28   ` Khem Raj
2015-04-15  9:10     ` Dmitry Eremin-Solenikov
2015-04-16 21:07       ` Khem Raj
2015-04-09 19:58 ` [PATCH 4/4] lsb: provide lsb-core-ARCH Dmitry Eremin-Solenikov
2015-04-11 22:27   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.