All of lore.kernel.org
 help / color / mirror / Atom feed
* [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
@ 2020-11-05 10:38 Paul Barker
  2020-11-05 22:54 ` [EXTERNAL] " Tammana, Gowtham
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2020-11-05 10:38 UTC (permalink / raw)
  To: meta-arago

The matrix-gui-pm-demos recipe splits its binaries into several
subpackages leaving the default package empty. The dependencies for the
default package are set so it makes sense to allow this empty package to
be created.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
---
 meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
index 0116f5ea..a9ebb84f 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
 
 # Make sure power submenu and app images has been installed
 RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm"
+ALLOW_EMPTY_${PN} = "1"
 
 # Break out the individual files into separate packages.  That way only the
 # PM features supported for each device can be installed.  Prepend the list
-- 
2.29.0



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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-05 10:38 [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package Paul Barker
@ 2020-11-05 22:54 ` Tammana, Gowtham
  2020-11-06  9:05   ` Paul Barker
  0 siblings, 1 reply; 9+ messages in thread
From: Tammana, Gowtham @ 2020-11-05 22:54 UTC (permalink / raw)
  To: Paul Barker, meta-arago



>-----Original Message-----
>From: meta-arago-bounces@arago-project.org <meta-arago-bounces@arago-
>project.org> On Behalf Of Paul Barker
>Sent: Thursday, November 05, 2020 4:38 AM
>To: meta-arago@arago-project.org
>Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
>demos: Allow empty package
>
>The matrix-gui-pm-demos recipe splits its binaries into several
>subpackages leaving the default package empty. The dependencies for the
>default package are set so it makes sense to allow this empty package to
>be created.
>
>Signed-off-by: Paul Barker <pbarker@konsulko.com>
>---
> meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>demos_2.0.bb
>index 0116f5ea..a9ebb84f 100644
>--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
>+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
>@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
>
> # Make sure power submenu and app images has been installed
> RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power
>matrix-gui-generic-pm"
>+ALLOW_EMPTY_${PN} = "1"

Just curious, I assume that the deployment of the dependent packages is still
ensured even without this change. This just makes it apparent to the user that
the default package is empty. Or is it that the deployment of dependent packages
is broken without this.

Thanks,
Gowtham

> # Break out the individual files into separate packages.  That way only
>the
> # PM features supported for each device can be installed.  Prepend the
>list
>--
>2.29.0
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-05 22:54 ` [EXTERNAL] " Tammana, Gowtham
@ 2020-11-06  9:05   ` Paul Barker
  2020-11-06 22:45     ` Tammana, Gowtham
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2020-11-06  9:05 UTC (permalink / raw)
  To: Tammana, Gowtham; +Cc: meta-arago

On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <g-tammana@ti.com> wrote:
>
> >-----Original Message-----
> >From: meta-arago-bounces@arago-project.org <meta-arago-bounces@arago-
> >project.org> On Behalf Of Paul Barker
> >Sent: Thursday, November 05, 2020 4:38 AM
> >To: meta-arago@arago-project.org
> >Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
> >demos: Allow empty package
> >
> >The matrix-gui-pm-demos recipe splits its binaries into several
> >subpackages leaving the default package empty. The dependencies for the
> >default package are set so it makes sense to allow this empty package to
> >be created.
> >
> >Signed-off-by: Paul Barker <pbarker@konsulko.com>
> >---
> > meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +
> > 1 file changed, 1 insertion(+)
> >
> >diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >demos_2.0.bb
> >index 0116f5ea..a9ebb84f 100644
> >--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
> >+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
> >@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
> >
> > # Make sure power submenu and app images has been installed
> > RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power
> >matrix-gui-generic-pm"
> >+ALLOW_EMPTY_${PN} = "1"
>
> Just curious, I assume that the deployment of the dependent packages is still
> ensured even without this change. This just makes it apparent to the user that
> the default package is empty. Or is it that the deployment of dependent packages
> is broken without this.

Without this change the matrix-gui-pm-demos package is not created and
cannot be installed.

-- 
Paul Barker
Konsulko Group


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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-06  9:05   ` Paul Barker
@ 2020-11-06 22:45     ` Tammana, Gowtham
  2020-11-11 16:56       ` Paul Barker
  0 siblings, 1 reply; 9+ messages in thread
From: Tammana, Gowtham @ 2020-11-06 22:45 UTC (permalink / raw)
  To: Paul Barker; +Cc: meta-arago



>-----Original Message-----
>From: Paul Barker <pbarker@konsulko.com>
>Sent: Friday, November 06, 2020 3:06 AM
>To: Tammana, Gowtham <g-tammana@ti.com>
>Cc: meta-arago@arago-project.org
>Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
>demos: Allow empty package
>
>On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <g-tammana@ti.com> wrote:
>>
>> >-----Original Message-----
>> >From: meta-arago-bounces@arago-project.org <meta-arago-bounces@arago-
>> >project.org> On Behalf Of Paul Barker
>> >Sent: Thursday, November 05, 2020 4:38 AM
>> >To: meta-arago@arago-project.org
>> >Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
>> >demos: Allow empty package
>> >
>> >The matrix-gui-pm-demos recipe splits its binaries into several
>> >subpackages leaving the default package empty. The dependencies for the
>> >default package are set so it makes sense to allow this empty package
>to
>> >be created.
>> >
>> >Signed-off-by: Paul Barker <pbarker@konsulko.com>
>> >---
>> > meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +
>> > 1 file changed, 1 insertion(+)
>> >
>> >diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>> >demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>> >demos_2.0.bb
>> >index 0116f5ea..a9ebb84f 100644
>> >--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
>> >+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
>> >@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
>> >
>> > # Make sure power submenu and app images has been installed
>> > RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power
>> >matrix-gui-generic-pm"
>> >+ALLOW_EMPTY_${PN} = "1"
>>
>> Just curious, I assume that the deployment of the dependent packages is
>still
>> ensured even without this change. This just makes it apparent to the
>user that
>> the default package is empty. Or is it that the deployment of dependent
>packages
>> is broken without this.
>
>Without this change the matrix-gui-pm-demos package is not created and
>cannot be installed.

Yes, but as the package here is empty trying to understand why it needs to
be installed in the first place.

Now that the package is created, wondering if the dependencies with the 
sub-packages needs to be listed as well something like

RDEPENDS_${PN} += ${PN}-<subpackages} or

RDEPENDS_${PN}-<subpackages> = ${PN}

Thanks,
Gowtham


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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-06 22:45     ` Tammana, Gowtham
@ 2020-11-11 16:56       ` Paul Barker
  2020-11-12 17:41         ` Tammana, Gowtham
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2020-11-11 16:56 UTC (permalink / raw)
  To: Tammana, Gowtham; +Cc: meta-arago

On Fri, 6 Nov 2020 at 22:45, Tammana, Gowtham <g-tammana@ti.com> wrote:
>
>
>
> >-----Original Message-----
> >From: Paul Barker <pbarker@konsulko.com>
> >Sent: Friday, November 06, 2020 3:06 AM
> >To: Tammana, Gowtham <g-tammana@ti.com>
> >Cc: meta-arago@arago-project.org
> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
> >demos: Allow empty package
> >
> >On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <g-tammana@ti.com> wrote:
> >>
> >> >-----Original Message-----
> >> >From: meta-arago-bounces@arago-project.org <meta-arago-bounces@arago-
> >> >project.org> On Behalf Of Paul Barker
> >> >Sent: Thursday, November 05, 2020 4:38 AM
> >> >To: meta-arago@arago-project.org
> >> >Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
> >> >demos: Allow empty package
> >> >
> >> >The matrix-gui-pm-demos recipe splits its binaries into several
> >> >subpackages leaving the default package empty. The dependencies for the
> >> >default package are set so it makes sense to allow this empty package
> >to
> >> >be created.
> >> >
> >> >Signed-off-by: Paul Barker <pbarker@konsulko.com>
> >> >---
> >> > meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +
> >> > 1 file changed, 1 insertion(+)
> >> >
> >> >diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >> >demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >> >demos_2.0.bb
> >> >index 0116f5ea..a9ebb84f 100644
> >> >--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
> >> >+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
> >> >@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
> >> >
> >> > # Make sure power submenu and app images has been installed
> >> > RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power
> >> >matrix-gui-generic-pm"
> >> >+ALLOW_EMPTY_${PN} = "1"
> >>
> >> Just curious, I assume that the deployment of the dependent packages is
> >still
> >> ensured even without this change. This just makes it apparent to the
> >user that
> >> the default package is empty. Or is it that the deployment of dependent
> >packages
> >> is broken without this.
> >
> >Without this change the matrix-gui-pm-demos package is not created and
> >cannot be installed.
>
> Yes, but as the package here is empty trying to understand why it needs to
> be installed in the first place.
>
> Now that the package is created, wondering if the dependencies with the
> sub-packages needs to be listed as well something like
>
> RDEPENDS_${PN} += ${PN}-<subpackages} or
>
> RDEPENDS_${PN}-<subpackages> = ${PN}

I'm not sure I understand your comment here. RDEPENDS_${PN} is set on
the line above my change. So effectively ${PN} is a packagegroup which
will install the listed dependencies. But without ALLOW_EMPTY being
set it won't be created.

The other thing to consider is that ${PN} is a default dependency of
${PN}-dev and so not creating a ${PN} package can result in image
features like dev-pkgs breaking.

-- 
Paul Barker
Konsulko Group


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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-11 16:56       ` Paul Barker
@ 2020-11-12 17:41         ` Tammana, Gowtham
  2020-11-12 18:27           ` Paul Barker
  0 siblings, 1 reply; 9+ messages in thread
From: Tammana, Gowtham @ 2020-11-12 17:41 UTC (permalink / raw)
  To: Paul Barker; +Cc: meta-arago



>-----Original Message-----
>From: Paul Barker <pbarker@konsulko.com>
>Sent: Wednesday, November 11, 2020 10:56 AM
>To: Tammana, Gowtham <g-tammana@ti.com>
>Cc: meta-arago@arago-project.org
>Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
>demos: Allow empty package
>
>On Fri, 6 Nov 2020 at 22:45, Tammana, Gowtham <g-tammana@ti.com> wrote:
>>
>>
>>
>> >-----Original Message-----
>> >From: Paul Barker <pbarker@konsulko.com>
>> >Sent: Friday, November 06, 2020 3:06 AM
>> >To: Tammana, Gowtham <g-tammana@ti.com>
>> >Cc: meta-arago@arago-project.org
>> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
>pm-
>> >demos: Allow empty package
>> >
>> >On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <g-tammana@ti.com> wrote:
>> >>
>> >> >-----Original Message-----
>> >> >From: meta-arago-bounces@arago-project.org <meta-arago-
>bounces@arago-
>> >> >project.org> On Behalf Of Paul Barker
>> >> >Sent: Thursday, November 05, 2020 4:38 AM
>> >> >To: meta-arago@arago-project.org
>> >> >Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
>pm-
>> >> >demos: Allow empty package
>> >> >
>> >> >The matrix-gui-pm-demos recipe splits its binaries into several
>> >> >subpackages leaving the default package empty. The dependencies for
>the
>> >> >default package are set so it makes sense to allow this empty
>package
>> >to
>> >> >be created.
>> >> >
>> >> >Signed-off-by: Paul Barker <pbarker@konsulko.com>
>> >> >---
>> >> > meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb |
>1 +
>> >> > 1 file changed, 1 insertion(+)
>> >> >
>> >> >diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>> >> >demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>> >> >demos_2.0.bb
>> >> >index 0116f5ea..a9ebb84f 100644
>> >> >--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>demos_2.0.bb
>> >> >+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>demos_2.0.bb
>> >> >@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
>> >> >
>> >> > # Make sure power submenu and app images has been installed
>> >> > RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power
>> >> >matrix-gui-generic-pm"
>> >> >+ALLOW_EMPTY_${PN} = "1"
>> >>
>> >> Just curious, I assume that the deployment of the dependent packages
>is
>> >still
>> >> ensured even without this change. This just makes it apparent to the
>> >user that
>> >> the default package is empty. Or is it that the deployment of
>dependent
>> >packages
>> >> is broken without this.
>> >
>> >Without this change the matrix-gui-pm-demos package is not created and
>> >cannot be installed.
>>
>> Yes, but as the package here is empty trying to understand why it needs
>to
>> be installed in the first place.
>>
>> Now that the package is created, wondering if the dependencies with the
>> sub-packages needs to be listed as well something like
>>
>> RDEPENDS_${PN} += ${PN}-<subpackages} or
>>
>> RDEPENDS_${PN}-<subpackages> = ${PN}
>
>I'm not sure I understand your comment here. RDEPENDS_${PN} is set on
>the line above my change. So effectively ${PN} is a packagegroup which
>will install the listed dependencies. But without ALLOW_EMPTY being
>set it won't be created.
>
>The other thing to consider is that ${PN} is a default dependency of
>${PN}-dev and so not creating a ${PN} package can result in image
>features like dev-pkgs breaking.

The comment was for the dependencies for the sub-packages ${PN}-count
and others here. I don't think ${PN} becomes a default dependency for
sub-packages. Atleast the `opkg install` on sub-packages is not checking
on the ${PN} dependencies. Given they are dependencies I reasoned that
they can be added to the sub-packages with 

RDEPENDS-${PN}-count += ${PN}

so that ${PN} listed dependencies are installed on installation of any of
the sub-package which seems to be what the recipe wants.

I see that this patch has been merged. This can be a separate patch. I 
can push this change if you would like me to.

Thanks,
Gowtham


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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-12 17:41         ` Tammana, Gowtham
@ 2020-11-12 18:27           ` Paul Barker
  2020-11-12 20:20             ` Tammana, Gowtham
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2020-11-12 18:27 UTC (permalink / raw)
  To: Tammana, Gowtham; +Cc: meta-arago

On Thu, 12 Nov 2020 at 17:42, Tammana, Gowtham <g-tammana@ti.com> wrote:
>
>
>
> >-----Original Message-----
> >From: Paul Barker <pbarker@konsulko.com>
> >Sent: Wednesday, November 11, 2020 10:56 AM
> >To: Tammana, Gowtham <g-tammana@ti.com>
> >Cc: meta-arago@arago-project.org
> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
> >demos: Allow empty package
> >
> >On Fri, 6 Nov 2020 at 22:45, Tammana, Gowtham <g-tammana@ti.com> wrote:
> >>
> >>
> >>
> >> >-----Original Message-----
> >> >From: Paul Barker <pbarker@konsulko.com>
> >> >Sent: Friday, November 06, 2020 3:06 AM
> >> >To: Tammana, Gowtham <g-tammana@ti.com>
> >> >Cc: meta-arago@arago-project.org
> >> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
> >pm-
> >> >demos: Allow empty package
> >> >
> >> >On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <g-tammana@ti.com> wrote:
> >> >>
> >> >> >-----Original Message-----
> >> >> >From: meta-arago-bounces@arago-project.org <meta-arago-
> >bounces@arago-
> >> >> >project.org> On Behalf Of Paul Barker
> >> >> >Sent: Thursday, November 05, 2020 4:38 AM
> >> >> >To: meta-arago@arago-project.org
> >> >> >Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
> >pm-
> >> >> >demos: Allow empty package
> >> >> >
> >> >> >The matrix-gui-pm-demos recipe splits its binaries into several
> >> >> >subpackages leaving the default package empty. The dependencies for
> >the
> >> >> >default package are set so it makes sense to allow this empty
> >package
> >> >to
> >> >> >be created.
> >> >> >
> >> >> >Signed-off-by: Paul Barker <pbarker@konsulko.com>
> >> >> >---
> >> >> > meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb |
> >1 +
> >> >> > 1 file changed, 1 insertion(+)
> >> >> >
> >> >> >diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >> >> >demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >> >> >demos_2.0.bb
> >> >> >index 0116f5ea..a9ebb84f 100644
> >> >> >--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >demos_2.0.bb
> >> >> >+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >demos_2.0.bb
> >> >> >@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
> >> >> >
> >> >> > # Make sure power submenu and app images has been installed
> >> >> > RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power
> >> >> >matrix-gui-generic-pm"
> >> >> >+ALLOW_EMPTY_${PN} = "1"
> >> >>
> >> >> Just curious, I assume that the deployment of the dependent packages
> >is
> >> >still
> >> >> ensured even without this change. This just makes it apparent to the
> >> >user that
> >> >> the default package is empty. Or is it that the deployment of
> >dependent
> >> >packages
> >> >> is broken without this.
> >> >
> >> >Without this change the matrix-gui-pm-demos package is not created and
> >> >cannot be installed.
> >>
> >> Yes, but as the package here is empty trying to understand why it needs
> >to
> >> be installed in the first place.
> >>
> >> Now that the package is created, wondering if the dependencies with the
> >> sub-packages needs to be listed as well something like
> >>
> >> RDEPENDS_${PN} += ${PN}-<subpackages} or
> >>
> >> RDEPENDS_${PN}-<subpackages> = ${PN}
> >
> >I'm not sure I understand your comment here. RDEPENDS_${PN} is set on
> >the line above my change. So effectively ${PN} is a packagegroup which
> >will install the listed dependencies. But without ALLOW_EMPTY being
> >set it won't be created.
> >
> >The other thing to consider is that ${PN} is a default dependency of
> >${PN}-dev and so not creating a ${PN} package can result in image
> >features like dev-pkgs breaking.
>
> The comment was for the dependencies for the sub-packages ${PN}-count
> and others here. I don't think ${PN} becomes a default dependency for
> sub-packages. Atleast the `opkg install` on sub-packages is not checking
> on the ${PN} dependencies. Given they are dependencies I reasoned that
> they can be added to the sub-packages with
>
> RDEPENDS-${PN}-count += ${PN}
>
> so that ${PN} listed dependencies are installed on installation of any of
> the sub-package which seems to be what the recipe wants.
>
> I see that this patch has been merged. This can be a separate patch. I
> can push this change if you would like me to.

I guess you are describing a different issue here. Are the
dependencies listed in RDEPENDS_${PN} supposed to apply to the
subpackages?

-- 
Paul Barker
Konsulko Group


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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-12 18:27           ` Paul Barker
@ 2020-11-12 20:20             ` Tammana, Gowtham
  2020-11-12 20:50               ` Paul Barker
  0 siblings, 1 reply; 9+ messages in thread
From: Tammana, Gowtham @ 2020-11-12 20:20 UTC (permalink / raw)
  To: Paul Barker; +Cc: meta-arago



>-----Original Message-----
>From: Paul Barker <pbarker@konsulko.com>
>Sent: Thursday, November 12, 2020 12:28 PM
>To: Tammana, Gowtham <g-tammana@ti.com>
>Cc: meta-arago@arago-project.org
>Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
>demos: Allow empty package
>
>On Thu, 12 Nov 2020 at 17:42, Tammana, Gowtham <g-tammana@ti.com> wrote:
>>
>>
>>
>> >-----Original Message-----
>> >From: Paul Barker <pbarker@konsulko.com>
>> >Sent: Wednesday, November 11, 2020 10:56 AM
>> >To: Tammana, Gowtham <g-tammana@ti.com>
>> >Cc: meta-arago@arago-project.org
>> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
>pm-
>> >demos: Allow empty package
>> >
>> >On Fri, 6 Nov 2020 at 22:45, Tammana, Gowtham <g-tammana@ti.com> wrote:
>> >>
>> >>
>> >>
>> >> >-----Original Message-----
>> >> >From: Paul Barker <pbarker@konsulko.com>
>> >> >Sent: Friday, November 06, 2020 3:06 AM
>> >> >To: Tammana, Gowtham <g-tammana@ti.com>
>> >> >Cc: meta-arago@arago-project.org
>> >> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-
>gui-
>> >pm-
>> >> >demos: Allow empty package
>> >> >
>> >> >On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <g-tammana@ti.com>
>wrote:
>> >> >>
>> >> >> >-----Original Message-----
>> >> >> >From: meta-arago-bounces@arago-project.org <meta-arago-
>> >bounces@arago-
>> >> >> >project.org> On Behalf Of Paul Barker
>> >> >> >Sent: Thursday, November 05, 2020 4:38 AM
>> >> >> >To: meta-arago@arago-project.org
>> >> >> >Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-
>gui-
>> >pm-
>> >> >> >demos: Allow empty package
>> >> >> >
>> >> >> >The matrix-gui-pm-demos recipe splits its binaries into several
>> >> >> >subpackages leaving the default package empty. The dependencies
>for
>> >the
>> >> >> >default package are set so it makes sense to allow this empty
>> >package
>> >> >to
>> >> >> >be created.
>> >> >> >
>> >> >> >Signed-off-by: Paul Barker <pbarker@konsulko.com>
>> >> >> >---
>> >> >> > meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
>|
>> >1 +
>> >> >> > 1 file changed, 1 insertion(+)
>> >> >> >
>> >> >> >diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>> >> >> >demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-
>pm-
>> >> >> >demos_2.0.bb
>> >> >> >index 0116f5ea..a9ebb84f 100644
>> >> >> >--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>> >demos_2.0.bb
>> >> >> >+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
>> >demos_2.0.bb
>> >> >> >@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
>> >> >> >
>> >> >> > # Make sure power submenu and app images has been installed
>> >> >> > RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-
>power
>> >> >> >matrix-gui-generic-pm"
>> >> >> >+ALLOW_EMPTY_${PN} = "1"
>> >> >>
>> >> >> Just curious, I assume that the deployment of the dependent
>packages
>> >is
>> >> >still
>> >> >> ensured even without this change. This just makes it apparent to
>the
>> >> >user that
>> >> >> the default package is empty. Or is it that the deployment of
>> >dependent
>> >> >packages
>> >> >> is broken without this.
>> >> >
>> >> >Without this change the matrix-gui-pm-demos package is not created
>and
>> >> >cannot be installed.
>> >>
>> >> Yes, but as the package here is empty trying to understand why it
>needs
>> >to
>> >> be installed in the first place.
>> >>
>> >> Now that the package is created, wondering if the dependencies with
>the
>> >> sub-packages needs to be listed as well something like
>> >>
>> >> RDEPENDS_${PN} += ${PN}-<subpackages} or
>> >>
>> >> RDEPENDS_${PN}-<subpackages> = ${PN}
>> >
>> >I'm not sure I understand your comment here. RDEPENDS_${PN} is set on
>> >the line above my change. So effectively ${PN} is a packagegroup which
>> >will install the listed dependencies. But without ALLOW_EMPTY being
>> >set it won't be created.
>> >
>> >The other thing to consider is that ${PN} is a default dependency of
>> >${PN}-dev and so not creating a ${PN} package can result in image
>> >features like dev-pkgs breaking.
>>
>> The comment was for the dependencies for the sub-packages ${PN}-count
>> and others here. I don't think ${PN} becomes a default dependency for
>> sub-packages. Atleast the `opkg install` on sub-packages is not checking
>> on the ${PN} dependencies. Given they are dependencies I reasoned that
>> they can be added to the sub-packages with
>>
>> RDEPENDS-${PN}-count += ${PN}
>>
>> so that ${PN} listed dependencies are installed on installation of any of
>> the sub-package which seems to be what the recipe wants.
>>
>> I see that this patch has been merged. This can be a separate patch. I
>> can push this change if you would like me to.
>
>I guess you are describing a different issue here. Are the
>dependencies listed in RDEPENDS_${PN} supposed to apply to the
>subpackages?

I think they are here.

Thanks,
Gowtham


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

* Re: [EXTERNAL] [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package
  2020-11-12 20:20             ` Tammana, Gowtham
@ 2020-11-12 20:50               ` Paul Barker
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Barker @ 2020-11-12 20:50 UTC (permalink / raw)
  To: Tammana, Gowtham; +Cc: meta-arago

On Thu, 12 Nov 2020 at 20:20, Tammana, Gowtham <g-tammana@ti.com> wrote:
>
>
>
> >-----Original Message-----
> >From: Paul Barker <pbarker@konsulko.com>
> >Sent: Thursday, November 12, 2020 12:28 PM
> >To: Tammana, Gowtham <g-tammana@ti.com>
> >Cc: meta-arago@arago-project.org
> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
> >demos: Allow empty package
> >
> >On Thu, 12 Nov 2020 at 17:42, Tammana, Gowtham <g-tammana@ti.com> wrote:
> >>
> >>
> >>
> >> >-----Original Message-----
> >> >From: Paul Barker <pbarker@konsulko.com>
> >> >Sent: Wednesday, November 11, 2020 10:56 AM
> >> >To: Tammana, Gowtham <g-tammana@ti.com>
> >> >Cc: meta-arago@arago-project.org
> >> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
> >pm-
> >> >demos: Allow empty package
> >> >
> >> >On Fri, 6 Nov 2020 at 22:45, Tammana, Gowtham <g-tammana@ti.com> wrote:
> >> >>
> >> >>
> >> >>
> >> >> >-----Original Message-----
> >> >> >From: Paul Barker <pbarker@konsulko.com>
> >> >> >Sent: Friday, November 06, 2020 3:06 AM
> >> >> >To: Tammana, Gowtham <g-tammana@ti.com>
> >> >> >Cc: meta-arago@arago-project.org
> >> >> >Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-
> >gui-
> >> >pm-
> >> >> >demos: Allow empty package
> >> >> >
> >> >> >On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <g-tammana@ti.com>
> >wrote:
> >> >> >>
> >> >> >> >-----Original Message-----
> >> >> >> >From: meta-arago-bounces@arago-project.org <meta-arago-
> >> >bounces@arago-
> >> >> >> >project.org> On Behalf Of Paul Barker
> >> >> >> >Sent: Thursday, November 05, 2020 4:38 AM
> >> >> >> >To: meta-arago@arago-project.org
> >> >> >> >Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-
> >gui-
> >> >pm-
> >> >> >> >demos: Allow empty package
> >> >> >> >
> >> >> >> >The matrix-gui-pm-demos recipe splits its binaries into several
> >> >> >> >subpackages leaving the default package empty. The dependencies
> >for
> >> >the
> >> >> >> >default package are set so it makes sense to allow this empty
> >> >package
> >> >> >to
> >> >> >> >be created.
> >> >> >> >
> >> >> >> >Signed-off-by: Paul Barker <pbarker@konsulko.com>
> >> >> >> >---
> >> >> >> > meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
> >|
> >> >1 +
> >> >> >> > 1 file changed, 1 insertion(+)
> >> >> >> >
> >> >> >> >diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >> >> >> >demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-
> >pm-
> >> >> >> >demos_2.0.bb
> >> >> >> >index 0116f5ea..a9ebb84f 100644
> >> >> >> >--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >> >demos_2.0.bb
> >> >> >> >+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> >> >demos_2.0.bb
> >> >> >> >@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
> >> >> >> >
> >> >> >> > # Make sure power submenu and app images has been installed
> >> >> >> > RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-
> >power
> >> >> >> >matrix-gui-generic-pm"
> >> >> >> >+ALLOW_EMPTY_${PN} = "1"
> >> >> >>
> >> >> >> Just curious, I assume that the deployment of the dependent
> >packages
> >> >is
> >> >> >still
> >> >> >> ensured even without this change. This just makes it apparent to
> >the
> >> >> >user that
> >> >> >> the default package is empty. Or is it that the deployment of
> >> >dependent
> >> >> >packages
> >> >> >> is broken without this.
> >> >> >
> >> >> >Without this change the matrix-gui-pm-demos package is not created
> >and
> >> >> >cannot be installed.
> >> >>
> >> >> Yes, but as the package here is empty trying to understand why it
> >needs
> >> >to
> >> >> be installed in the first place.
> >> >>
> >> >> Now that the package is created, wondering if the dependencies with
> >the
> >> >> sub-packages needs to be listed as well something like
> >> >>
> >> >> RDEPENDS_${PN} += ${PN}-<subpackages} or
> >> >>
> >> >> RDEPENDS_${PN}-<subpackages> = ${PN}
> >> >
> >> >I'm not sure I understand your comment here. RDEPENDS_${PN} is set on
> >> >the line above my change. So effectively ${PN} is a packagegroup which
> >> >will install the listed dependencies. But without ALLOW_EMPTY being
> >> >set it won't be created.
> >> >
> >> >The other thing to consider is that ${PN} is a default dependency of
> >> >${PN}-dev and so not creating a ${PN} package can result in image
> >> >features like dev-pkgs breaking.
> >>
> >> The comment was for the dependencies for the sub-packages ${PN}-count
> >> and others here. I don't think ${PN} becomes a default dependency for
> >> sub-packages. Atleast the `opkg install` on sub-packages is not checking
> >> on the ${PN} dependencies. Given they are dependencies I reasoned that
> >> they can be added to the sub-packages with
> >>
> >> RDEPENDS-${PN}-count += ${PN}
> >>
> >> so that ${PN} listed dependencies are installed on installation of any of
> >> the sub-package which seems to be what the recipe wants.
> >>
> >> I see that this patch has been merged. This can be a separate patch. I
> >> can push this change if you would like me to.
> >
> >I guess you are describing a different issue here. Are the
> >dependencies listed in RDEPENDS_${PN} supposed to apply to the
> >subpackages?
>
> I think they are here.

Ok. That's completely outside my area of knowledge here so I think
you'll have to send a patch yourself for that.

-- 
Paul Barker
Konsulko Group


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

end of thread, other threads:[~2020-11-12 20:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 10:38 [master/dunfell PATCH] matrix-gui-pm-demos: Allow empty package Paul Barker
2020-11-05 22:54 ` [EXTERNAL] " Tammana, Gowtham
2020-11-06  9:05   ` Paul Barker
2020-11-06 22:45     ` Tammana, Gowtham
2020-11-11 16:56       ` Paul Barker
2020-11-12 17:41         ` Tammana, Gowtham
2020-11-12 18:27           ` Paul Barker
2020-11-12 20:20             ` Tammana, Gowtham
2020-11-12 20:50               ` Paul Barker

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.