opkg: upgrade to version 0.6.0

Message ID 20220603200317.385216-1-alex.stewart@ni.com
State Accepted, archived
Commit 1e08da6a43876677ae4481156ce1d7177b77264d
Headers show
Series opkg: upgrade to version 0.6.0 | expand

Commit Message

Alex Stewart June 3, 2022, 8:03 p.m. UTC
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
---
 meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} (96%)

Comments

Khem Raj June 3, 2022, 8:30 p.m. UTC | #1
What major changes does this change bring

On Fri, Jun 3, 2022 at 1:04 PM Alex Stewart <alex.stewart@ni.com> wrote:

> Signed-off-by: Alex Stewart <alex.stewart@ni.com>
> ---
>  meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} (96%)
>
> diff --git a/meta/recipes-devtools/opkg/opkg_0.5.0.bb
> b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
> similarity index 96%
> rename from meta/recipes-devtools/opkg/opkg_0.5.0.bb
> rename to meta/recipes-devtools/opkg/opkg_0.6.0.bb
> index
> e91d7250bc9f7fde73395335f008108578515b77..7b351e81231df48b2c493542a00d95911606248f
> 100644
> --- a/meta/recipes-devtools/opkg/opkg_0.5.0.bb
> +++ b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
> @@ -18,7 +18,7 @@ SRC_URI = "
> http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz
>             file://run-ptest \
>  "
>
> -SRC_URI[sha256sum] =
> "559c3e1b893abaa1dd473ce3a9a5f7dd3f60ceb6cd14caaef76ddf0f7721ad1c"
> +SRC_URI[sha256sum] =
> "56844722eff237daf14aa6e681436f3245213c5590ed0cda37a79df637ff3a4c"
>
>  # This needs to be before ptest inherit, otherwise all ptest files end
> packaged
>  # in libopkg package if OPKGLIBDIR == libdir, because default
> --
> 2.36.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#166522):
> https://lists.openembedded.org/g/openembedded-core/message/166522
> Mute This Topic: https://lists.openembedded.org/mt/91528903/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Alex Stewart June 3, 2022, 8:45 p.m. UTC | #2
Here are the release notes from 0.5.0 -> 0.6.0.

http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.0.release-notes

```
Release Notes for opkg-0.6.0
====

### Changed
- When using package signature verification, the signature file is now 
only downloaded when (a) it is not present in the local cache or (b) the 
package file must be downloaded again. This makes signature verification 
more reliable in cases where the connection to the package feed is 
unreliable, or stored on a removable device that is not always connected.
- Package `pre-depends` are now recorded in the opkg `status` file.
- Package `pre-depends` are now considered when removing packages. Opkg 
will now (correctly) fail, when the user asks to remove a package which 
is a pre-depends of another installed package.
- libsolv will now return a solver error if the user asks to install a 
package which does not exist in the feeds.
- The `opkg search` command now prints a newline character at the end of 
its output when the search path cannot be found - which looks a little 
nicer when using opkg interactively.
```

I don't expect these changes to directly impact the normal OE build 
workflows. But they do resolve some corner-cases that yocto community 
members have brought up in the previous 6 months.

On 6/3/22 15:30, Khem Raj wrote:
> What major changes does this change bring
>
> On Fri, Jun 3, 2022 at 1:04 PM Alex Stewart <alex.stewart@ni.com> wrote:
>
>     Signed-off-by: Alex Stewart <alex.stewart@ni.com>
>     ---
>      meta/recipes-devtools/opkg/{opkg_0.5.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
>     => opkg_0.6.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>}
>     | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>      rename meta/recipes-devtools/opkg/{opkg_0.5.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
>     => opkg_0.6.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>}
>     (96%)
>
>     diff --git a/meta/recipes-devtools/opkg/opkg_0.5.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
>     b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>
>     similarity index 96%
>     rename from meta/recipes-devtools/opkg/opkg_0.5.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
>     rename to meta/recipes-devtools/opkg/opkg_0.6.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>
>     index
>     e91d7250bc9f7fde73395335f008108578515b77..7b351e81231df48b2c493542a00d95911606248f
>     100644
>     --- a/meta/recipes-devtools/opkg/opkg_0.5.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
>     +++ b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
>     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>
>     @@ -18,7 +18,7 @@ SRC_URI =
>     "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz
>     <https://urldefense.com/v3/__http://downloads.yoctoproject.org/releases/$*7BBPN*7D/$*7BBPN*7D-$*7BPV*7D.tar.gz__;JSUlJSUl!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkxvKubIz$>
>                 file://run-ptest \
>      "
>
>     -SRC_URI[sha256sum] =
>     "559c3e1b893abaa1dd473ce3a9a5f7dd3f60ceb6cd14caaef76ddf0f7721ad1c"
>     +SRC_URI[sha256sum] =
>     "56844722eff237daf14aa6e681436f3245213c5590ed0cda37a79df637ff3a4c"
>
>      # This needs to be before ptest inherit, otherwise all ptest
>     files end packaged
>      # in libopkg package if OPKGLIBDIR == libdir, because default
>     -- 
>     2.36.1
>
>
>     -=-=-=-=-=-=-=-=-=-=-=-
>     Links: You receive all messages sent to this group.
>     View/Reply Online (#166522):
>     https://lists.openembedded.org/g/openembedded-core/message/166522
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/166522__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk4U_MoD4$>
>     Mute This Topic:
>     https://lists.openembedded.org/mt/91528903/1997914
>     <https://urldefense.com/v3/__https://lists.openembedded.org/mt/91528903/1997914__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk0VgFDB8$>
>     Group Owner: openembedded-core+owner@lists.openembedded.org
>     <mailto:openembedded-core%2Bowner@lists.openembedded.org>
>     Unsubscribe:
>     https://lists.openembedded.org/g/openembedded-core/unsub
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk4RxujTf$>
>     [raj.khem@gmail.com]
>     -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj June 3, 2022, 8:52 p.m. UTC | #3
thanks may be add this info into commit msg too.

On Fri, Jun 3, 2022 at 1:45 PM Alex Stewart <alex.stewart@ni.com> wrote:
>
> Here are the release notes from 0.5.0 -> 0.6.0.
>
> http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.0.release-notes
>
> ```
> Release Notes for opkg-0.6.0
> ====
>
> ### Changed
> - When using package signature verification, the signature file is now
> only downloaded when (a) it is not present in the local cache or (b) the
> package file must be downloaded again. This makes signature verification
> more reliable in cases where the connection to the package feed is
> unreliable, or stored on a removable device that is not always connected.
> - Package `pre-depends` are now recorded in the opkg `status` file.
> - Package `pre-depends` are now considered when removing packages. Opkg
> will now (correctly) fail, when the user asks to remove a package which
> is a pre-depends of another installed package.
> - libsolv will now return a solver error if the user asks to install a
> package which does not exist in the feeds.
> - The `opkg search` command now prints a newline character at the end of
> its output when the search path cannot be found - which looks a little
> nicer when using opkg interactively.
> ```
>
> I don't expect these changes to directly impact the normal OE build
> workflows. But they do resolve some corner-cases that yocto community
> members have brought up in the previous 6 months.
>
> On 6/3/22 15:30, Khem Raj wrote:
> > What major changes does this change bring
> >
> > On Fri, Jun 3, 2022 at 1:04 PM Alex Stewart <alex.stewart@ni.com> wrote:
> >
> >     Signed-off-by: Alex Stewart <alex.stewart@ni.com>
> >     ---
> >      meta/recipes-devtools/opkg/{opkg_0.5.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
> >     => opkg_0.6.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>}
> >     | 2 +-
> >      1 file changed, 1 insertion(+), 1 deletion(-)
> >      rename meta/recipes-devtools/opkg/{opkg_0.5.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
> >     => opkg_0.6.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>}
> >     (96%)
> >
> >     diff --git a/meta/recipes-devtools/opkg/opkg_0.5.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
> >     b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>
> >     similarity index 96%
> >     rename from meta/recipes-devtools/opkg/opkg_0.5.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
> >     rename to meta/recipes-devtools/opkg/opkg_0.6.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>
> >     index
> >     e91d7250bc9f7fde73395335f008108578515b77..7b351e81231df48b2c493542a00d95911606248f
> >     100644
> >     --- a/meta/recipes-devtools/opkg/opkg_0.5.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.5.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkyGRaxSW$>
> >     +++ b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
> >     <https://urldefense.com/v3/__http://opkg_0.6.0.bb__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk519KcS6$>
> >     @@ -18,7 +18,7 @@ SRC_URI =
> >     "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz
> >     <https://urldefense.com/v3/__http://downloads.yoctoproject.org/releases/$*7BBPN*7D/$*7BBPN*7D-$*7BPV*7D.tar.gz__;JSUlJSUl!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrkxvKubIz$>
> >                 file://run-ptest \
> >      "
> >
> >     -SRC_URI[sha256sum] =
> >     "559c3e1b893abaa1dd473ce3a9a5f7dd3f60ceb6cd14caaef76ddf0f7721ad1c"
> >     +SRC_URI[sha256sum] =
> >     "56844722eff237daf14aa6e681436f3245213c5590ed0cda37a79df637ff3a4c"
> >
> >      # This needs to be before ptest inherit, otherwise all ptest
> >     files end packaged
> >      # in libopkg package if OPKGLIBDIR == libdir, because default
> >     --
> >     2.36.1
> >
> >
> >     -=-=-=-=-=-=-=-=-=-=-=-
> >     Links: You receive all messages sent to this group.
> >     View/Reply Online (#166522):
> >     https://lists.openembedded.org/g/openembedded-core/message/166522
> >     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/166522__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk4U_MoD4$>
> >     Mute This Topic:
> >     https://lists.openembedded.org/mt/91528903/1997914
> >     <https://urldefense.com/v3/__https://lists.openembedded.org/mt/91528903/1997914__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk0VgFDB8$>
> >     Group Owner: openembedded-core+owner@lists.openembedded.org
> >     <mailto:openembedded-core%2Bowner@lists.openembedded.org>
> >     Unsubscribe:
> >     https://lists.openembedded.org/g/openembedded-core/unsub
> >     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!FbZ0ZwI3Qg!t7LQ5Tn2xfZcGCBb9Lo82Js_VL1kRRFZT1SGzcnDNu6rwrB6gpBuMnECUpqAP96zc8Kg8tRrk4RxujTf$>
> >     [raj.khem@gmail.com]
> >     -=-=-=-=-=-=-=-=-=-=-=-
> >
>
> --
> Alex Stewart
> Software Engineer - NI Real-Time OS
> NI (National Instruments)
>
> alex.stewart@ni.com
>
Alex Stewart June 3, 2022, 9:01 p.m. UTC | #4
I'm not sure I'm on-board with embedding markdown into the commit. But I 
can definitely link to the release notes from within the commit body.

Patch V2 incoming.

On 6/3/22 15:52, Khem Raj wrote:
> thanks may be add this info into commit msg too.

Patch

diff --git a/meta/recipes-devtools/opkg/opkg_0.5.0.bb b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
similarity index 96%
rename from meta/recipes-devtools/opkg/opkg_0.5.0.bb
rename to meta/recipes-devtools/opkg/opkg_0.6.0.bb
index e91d7250bc9f7fde73395335f008108578515b77..7b351e81231df48b2c493542a00d95911606248f 100644
--- a/meta/recipes-devtools/opkg/opkg_0.5.0.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.6.0.bb
@@ -18,7 +18,7 @@  SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz
            file://run-ptest \
 "
 
-SRC_URI[sha256sum] = "559c3e1b893abaa1dd473ce3a9a5f7dd3f60ceb6cd14caaef76ddf0f7721ad1c"
+SRC_URI[sha256sum] = "56844722eff237daf14aa6e681436f3245213c5590ed0cda37a79df637ff3a4c"
 
 # This needs to be before ptest inherit, otherwise all ptest files end packaged
 # in libopkg package if OPKGLIBDIR == libdir, because default