* [PATCH] ca-certificates: Add openssl as a runtime dependency
@ 2016-05-27 10:28 Otavio Salvador
2016-05-30 21:57 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2016-05-27 10:28 UTC (permalink / raw)
To: OpenEmbedded Core Mailing List; +Cc: Otavio Salvador
The update-ca-certificates script uses the c_rehash utility which is
installed by openssl. Add openssl as a runtime dependency to fulfill
the utility requirement.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
meta/recipes-support/ca-certificates/ca-certificates_20160104.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20160104.bb b/meta/recipes-support/ca-certificates/ca-certificates_20160104.bb
index 871bc2e..faefc78 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20160104.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20160104.bb
@@ -76,4 +76,6 @@ do_install_append_class-native () {
SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates
}
+RDEPENDS_${PN} += "openssl"
+
BBCLASSEXTEND += "native nativesdk"
--
2.8.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ca-certificates: Add openssl as a runtime dependency
2016-05-27 10:28 [PATCH] ca-certificates: Add openssl as a runtime dependency Otavio Salvador
@ 2016-05-30 21:57 ` Richard Purdie
2016-06-01 23:31 ` Paul Eggleton
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2016-05-30 21:57 UTC (permalink / raw)
To: Otavio Salvador, OpenEmbedded Core Mailing List
On Fri, 2016-05-27 at 07:28 -0300, Otavio Salvador wrote:
> The update-ca-certificates script uses the c_rehash utility which is
> installed by openssl. Add openssl as a runtime dependency to fulfill
> the utility requirement.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
> meta/recipes-support/ca-certificates/ca-certificates_20160104.bb | 2
> ++
> 1 file changed, 2 insertions(+)
This broke allarch machine signature invariance however I merged a
patch to resolve that.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ca-certificates: Add openssl as a runtime dependency
2016-05-30 21:57 ` Richard Purdie
@ 2016-06-01 23:31 ` Paul Eggleton
2016-06-02 15:00 ` Otavio Salvador
0 siblings, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2016-06-01 23:31 UTC (permalink / raw)
To: Richard Purdie, Otavio Salvador; +Cc: openembedded-core
On Mon, 30 May 2016 22:57:52 Richard Purdie wrote:
> On Fri, 2016-05-27 at 07:28 -0300, Otavio Salvador wrote:
> > The update-ca-certificates script uses the c_rehash utility which is
> > installed by openssl. Add openssl as a runtime dependency to fulfill
> > the utility requirement.
> >
> > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> > ---
> >
> > meta/recipes-support/ca-certificates/ca-certificates_20160104.bb | 2
> >
> > ++
> >
> > 1 file changed, 2 insertions(+)
>
> This broke allarch machine signature invariance however I merged a
> patch to resolve that.
I think we may still be missing a build-time dependency for
ca-certificates-native:
--------------------- snip ---------------------
ERROR: ca-certificates-native-20160104-r0 do_install: Function failed: do_install (log file is located at /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/log.do_install.16841)
ERROR: Logfile of failure stored in: /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/log.do_install.16841
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 8 CERTSDIR=/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates SBINDIR=/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin DESTDIR=/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image install
| for dir in mozilla; do \
| mkdir /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/$dir; \
| make -C $dir install CERTSDIR=/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/$dir; \
| done
| make[1]: Entering directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/mozilla'
| for p in *.crt; do \
| install -m 644 $p /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/mozilla/$p ; \
| done
| make[1]: Leaving directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/mozilla'
| for dir in sbin; do \
| make -C $dir install CERTSDIR=/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image//home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/share/ca-certificates/$dir; \
| done
| make[1]: Entering directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/sbin'
| install -d /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin
| install -m755 update-ca-certificates /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin/
| make[1]: Leaving directory '/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/git/sbin'
| Updating certificates in /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/etc/ssl/certs...
| /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin/update-ca-certificates: line 210: c_rehash: command not found
| WARNING: /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/run.do_install.16841:1 exit 127 from 'SYSROOT="/home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux" /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/image/home/paul/poky/poky/build/tmp/sysroots/x86_64-linux/usr/sbin/update-ca-certificates'
| ERROR: Function failed: do_install (log file is located at /home/paul/poky/poky/build/tmp/work/x86_64-linux/ca-certificates-native/20160104-r0/temp/log.do_install.16841)
ERROR: Task 1070 (virtual:native:/home/paul/poky/poky/meta/recipes-support/ca-certificates/ca-certificates_20160104.bb, do_install) failed with exit code '1'
--------------------- snip ---------------------
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ca-certificates: Add openssl as a runtime dependency
2016-06-01 23:31 ` Paul Eggleton
@ 2016-06-02 15:00 ` Otavio Salvador
2016-06-02 20:05 ` Paul Eggleton
0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2016-06-02 15:00 UTC (permalink / raw)
To: Paul Eggleton
Cc: Otavio Salvador, Patches and discussions about the oe-core layer
On Wed, Jun 1, 2016 at 8:31 PM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Mon, 30 May 2016 22:57:52 Richard Purdie wrote:
>> On Fri, 2016-05-27 at 07:28 -0300, Otavio Salvador wrote:
>> > The update-ca-certificates script uses the c_rehash utility which is
>> > installed by openssl. Add openssl as a runtime dependency to fulfill
>> > the utility requirement.
>> >
>> > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> > ---
>> >
>> > meta/recipes-support/ca-certificates/ca-certificates_20160104.bb | 2
>> >
>> > ++
>> >
>> > 1 file changed, 2 insertions(+)
>>
>> This broke allarch machine signature invariance however I merged a
>> patch to resolve that.
>
> I think we may still be missing a build-time dependency for
> ca-certificates-native:
Indeed; do you handle it or want me to send a patch for this?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ca-certificates: Add openssl as a runtime dependency
2016-06-02 15:00 ` Otavio Salvador
@ 2016-06-02 20:05 ` Paul Eggleton
0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2016-06-02 20:05 UTC (permalink / raw)
To: Otavio Salvador
Cc: Otavio Salvador, Patches and discussions about the oe-core layer
On Thu, 02 Jun 2016 12:00:57 Otavio Salvador wrote:
> On Wed, Jun 1, 2016 at 8:31 PM, Paul Eggleton
>
> <paul.eggleton@linux.intel.com> wrote:
> > On Mon, 30 May 2016 22:57:52 Richard Purdie wrote:
> >> On Fri, 2016-05-27 at 07:28 -0300, Otavio Salvador wrote:
> >> > The update-ca-certificates script uses the c_rehash utility which is
> >> > installed by openssl. Add openssl as a runtime dependency to fulfill
> >> > the utility requirement.
> >> >
> >> > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> >> > ---
> >> >
> >> > meta/recipes-support/ca-certificates/ca-certificates_20160104.bb | 2
> >> >
> >> > ++
> >> >
> >> > 1 file changed, 2 insertions(+)
> >>
> >> This broke allarch machine signature invariance however I merged a
> >> patch to resolve that.
> >
> > I think we may still be missing a build-time dependency for
>
> > ca-certificates-native:
> Indeed; do you handle it or want me to send a patch for this?
I can do it.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-02 20:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-27 10:28 [PATCH] ca-certificates: Add openssl as a runtime dependency Otavio Salvador
2016-05-30 21:57 ` Richard Purdie
2016-06-01 23:31 ` Paul Eggleton
2016-06-02 15:00 ` Otavio Salvador
2016-06-02 20:05 ` Paul Eggleton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox