Re: [OE-core] [PATCH 1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages

2018-08-07 Thread Mark Hatle
On 8/7/18 9:56 AM, Richard Purdie wrote:
> On Tue, 2018-08-07 at 11:44 +0100, richard.pur...@linuxfoundation.org
> wrote:
>> On Tue, 2018-08-07 at 17:37 +0800, Kang Kai wrote:
>>> On 2018年08月06日 22:51, Mark Hatle wrote:
>
>> resolvconf -> bash
>> weston-init -> weston kbd
>
> weston RRECOMMENDS weston-init?
>>>
>>> weston-init install init file which calls weston or weston-launch
>>> from 
>>> package weston and openvt from package kbd.
>>
>> Agreed.
>>
>> My worry is that this move effectively makes allarch usesless since
>> any
>> script using an interpreter will now need to be not allarch since
>> most
>> interpreters are not allarch.
>>
>> I'm not sure this is a good move...
> 
> Thinking about this further, we could just disable allarch if multilib
> is enabled? That would seem to address most of the issues, not entirely
> satisfactorily but enough to make things work... ?

Yes, this would resolve some of the concerns.  We already know that these
allarch SHOULD be identical for all multilibs, so install space should not be an
issue, it's only build time concerns.

--Mark

> Cheers,
> 
> Richard
> 

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


Re: [OE-core] [PATCH 1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages

2018-08-07 Thread Richard Purdie
On Tue, 2018-08-07 at 11:44 +0100, richard.pur...@linuxfoundation.org
wrote:
> On Tue, 2018-08-07 at 17:37 +0800, Kang Kai wrote:
> > On 2018年08月06日 22:51, Mark Hatle wrote:
> > > > 
> > > > > resolvconf -> bash
> > > > > weston-init -> weston kbd
> > > > 
> > > > weston RRECOMMENDS weston-init?
> > 
> > weston-init install init file which calls weston or weston-launch
> > from 
> > package weston and openvt from package kbd.
> 
> Agreed.
> 
> My worry is that this move effectively makes allarch usesless since
> any
> script using an interpreter will now need to be not allarch since
> most
> interpreters are not allarch.
> 
> I'm not sure this is a good move...

Thinking about this further, we could just disable allarch if multilib
is enabled? That would seem to address most of the issues, not entirely
satisfactorily but enough to make things work... ?

Cheers,

Richard

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


Re: [OE-core] [PATCH 1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages

2018-08-07 Thread richard . purdie
On Tue, 2018-08-07 at 17:37 +0800, Kang Kai wrote:
> On 2018年08月06日 22:51, Mark Hatle wrote:
> > On 8/3/18 4:28 PM, richard.pur...@linuxfoundation.org wrote:
> > > On Fri, 2018-08-03 at 09:49 +0800, kai.k...@windriver.com wrote:
> > > > From: Kai Kang 
> > > > 
> > > > The following allarch packages rdepends on TUNE_PKGARCH
> > > > packages. So
> > > > remove allarch from these recipes.
> > > > 
> > > > ca-certificates -> openssl
> > > 
> > > Should we reverse this, i.e. have openssl RRECOMMENDS ca-
> > > certificates?
> > 
> > I believe this is what other distros do.  I think the dependency on
> > ca-certficiates was there because there is a script included that
> > uses OpenSSL
> > to generate the certificates.  (Theoretically you can use this
> > script post
> > install to update the certs.)
> > 
> > /usr/sbin/update-ca-certificates
> > 
> > I suspect the others had similar dependencies.. some included
> > script needed
> > something from another package to run.
> > 
> > Not sure if this changes the suggestion though...
> > 
> > --Mark
> > 
> > > > docbook-xsl-stylesheets -> perl
> > > > font-alias -> font-util
> > > > initramfs-module-setup-live -> udev-extraconf
> > > > initramfs-framework -> ${VIRTUAL-RUNTIME_base-utils} (busybox
> > > > by
> > > > default)
> > > > ppp-dialin -> ppp
> > > 
> > > ppp RRECOMMENDS ppp-dialin?
> 
> ppp-dialin installs script ppp-dialin which calls /usr/sbin/pppd.
> 
> 
> > > 
> > > > resolvconf -> bash
> > > > weston-init -> weston kbd
> > > 
> > > weston RRECOMMENDS weston-init?
> 
> weston-init install init file which calls weston or weston-launch
> from 
> package weston and openvt from package kbd.

Agreed.

My worry is that this move effectively makes allarch usesless since any
script using an interpreter will now need to be not allarch since most
interpreters are not allarch.

I'm not sure this is a good move...

Cheers,

Richard

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


Re: [OE-core] [PATCH 1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages

2018-08-07 Thread Kang Kai

On 2018年08月06日 22:51, Mark Hatle wrote:

On 8/3/18 4:28 PM, richard.pur...@linuxfoundation.org wrote:

On Fri, 2018-08-03 at 09:49 +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

The following allarch packages rdepends on TUNE_PKGARCH packages. So
remove allarch from these recipes.

ca-certificates -> openssl

Should we reverse this, i.e. have openssl RRECOMMENDS ca-certificates?

I believe this is what other distros do.  I think the dependency on
ca-certficiates was there because there is a script included that uses OpenSSL
to generate the certificates.  (Theoretically you can use this script post
install to update the certs.)

/usr/sbin/update-ca-certificates

I suspect the others had similar dependencies.. some included script needed
something from another package to run.

Not sure if this changes the suggestion though...

--Mark


docbook-xsl-stylesheets -> perl
font-alias -> font-util
initramfs-module-setup-live -> udev-extraconf
initramfs-framework -> ${VIRTUAL-RUNTIME_base-utils} (busybox by
default)
ppp-dialin -> ppp

ppp RRECOMMENDS ppp-dialin?


ppp-dialin installs script ppp-dialin which calls /usr/sbin/pppd.





resolvconf -> bash
weston-init -> weston kbd

weston RRECOMMENDS weston-init?


weston-init install init file which calls weston or weston-launch from 
package weston and openvt from package kbd.


Regards,
Kai




Not really sure about some of these but we should at least consider
it...

Cheers,

Richard





--
Regards,
Neil | Kai Kang

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


Re: [OE-core] [PATCH 1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages

2018-08-06 Thread Mark Hatle
On 8/3/18 4:28 PM, richard.pur...@linuxfoundation.org wrote:
> On Fri, 2018-08-03 at 09:49 +0800, kai.k...@windriver.com wrote:
>> From: Kai Kang 
>>
>> The following allarch packages rdepends on TUNE_PKGARCH packages. So
>> remove allarch from these recipes.
>>
>> ca-certificates -> openssl
> 
> Should we reverse this, i.e. have openssl RRECOMMENDS ca-certificates?

I believe this is what other distros do.  I think the dependency on
ca-certficiates was there because there is a script included that uses OpenSSL
to generate the certificates.  (Theoretically you can use this script post
install to update the certs.)

/usr/sbin/update-ca-certificates

I suspect the others had similar dependencies.. some included script needed
something from another package to run.

Not sure if this changes the suggestion though...

--Mark

>> docbook-xsl-stylesheets -> perl
>> font-alias -> font-util
>> initramfs-module-setup-live -> udev-extraconf
>> initramfs-framework -> ${VIRTUAL-RUNTIME_base-utils} (busybox by
>> default)
>> ppp-dialin -> ppp
> 
> ppp RRECOMMENDS ppp-dialin?
> 
>> resolvconf -> bash
>> weston-init -> weston kbd
> 
> weston RRECOMMENDS weston-init?
> 
> Not really sure about some of these but we should at least consider
> it...
> 
> Cheers,
> 
> Richard
> 

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


Re: [OE-core] [PATCH 1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages

2018-08-03 Thread richard . purdie
On Fri, 2018-08-03 at 09:49 +0800, kai.k...@windriver.com wrote:
> From: Kai Kang 
> 
> The following allarch packages rdepends on TUNE_PKGARCH packages. So
> remove allarch from these recipes.
> 
> ca-certificates -> openssl

Should we reverse this, i.e. have openssl RRECOMMENDS ca-certificates?

> docbook-xsl-stylesheets -> perl
> font-alias -> font-util
> initramfs-module-setup-live -> udev-extraconf
> initramfs-framework -> ${VIRTUAL-RUNTIME_base-utils} (busybox by
> default)
> ppp-dialin -> ppp

ppp RRECOMMENDS ppp-dialin?

> resolvconf -> bash
> weston-init -> weston kbd

weston RRECOMMENDS weston-init?

Not really sure about some of these but we should at least consider
it...

Cheers,

Richard

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