From: "Randy MacLeod" <randy.macleod@windriver.com>
To: Shachar Menashe <shachar@vdoo.com>,
"steve@sakoman.com" <steve@sakoman.com>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: YPBZ 14125: busybox wget: where to add openssl-bin dependency?
Date: Wed, 18 Nov 2020 17:30:11 -0500 [thread overview]
Message-ID: <34d371b7-8552-0dec-d322-7ea1932f7bed@windriver.com> (raw)
In-Reply-To: <AM0PR08MB3617976199B253B75D1A7D30C5E10@AM0PR08MB3617.eurprd08.prod.outlook.com>
Hi Shachar,
On 2020-11-18 1:49 p.m., Shachar Menashe wrote:
> About the busybox patch, I realized that Dunfell doesn't come with the "openssl" binary built-in (only the library) but this fix will actually requires having the openssl binary (busybox invokes the openssl binary directly)
> Do you think it's reasonable to add it? The library is already getting built, so I don't think it's a huge deal to add the binary as well
For dunfell, you need to ask Steve and the oe-core list.
I've CCed both Steve and the list here.
Typically we would not add components to an image after release
but since you have a bug that adding openssl-bin fixes, that's
a different story. You would need to add a dependency
on openssl-bin from busybox. That seems wrong since it'll
increase the size of core-image-minimal.
>
> I'm thinking we would need to add "openssl-bin" to the openssl recipe somewhere, right?
The openssl recipe on master already produces:
$ ls tmp-glibc/work/core2-64-wrs-linux/openssl/1.1.1h-r0/packages-split/
libcrypto libssl.shlibdeps openssl-bin.shlibdeps
openssl-dev openssl-engines.shlibdeps openssl-src
libcrypto.shlibdeps openssl openssl-conf openssl-doc
openssl-locale openssl-staticdev
libssl openssl-bin openssl-dbg openssl-engines
openssl-misc
An example of a dependency on openssl-bin is:
$ cd .../oe-core.git
$ rg openssl-bin
...
meta/recipes-support/ca-certificates/ca-certificates_20200601.bb
87:RDEPENDS_${PN}_class-target = "openssl-bin"
89:RDEPENDS_${PN}_class-nativesdk = "nativesdk-openssl-bin"
so without looking carefully at the busybox recipe, I do wonder
if you just need an *optional* dependency on ca-certificates.
Looking at the busybox recipe, it would be better to have busybox-wget
depend on openssl-bin like:
# busybox's unzip test case needs zip command, which busybox itself does
not provide
RDEPENDS_${PN}-ptest = "zip"
of course a busybox-wget only component/alternative doesn't seem to
exist yet:
$ ls tmp-glibc/work/core2-64-oe-linux/busybox/1.32.0-r0/packages-splt
busybox busybox-dev busybox-httpd busybox-locale
busybox.shlibdeps busybox-staticdev busybox-udhcpc
busybox-dbg busybox-doc busybox-hwclock busybox-mdev
busybox-src busybox-syslog busybox-udhcpd
so you'd have to separate that out like we have for -syslog and -httpd, etc.
It's more work than you signed up for but I'm pretty sure that people
are not going to want to have our default core-image-minimal include
openssl-FOO and increase in size.
$ grep busybox
tmp-glibc/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201117232559.rootfs.manifest
busybox core2-64 1.32.0-r0
busybox-hwclock core2-64 1.32.0-r0
busybox-syslog core2-64 1.32.0-r0
busybox-udhcpc core2-64 1.32.0-r0
$ grep openssl
tmp-glibc/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201117232559.rootfs.manifest
NULL
$
Hopefully someone opinionated about busybox will make a suggestion
on how to resolve this bug.
../Randy
# Randy MacLeod
# Wind River Linux
next parent reply other threads:[~2020-11-18 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AM7PR08MB5335A3F67A86A99D40F14979C13E0@AM7PR08MB5335.eurprd08.prod.outlook.com>
[not found] ` <BY5PR11MB4167CE3E6868CDF84B723417EA140@BY5PR11MB4167.namprd11.prod.outlook.com>
[not found] ` <AM7PR08MB5335FD6327DC339AD370110AC1140@AM7PR08MB5335.eurprd08.prod.outlook.com>
[not found] ` <BY5PR11MB4167A2717FBFEE9C8838535BEA140@BY5PR11MB4167.namprd11.prod.outlook.com>
[not found] ` <AM7PR08MB53350F08EB85F0EC65DC7798C1140@AM7PR08MB5335.eurprd08.prod.outlook.com>
[not found] ` <40be87cf-d621-9382-494e-5d8f7593aded@windriver.com>
[not found] ` <AM7PR08MB533582E4480B60D11B6DB3A9C1100@AM7PR08MB5335.eurprd08.prod.outlook.com>
[not found] ` <efebc5dc-c5d4-6279-50f8-629877346691@windriver.com>
[not found] ` <AM7PR08MB5335CCB3F970B45A09C4C416C1E20@AM7PR08MB5335.eurprd08.prod.outlook.com>
[not found] ` <471a4868-05a9-5851-d52e-b145011721c5@windriver.com>
[not found] ` <AM0PR08MB3617FDDCEE0A4B7988EE9986C5E20@AM0PR08MB3617.eurprd08.prod.outlook.com>
[not found] ` <d5af9fd5-4395-df8e-9ab0-a0dff0ce80e2@windriver.com>
[not found] ` <AM0PR08MB3617976199B253B75D1A7D30C5E10@AM0PR08MB3617.eurprd08.prod.outlook.com>
2020-11-18 22:30 ` Randy MacLeod [this message]
2020-11-19 1:44 ` [OE-core] YPBZ 14125: busybox wget: where to add openssl-bin dependency? Andre McCurdy
[not found] ` <AM0PR08MB3617AF5C09483DC0B5A2996BC5E00@AM0PR08MB3617.eurprd08.prod.outlook.com>
2020-11-19 19:44 ` Andre McCurdy
[not found] ` <AM0PR08MB3617B7B1D8683535C87D39A1C5FF0@AM0PR08MB3617.eurprd08.prod.outlook.com>
2020-11-20 9:20 ` Andre McCurdy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=34d371b7-8552-0dec-d322-7ea1932f7bed@windriver.com \
--to=randy.macleod@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=shachar@vdoo.com \
--cc=steve@sakoman.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox