matrix-gui-pm-demos: Allow empty package
PATCH 1/1 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.
--- meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +1 -0
@@ -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
Signature · 1 line
2.29.0
Quoted 29 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageThe 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 <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm- demos_2.0.bb
index0116f5ea..a9ebb84f100644meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps" # Make sure power submenu and app images has been installed
Quoted 3 lines
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
Quoted 11 lines
# 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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 27 lines · Gowtham
Quoted 27 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageThe 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 <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm- demos_2.0.bb
index0116f5ea..a9ebb84f100644meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"
Quoted 9 lines
Quoted 4 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0# Make sure power submenu and app images has been installedRDEPENDS_${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.
Signature · 2 lines
Paul Barker Konsulko Group
Quoted 46 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Friday, November 06, 2020 3:06 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 9 lines · Gowtham
Quoted 9 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 3 lines
Quoted 3 lines
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
Quoted 15 lines
Quoted 15 lines
be created.
Signed-off-by Paul Barker <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm- demos_2.0.bb
index0116f5ea..a9ebb84f100644meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"Quoted 6 lines
Quoted 4 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0# Make sure power submenu and app images has been installedRDEPENDS_${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
Quoted 8 lines
Quoted 1 line
ensured even without this change. This just makes it apparent to the
user that
Quoted 1 line
the default package is empty. Or is it that the deployment of dependent
packages
Quoted 1 line
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
Quoted 59 lines · Gowtham
Quoted 47 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Friday, November 06, 2020 3:06 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 9 lines · Gowtham
Quoted 9 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 3 lines
Quoted 3 lines
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
Quoted 15 lines
Quoted 15 lines
be created.
Signed-off-by Paul Barker <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 1 +1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm- demos_2.0.bb
index0116f5ea..a9ebb84f100644meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps"Quoted 6 lines
Quoted 4 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0# Make sure power submenu and app images has been installedRDEPENDS_${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
Quoted 8 lines
Quoted 1 line
ensured even without this change. This just makes it apparent to the
user that
Quoted 1 line
the default package is empty. Or is it that the deployment of dependent
packages
Quoted 1 line
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.
Quoted 6 lines
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.
Signature · 2 lines
Paul Barker Konsulko Group
Quoted 88 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Wednesday, November 11, 2020 10:56 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 9 lines · Gowtham
Quoted 9 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Friday, November 06, 2020 3:06 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
Quoted 6 lines
Quoted 6 lines
demos: Allow empty package
Quoted 3 lines · Gowtham
Quoted 3 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
default package are set so it makes sense to allow this empty
package
Quoted 6 lines
Quoted 6 lines
to
Quoted 5 lines
Quoted 5 lines
be created.
Signed-off-by Paul Barker <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb |1 +
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm- demos_2.0.bb
index0116f5ea..a9ebb84f100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
demos_2.0.bb
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps" # Make sure power submenu and app images has been installedRDEPENDS_${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
Quoted 4 lines
Quoted 4 lines
still
Quoted 1 line
ensured even without this change. This just makes it apparent to the
user that
Quoted 1 line
the default package is empty. Or is it that the deployment of
dependent
Quoted 7 lines
Quoted 5 lines
packages
Quoted 1 line
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
Quoted 8 lines
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}
Quoted 8 lines
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_EMPTYbeing 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
Quoted 104 lines · Gowtham
Quoted 89 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Wednesday, November 11, 2020 10:56 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 9 lines · Gowtham
Quoted 9 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Friday, November 06, 2020 3:06 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
Quoted 6 lines
Quoted 6 lines
demos: Allow empty package
Quoted 3 lines · Gowtham
Quoted 3 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
default package are set so it makes sense to allow this empty
package
Quoted 6 lines
Quoted 6 lines
to
Quoted 5 lines
Quoted 5 lines
be created.
Signed-off-by Paul Barker <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb |1 +
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm- demos_2.0.bb
index0116f5ea..a9ebb84f100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
demos_2.0.bb
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps" # Make sure power submenu and app images has been installedRDEPENDS_${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
Quoted 4 lines
Quoted 4 lines
still
Quoted 1 line
ensured even without this change. This just makes it apparent to the
user that
Quoted 1 line
the default package is empty. Or is it that the deployment of
dependent
Quoted 7 lines
Quoted 5 lines
packages
Quoted 1 line
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
Quoted 8 lines
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}
Quoted 8 lines
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_EMPTYbeing 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 installon 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
Quoted 7 lines
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?
Signature · 2 lines
Paul Barker Konsulko Group
Quoted 133 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Thursday, November 12, 2020 12:28 PM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 9 lines · Gowtham
Quoted 9 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Wednesday, November 11, 2020 10:56 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
Quoted 6 lines
Quoted 6 lines
demos: Allow empty package
Quoted 3 lines · Gowtham
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Friday, November 06, 2020 3:06 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
Quoted 4 lines
Quoted 4 lines
pm-
Quoted 3 lines
Quoted 3 lines
demos: Allow empty package
On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <[email protected]>
Quoted 8 lines · wrote:
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
Quoted 5 lines
Quoted 5 lines
pm-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
demos: Allow empty package
The matrix-gui-pm-demos recipe splits its binaries into several subpackages leaving the default package empty. The dependencies
for
Quoted 9 lines
Quoted 9 lines
the
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
default package are set so it makes sense to allow this empty
package
Quoted 6 lines
Quoted 6 lines
to
Quoted 5 lines
Quoted 5 lines
be created.
Signed-off-by Paul Barker <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb|
Quoted 5 lines
Quoted 5 lines
1 +
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-
pm-
Quoted 10 lines
Quoted 10 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
demos_2.0.bb
index0116f5ea..a9ebb84f100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
demos_2.0.bb
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
(quoted diff) +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps" # Make sure power submenu and app images has been installedRDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-
power
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
matrix-gui-generic-pm"
+ALLOW_EMPTY_${PN} = "1"Just curious, I assume that the deployment of the dependent
packages
Quoted 3 lines
Quoted 3 lines
is
Quoted 2 lines
Quoted 2 lines
still
Quoted 1 line
ensured even without this change. This just makes it apparent to
the
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
user that
Quoted 1 line
the default package is empty. Or is it that the deployment of
dependent
Quoted 4 lines
Quoted 4 lines
packages
Quoted 1 line
is broken without this.
Without this change the matrix-gui-pm-demos package is not created
and
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
cannot be installed.
Yes, but as the package here is empty trying to understand why it
needs
Quoted 4 lines
Quoted 4 lines
to
Quoted 3 lines
be installed in the first place.
Now that the package is created, wondering if the dependencies with
the
Quoted 26 lines
Quoted 6 lines
Quoted 5 lines
sub-packages needs to be listed as well something like
RDEPENDS_${PN} += ${PN}-<subpackages} or
RDEPENDS_${PN}-<subpackages> = ${PN}
Quoted 8 lines
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_EMPTYbeing 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 installon sub-packages is not checking on the ${PN} dependencies. Given they are dependencies I reasoned that they can be added to the sub-packages withRDEPENDS-${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.
Quoted 6 lines
Quoted 2 lines
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
Quoted 134 lines · Gowtham
Quoted 134 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Thursday, November 12, 2020 12:28 PM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
demos: Allow empty packageQuoted 9 lines · Gowtham
Quoted 9 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Wednesday, November 11, 2020 10:56 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-pm-
Quoted 6 lines
Quoted 6 lines
demos: Allow empty package
Quoted 3 lines · Gowtham
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
-----Original Message-----
From: Paul Barker <[email protected]>
Sent: Friday, November 06, 2020 3:06 AM
To: Tammana, Gowtham <[email protected]>
Cc: [email protected]
Subject: Re: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
Quoted 4 lines
Quoted 4 lines
pm-
Quoted 3 lines
Quoted 3 lines
demos: Allow empty package
On Thu, 5 Nov 2020 at 22:54, Tammana, Gowtham <[email protected]>
Quoted 8 lines · wrote:
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
project.org> On Behalf Of Paul Barker
Sent: Thursday, November 05, 2020 4:38 AM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [master/dunfell PATCH] matrix-gui-
Quoted 5 lines
Quoted 5 lines
pm-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
demos: Allow empty package
The matrix-gui-pm-demos recipe splits its binaries into several subpackages leaving the default package empty. The dependencies
for
Quoted 9 lines
Quoted 9 lines
the
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
default package are set so it makes sense to allow this empty
package
Quoted 6 lines
Quoted 6 lines
to
Quoted 5 lines
Quoted 5 lines
be created.
Signed-off-by Paul Barker <[email protected]>---
meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb|
Quoted 5 lines
Quoted 5 lines
1 +
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
1 file changed, 1 insertion(+)(quoted diff) +0
-0demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-
pm-
Quoted 10 lines
Quoted 10 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
demos_2.0.bb
index0116f5ea..a9ebb84f100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
demos_2.0.bb
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
(quoted diff) +0
-0@@ -10,6 +10,7 @@ S = "${WORKDIR}/git/power_apps" # Make sure power submenu and app images has been installedRDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-
power
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
matrix-gui-generic-pm"
+ALLOW_EMPTY_${PN} = "1"Just curious, I assume that the deployment of the dependent
packages
Quoted 3 lines
Quoted 3 lines
is
Quoted 2 lines
Quoted 2 lines
still
Quoted 1 line
ensured even without this change. This just makes it apparent to
the
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
user that
Quoted 1 line
the default package is empty. Or is it that the deployment of
dependent
Quoted 4 lines
Quoted 4 lines
packages
Quoted 1 line
is broken without this.
Without this change the matrix-gui-pm-demos package is not created
and
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
cannot be installed.
Yes, but as the package here is empty trying to understand why it
needs
Quoted 4 lines
Quoted 4 lines
to
Quoted 3 lines
be installed in the first place.
Now that the package is created, wondering if the dependencies with
the
Quoted 26 lines
Quoted 6 lines
Quoted 5 lines
sub-packages needs to be listed as well something like
RDEPENDS_${PN} += ${PN}-<subpackages} or
RDEPENDS_${PN}-<subpackages> = ${PN}
Quoted 8 lines
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_EMPTYbeing 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 installon sub-packages is not checking on the ${PN} dependencies. Given they are dependencies I reasoned that they can be added to the sub-packages withRDEPENDS-${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.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
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.
Signature · 2 lines
Paul Barker Konsulko Group