Message ID | 20230627100345.24340-9-r-gunasekaran@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Add meta-sysrepo recipes | expand |
On 6/27/2023 5:03 AM, Ravi Gunasekaran wrote: > Add new package group for netopeer2, sysrepo, nw-configurator > and yang models. > > Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com> > --- > > Changes since v2: > ---------------- > Removed "PACKAGE_ARCH" as this is not machine specific. > > Changes since v1: > ---------------- > Added a new package group packagegroup-arago-tisdk-sysrepo instead of > using ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL. > > .../recipes-core/images/tisdk-default-image.bb | 1 + > .../packagegroup-arago-tisdk-sysrepo.bb | 15 +++++++++++++++ > 2 files changed, 16 insertions(+) > create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb > > diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb > index bb825e09..7769c97c 100644 > --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb > PACKAGE_ARCH+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb Something is wrong with this patch... It does apply at all. I think it is the PACKAGE_ARCH that appears on the above line. Not sure where that came from, but git/patch does not like it. > @@ -28,6 +28,7 @@ IMAGE_INSTALL += "\ > ti-analytics \ > ti-demos \ > ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ > + packagegroup-arago-tisdk-sysrepo \ > " > > export IMAGE_BASENAME = "tisdk-default-image" > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb > new file mode 100644 > index 00000000..c0bb599b > --- /dev/null > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb > @@ -0,0 +1,15 @@ > +SUMMARY = "Netopeer2 and Sysrepo packagegroup" > +LICENSE = "MIT" > + > +inherit packagegroup > + > +ARAGO_NETOPEER_SYSREPO = "\ > + sysrepo \ > + netopeer2-server \ > + nw-configurator \ > + tsn-yang-models \ > +" > + > +RDEPENDS:${PN} = "\ > + ${ARAGO_NETOPEER_SYSREPO} \ > +"
On 6/27/2023 7:39 PM, Ryan Eatmon wrote: > > > On 6/27/2023 5:03 AM, Ravi Gunasekaran wrote: >> Add new package group for netopeer2, sysrepo, nw-configurator >> and yang models. >> >> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com> >> --- >> >> Changes since v2: >> ---------------- >> Removed "PACKAGE_ARCH" as this is not machine specific. >> >> Changes since v1: >> ---------------- >> Added a new package group packagegroup-arago-tisdk-sysrepo instead of >> using ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL. >> >> .../recipes-core/images/tisdk-default-image.bb | 1 + >> .../packagegroup-arago-tisdk-sysrepo.bb | 15 +++++++++++++++ >> 2 files changed, 16 insertions(+) >> create mode 100644 >> meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb >> >> diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb >> b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb >> index bb825e09..7769c97c 100644 >> --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb >> PACKAGE_ARCH+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb > > Something is wrong with this patch... It does apply at all. I think it is the > PACKAGE_ARCH that appears on the above line. Not sure where that came from, > but git/patch does not like it. Yes, you are right. Seems like it got added while I was updating the change history. I will send out a v4. > > >> @@ -28,6 +28,7 @@ IMAGE_INSTALL += "\ >> ti-analytics \ >> ti-demos \ >> ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ >> + packagegroup-arago-tisdk-sysrepo \ >> " >> export IMAGE_BASENAME = "tisdk-default-image" >> diff --git >> a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb >> b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb >> >> new file mode 100644 >> index 00000000..c0bb599b >> --- /dev/null >> +++ >> b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb >> @@ -0,0 +1,15 @@ >> +SUMMARY = "Netopeer2 and Sysrepo packagegroup" >> +LICENSE = "MIT" >> + >> +inherit packagegroup >> + >> +ARAGO_NETOPEER_SYSREPO = "\ >> + sysrepo \ >> + netopeer2-server \ >> + nw-configurator \ >> + tsn-yang-models \ >> +" >> + >> +RDEPENDS:${PN} = "\ >> + ${ARAGO_NETOPEER_SYSREPO} \ >> +" >
diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb index bb825e09..7769c97c 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb new file mode 100644 index 00000000..c0bb599b --- /dev/null +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb @@ -0,0 +1,15 @@ +SUMMARY = "Netopeer2 and Sysrepo packagegroup" +LICENSE = "MIT" + +inherit packagegroup + +ARAGO_NETOPEER_SYSREPO = "\ + sysrepo \ + netopeer2-server \ + nw-configurator \ + tsn-yang-models \ +" + +RDEPENDS:${PN} = "\ + ${ARAGO_NETOPEER_SYSREPO} \ +"
Add new package group for netopeer2, sysrepo, nw-configurator and yang models. Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com> --- Changes since v2: ---------------- Removed "PACKAGE_ARCH" as this is not machine specific. Changes since v1: ---------------- Added a new package group packagegroup-arago-tisdk-sysrepo instead of using ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL. .../recipes-core/images/tisdk-default-image.bb | 1 + .../packagegroup-arago-tisdk-sysrepo.bb | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-sysrepo.bb PACKAGE_ARCH+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb @@ -28,6 +28,7 @@ IMAGE_INSTALL += "\ ti-analytics \ ti-demos \ ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ + packagegroup-arago-tisdk-sysrepo \ " export IMAGE_BASENAME = "tisdk-default-image"