[OE-core] [PATCH] opkg: upgrade to version 0.4.4

2020-12-07 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo --- meta/recipes-devtools/opkg/{opkg_0.4.3.bb => opkg_0.4.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/opkg/{opkg_0.4.3.bb => opkg_0.4.4.bb} (95%) diff --git a/meta/recipes-devtools/opkg/opkg_0.4.3.bb

Re: [OE-core] Add package managers as a plugin

2020-07-01 Thread Alejandro del Castillo
Hi all, Catching up on the conversation...impressive results coming out of apk. Haven't used apk enough to have an educated opinion, but by quickly glancing at the code, I believe it uses an ad hoc solver, which might struggle with corner cases (same issues we had with opkg, before switching

[OE-core] [PATCH 1/2] opkg-utils: upgrade to 0.4.3

2020-06-27 Thread Alejandro del Castillo
- Drop fix-reproducibility.patch Signed-off-by: Alejandro del Castillo --- .../opkg-utils/fix-reproducibility.patch | 32 --- ...pkg-utils_0.4.2.bb => opkg-utils_0.4.3.bb} | 5 ++- 2 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 meta/recipes-devto

[OE-core] [PATCH 2/2] opkg: upgrade to version 0.4.3

2020-06-27 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo --- meta/recipes-devtools/opkg/{opkg_0.4.2.bb => opkg_0.4.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/opkg/{opkg_0.4.2.bb => opkg_0.4.3.bb} (95%) diff --git a/meta/recipes-devtools/opkg/opkg_0.4.2.bb

[OE-core] [PATCH 0/2] opkg & opkg-utils update to 0.4.3

2020-06-27 Thread Alejandro del Castillo
Alejandro del Castillo (2): opkg-utils: upgrade to 0.4.3 opkg: upgrade to version 0.4.3 .../opkg-utils/fix-reproducibility.patch | 32 --- ...pkg-utils_0.4.2.bb => opkg-utils_0.4.3.bb} | 5 ++- .../opkg/{opkg_0.4.2.bb => opkg_0.4.3.bb} | 4 +-- 3 files chan

[OE-core] [PATCH 2/2] opkg: upgrade to version 0.4.2

2019-12-17 Thread Alejandro del Castillo
- Drop open_inner.patch - Drop opkg_archive.patch - Remove "remove_test_binaries" function Signed-off-by: Alejandro del Castillo --- meta/recipes-devtools/opkg/opkg/open_inner.patch | 46 -- meta/recipes-devtools/opkg/opkg/opkg_archive.

[OE-core] [PATCH 0/2] opkg & opkg-utils update to 0.4.2

2019-12-17 Thread Alejandro del Castillo
Alejandro del Castillo (2): opkg-utils: upgrade to version 0.4.2 opkg: upgrade to version 0.4.2 ...0001-Switch-all-scripts-to-use-Python-3.x.patch | 113 - ...g-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch | 44 .../opkg-utils/opkg-utils/pipefail.patch

[OE-core] [PATCH 1/2] opkg-utils: upgrade to version 0.4.2

2019-12-17 Thread Alejandro del Castillo
- Drop 1-Switch-all-scripts-to-use-Python-3.x.patch - Drop 1-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch - Drop pipefail.patch Signed-off-by: Alejandro del Castillo --- ...0001-Switch-all-scripts-to-use-Python-3.x.patch | 113 - ...g-build-clamp-mtimes

Re: [OE-core] [opkg-devel] [yocto][PATCH][opkg] bug 13528 add SPDX id to opkg

2019-10-25 Thread Alejandro Del Castillo
merged thanks again for doing this, its been on the wish-list for a while! -- Cheers, Alejandro On 10/25/19 2:50 AM, Yann CARDAILLAC wrote: > Hi Alejandro, > > Here's patch v2 > > Thanks for your sharpened eyes ! > > Regards, > > On Thu, Oct 24, 2019 at 9:3

Re: [OE-core] [opkg-devel] [yocto][PATCH][opkg] bug 13528 add SPDX id to opkg

2019-10-24 Thread Alejandro Del Castillo
Hi Yann, Thanks again for adding the headers. Your patch looks good, except for one line that has a duplicated header: /core/26_prefer_arch_to_version.py index 0a0d66b..82934c1 100755 --- a/tests/core/26_prefer_arch_to_version.py +++ b/tests/core/26_prefer_arch_to_version.py @@ -1,4 +1,5 @@ -#!

Re: [OE-core] [thud][PATCH] Revert "OpkgPM: use --add-ignore-recommends to process BAD_RECOMMENDATIONS"

2019-10-18 Thread Alejandro Del Castillo
On 10/17/19 3:01 PM, Denys Dmytriyenko wrote: > On Thu, Oct 17, 2019 at 12:21:11PM -0700, akuster808 wrote: >> On 10/17/19 11:42 AM, Denys Dmytriyenko wrote: >>> Thank you for this revert! I've been pulling my hair out past couple days >>> figuring out why BAD_RECOMMENDATIONS stopped working

Re: [OE-core] ✗ patchtest: failure for opkg & opkg-utils update to 0.4.1 (rev2)

2019-06-24 Thread Alejandro Del Castillo
The patch does apply in top of master: [adelcast@delcastillo3 build]$ git reset --hard origin/master HEAD is now at 4bb3e8f98e local.conf.sample.extended: remove redundant RUNTIMETARGET assignment [adelcast@delcastillo3 build]$ git am -s /tmp/0001-opkg-upgrade-to-version-0.4.1.patch Applying:

Re: [OE-core] [PATCH 1/2] opkg: upgrade to version 0.4.1

2019-06-24 Thread Alejandro Del Castillo
On 6/14/19 5:54 AM, Richard Purdie wrote: > On Thu, 2019-06-13 at 15:17 -0500, Alejandro del Castillo wrote: >> - Drop 0001-libopkg-add-add-ignore-recommends-option.patch >> - Drop 0001-opkg-add-target-for-testsuite-installation.patch >> - Drop 0001-regress-issue72.py

[OE-core] [PATCH v2] opkg: upgrade to version 0.4.1

2019-06-24 Thread Alejandro del Castillo
.patch deleted file mode 100644 index 47d1b3c37e..00 --- a/meta/recipes-devtools/opkg/opkg/0001-libopkg-add-add-ignore-recommends-option.patch +++ /dev/null @@ -1,259 +0,0 @@ -From 64aa98646a17c299bf37af2975b98daf5d7d30b4 Mon Sep 17 00:00:00 2001 -From: Alejandro del Castillo -Date: Thu, 31 Ja

[OE-core] [PATCH 2/2] opkg-utils: upgrade to version 0.4.1

2019-06-13 Thread Alejandro del Castillo
- Drop 0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch - Drop 0001-opkg-list-fields-fix-to-print-the-fields-again.patch Signed-off-by: Alejandro del Castillo --- ...build-do-not-set-mtime-on-data.tar.X.patch | 33 --- ...fields-fix-to-print-the-fields-again.patch | 41

[OE-core] [PATCH 1/2] opkg: upgrade to version 0.4.1

2019-06-13 Thread Alejandro del Castillo
- Drop 0001-libopkg-add-add-ignore-recommends-option.patch - Drop 0001-opkg-add-target-for-testsuite-installation.patch - Drop 0001-regress-issue72.py-resolve-paths-before-comparision.patch Signed-off-by: Alejandro del Castillo --- ...pkg-add-add-ignore-recommends-option.patch | 259

[OE-core] [PATCH 0/2] opkg & opkg-utils update to 0.4.1

2019-06-13 Thread Alejandro del Castillo
Alejandro del Castillo (2): opkg: upgrade to version 0.4.1 opkg-utils: upgrade to version 0.4.1 ...build-do-not-set-mtime-on-data.tar.X.patch | 33 --- ...fields-fix-to-print-the-fields-again.patch | 41 --- ...pkg-utils_0.4.0.bb => opkg-utils_0.4.1.bb} | 6 +- ...pkg-add-add-ign

[OE-core] [PATCH v2] opkg: add ptest

2019-04-10 Thread Alejandro del Castillo
Install opkg test suite and run it as ptest. Signed-off-by: Alejandro del Castillo --- ...dd-target-for-testsuite-installation.patch | 43 +++ py-resolve-paths-before-comparision.patch | 31 + meta/recipes-devtools/opkg/opkg/run-ptest | 5 +++ meta/recipes

Re: [OE-core] [PATCH] opkg: add ptest

2019-04-09 Thread Alejandro Del Castillo
On 4/8/19 2:20 PM, Burton, Ross wrote: > On Mon, 8 Apr 2019 at 20:03, Alejandro del Castillo > wrote: >> +do_install_ptest() { >> + install -d ${D}${PTEST_PATH} >> + install -m 755 ${WORKDIR}/run-ptest ${D}/${PTEST_PATH}/run-ptest >> + in

[OE-core] [PATCH] opkg: add ptest

2019-04-08 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo --- py-resolve-paths-before-comparision.patch | 31 +++ meta/recipes-devtools/opkg/opkg/run-ptest | 3 ++ meta/recipes-devtools/opkg/opkg_0.4.0.bb | 15 - 3 files changed, 48 insertions(+), 1 deletion(-) create mode

[OE-core] [PATCH] opkg-utils: do not set mtime on data.tar.X

2019-02-19 Thread Alejandro del Castillo
Suggested-by: Tristan Ramseyer Signed-off-by: Alejandro del Castillo --- ...build-do-not-set-mtime-on-data.tar.X.patch | 33 +++ .../opkg-utils/opkg-utils_0.4.0.bb| 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-devtools/opkg-utils/opkg

Re: [OE-core] [PATCH 1/3] opkg: add --ignore-recommends flag

2019-02-07 Thread Alejandro Del Castillo
ing the opkg implementation to leverage a new opkg feature (--add-ignore-recommends), which is a more robust implementation. Should be transparent to users. > On Thu, Feb 7, 2019 at 7:58 AM Alejandro del Castillo > mailto:alejandro.delcasti...@ni.com>> wrote: > > To be used f

[OE-core] [PATCH 1/3] opkg: add --ignore-recommends flag

2019-02-07 Thread Alejandro del Castillo
To be used for BAD_RECOMMENDATIONS feature. Signed-off-by: Alejandro del Castillo --- ...pkg-add-add-ignore-recommends-option.patch | 259 ++ meta/recipes-devtools/opkg/opkg_0.4.0.bb | 1 + 2 files changed, 260 insertions(+) create mode 100644 meta/recipes-devtools/opkg

[OE-core] [PATCH 2/3] libsolv: fix segfault when using SOLVER_DISFAVOR

2019-02-07 Thread Alejandro del Castillo
Opkg --add-ignore-recommends use the flag SOLVER_DISFAVOR. If a package is set to be ignored as a recommendee, but there are not other recommends on the package graph, libsolv segfaults. Signed-off-by: Alejandro del Castillo --- ...y-disfavor-recommends-if-there-are-a.patch | 33

[OE-core] [PATCH 0/3] use new opkg --add-ignore-recommends for BAD_RECOMMENDATIONS feature

2019-02-07 Thread Alejandro del Castillo
- Add new opkg --add-ignore-recommends cli flag - Fix libsolv segfaul triggered by --add-ignore-recommends - Replace BAD_RECOMMENDATIONS backend in package_manager.py Alejandro del Castillo (3): opkg: add --ignore-recommends flag libsolv: fix segfault when using SOLVER_DISFAVOR OpkgPM: use

[OE-core] [PATCH 3/3] OpkgPM: use --add-ignore-recommends to process BAD_RECOMMENDATIONS

2019-02-07 Thread Alejandro del Castillo
-by: Alejandro del Castillo --- meta/lib/oe/package_manager.py | 41 ++ meta/lib/oe/rootfs.py | 2 -- 2 files changed, 2 insertions(+), 41 deletions(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index f26f597d03..7e7d7db083

[OE-core] [PATCH] libsolv: upgrade 0.7.2 -> 0.7.3

2019-02-01 Thread Alejandro del Castillo
evaluation before pruning allowing to (dis)favor specific package versions Signed-off-by: Alejandro del Castillo --- .../libsolv/{libsolv_0.7.2.bb => libsolv_0.7.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/libsolv/{libsolv_0.7.2

[OE-core] [PATCH] ipk_write_pkg: add error output

2019-01-16 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo --- meta/classes/package_ipk.bbclass | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 508b7dcaff..5eec20a35b 100644 --- a/meta/classes

[OE-core] [PATCH 3/3 v2] package_ip.bbclass: add xz threading

2018-12-28 Thread Alejandro del Castillo
Before, threading was enabled via a patch to opkg-build. Now that opkg-build provides a hook for extra arguments, use that. Signed-off-by: Alejandro del Castillo --- meta/classes/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes

[OE-core] [PATCH 2/3] opkg-utils: upgrade to version 0.4.0

2018-12-26 Thread Alejandro del Castillo
Drop patches already merged upstream. Signed-off-by: Alejandro del Castillo --- ...me-on-versions-of-tar-which-support-.patch | 51 --- ...Switch-all-scripts-to-use-Python-3.x.patch | 5 +- ...rnatives-Fix-link-relocation-support.patch | 40 --- ...ocal-time

[OE-core] [PATCH 1/3] opkg: upgrade to version 0.4.0

2018-12-26 Thread Alejandro del Castillo
- Drop 0001-remove_maintainer_scripts-use-strict-matching.patch Signed-off-by: Alejandro del Castillo --- ...intainer_scripts-use-strict-matching.patch | 56 --- .../opkg/{opkg_0.3.6.bb => opkg_0.4.0.bb} | 5 +- 2 files changed, 2 insertions(+), 59 deletions(-) delete m

[OE-core] [PATCH 3/3] package_ip.bbclass: add xz threading

2018-12-26 Thread Alejandro del Castillo
Before, threading was enabled via a patch to opkg-build. Now that opkg-build provides a hook for extra arguments, use that. Signed-off-by: Alejandro del Castillo --- meta/classes/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes

[OE-core] [PATCH 0/3] opkg & opkg-utils upgrade to 0.4.0

2018-12-26 Thread Alejandro del Castillo
Alejandro del Castillo (3): opkg: upgrade to version 0.4.0 opkg-utils: upgrade to version 0.4.0 package_ip.bbclass: add xz threading meta/classes/package_ipk.bbclass | 2 +- ...me-on-versions-of-tar-which-support-.patch | 51 - ...Switch-all-scripts-to-use

Re: [OE-core] [opkg-devel] [opkg-utils PATCH] opkg-make-index: use ctime instead of mtime

2018-11-07 Thread Alejandro Del Castillo
On 11/7/18 6:07 AM, Stefan Agner wrote: > Hi Alejandro, > > On 22.10.2018 16:45, Alejandro Del Castillo wrote: >> makes sense, sounds like this is going to fix a bunch of nasty >> intermittent failures, thanks! >> >> merged > > Thanks for mergi

Re: [OE-core] [opkg-devel] [opkg-utils PATCH] opkg-make-index: use ctime instead of mtime

2018-10-22 Thread Alejandro Del Castillo
makes sense, sounds like this is going to fix a bunch of nasty intermittent failures, thanks! merged On 10/19/18 10:38 AM, Stefan Agner wrote: > From: Stefan Agner > > When using sstate, two parallel builds can produce two packages > with the same mtime but different checksums. When later one

[OE-core] [PATCH v2] opkg: add strict package matching on removal patch

2018-09-05 Thread Alejandro del Castillo
During removal, opkg is using globs to select which metadata files to remove. The glob is too broad and sometimes can result in a package removing the metadata from a package with a close name. Make the matching more strict. Fixes bugzilla 12905 Signed-off-by: Alejandro del Castillo

[OE-core] [PATCH] opkg: add strict package matching on removal patch

2018-09-05 Thread Alejandro del Castillo
During removal, opkg is using globs to select which metadata files to remove. The glob is too broad and sometimes can result in a package removing the metadata from a package with a close name. Make the matching more strict. Fixes bugzilla 12905 Signed-off-by: Alejandro del Castillo

[OE-core] [PATCH v3] opkg-utils: upgrade to version 0.3.6

2018-02-28 Thread Alejandro del Castillo
0.3.5 -> 0.3.6 Patches: - Add support for tar versions that don't support --sort - Use local time when setting the modication time on the archives Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...rt-name-on-versions-of-tar-which-support-.p

[OE-core] [PATCH v2] opkg-utils: upgrade to version 0.3.6

2018-02-28 Thread Alejandro del Castillo
0.3.5 -> 0.3.6 Patches: - Add support for tar versions that don't support --sort - Use local time when setting the modication time on the archives Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- Changes since V1: - Add patch to support versions of tar t

[OE-core] [PATCH 0/2] opkg & opkg-utils upgrade to 0.3.6

2018-02-22 Thread Alejandro del Castillo
Alejandro del Castillo (2): opkg: upgrade to version 0.3.6 opkg-utils: upgrade to version 0.3.6 .../recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 8 .../opkg-utils/{opkg-utils_0.3.5.bb => opkg-utils_0.3.6.bb} | 4 ++-- meta/recipes-devtools/opkg/{opkg_0.

[OE-core] [PATCH 2/2] opkg-utils: upgrade to version 0.3.6

2018-02-22 Thread Alejandro del Castillo
0.3.5 -> 0.3.6 Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- .../recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 8 .../opkg-utils/{opkg-utils_0.3.5.bb => opkg-utils_0.3.6.bb} | 4 ++-- 2 files changed, 6 insertions(+),

[OE-core] [PATCH 1/2] opkg: upgrade to version 0.3.6

2018-02-22 Thread Alejandro del Castillo
0.3.5 -> 0.3.6 Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-devtools/opkg/{opkg_0.3.5.bb => opkg_0.3.6.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/opkg/{opkg_0.3.5.bb => opkg_0.3.6.bb} (9

Re: [OE-core] [PATCH v2] opkg: 0.3.4 -> 0.3.5

2017-07-26 Thread Alejandro del Castillo
master already have opkg 0.3.5: http://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/opkg?id=89b8cbfd65ae6c682908da8028d86692926e4d45 On 07/26/2017 04:26 AM, Huang Qiyu wrote: > 1) Update opkg from 0.3.4 to 0.3.5. > 2) Delete status-conffile.patch, since it is integrated

Re: [OE-core] [PATCH] package_ipk: Clean up Source entry in ipk packages

2017-06-19 Thread Alejandro del Castillo
On 06/16/2017 05:11 PM, Richard Purdie wrote: > On Fri, 2017-06-16 at 13:43 -0500, Alejandro del Castillo wrote: >> >> On 06/16/2017 03:46 AM, Richard Purdie wrote: >>> >>> There is the potential for sensitive information to leak through >>>

[OE-core] [PATCH v2] opkg-utils: rename recipe to follow versioned releases

2017-06-16 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- .../opkg-utils/{opkg-utils_git.bb => opkg-utils_0.3.5.bb} | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) rename meta/recipes-devtools/opkg-utils/{opkg-utils_git.bb => opkg-utils_0.3.5.bb}

Re: [OE-core] [PATCH] package_ipk: Clean up Source entry in ipk packages

2017-06-16 Thread Alejandro del Castillo
On 06/16/2017 03:46 AM, Richard Purdie wrote: > There is the potential for sensitive information to leak through the urls > there and removing it brings this into the behavior of the other package > backends since filtering it is likely error prone. > > Since ipks don't appear to be generated

Re: [OE-core] [PATCH 1/2] opkg-utils: bump PV to 0.3.5

2017-06-16 Thread Alejandro del Castillo
On 06/16/2017 06:21 AM, Burton, Ross wrote: > > On 16 June 2017 at 00:17, Alejandro del Castillo > <alejandro.delcasti...@ni.com <mailto:alejandro.delcasti...@ni.com>> wrote: > > SRCREV = "1a708fd73d10c2b7677dd4cc4e017746ebbb9166" > -PV = &q

[OE-core] [PATCH 2/2] opkg: upgrade to v0.3.5

2017-06-15 Thread Alejandro del Castillo
Drop status-conffile.patch, present in 0.3.5. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- .../opkg/opkg/status-conffile.patch| 69 -- .../opkg/{opkg_0.3.4.bb => opkg_0.3.5.bb} | 5 +- 2 files changed, 2 insertio

[OE-core] [PATCH 1/2] opkg-utils: bump PV to 0.3.5

2017-06-15 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_

[OE-core] [PATCH] opkg: enable libsolv backend by default

2017-03-08 Thread Alejandro del Castillo
26.21 MB opkg list29.87 MB 29.87 MB opkg install procps 30.99 MB 27.33 MB opkg remove procps1.69 MB 1.69 MB opkg update 30.97 MB 27.75 MB [1] Profile done via 'valgrind --tool=massif ' in a feed with ~18K packages. Signed-off-by: Alejandro del

[OE-core] [PATCH] libsolv: upgrade to 0.6.26

2017-03-08 Thread Alejandro del Castillo
Drop 0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...-libsolvext-into-it-s-own-pkg-config-file.patch | 67 -- .../{libsolv_0.6.24.bb => libsolv_0.6.26.bb} | 3 +- 2 files c

Re: [OE-core] [opkg-devel] Re: opkg tries to remove package twice

2017-01-30 Thread Alejandro del Castillo
On 01/29/2017 10:17 AM, stefan.seyfr...@googlemail.com wrote: > Am Samstag, 23. April 2016 22:41:17 UTC+2 schrieb Alejandro del Castillo: >> it should be backported to krogoth too since the next release of opkg is >> scheduled to June (too late for krogoth). I'll repl

[OE-core] [PATCH] libsolv: split libsolvext into it's own pkg-config

2017-01-27 Thread Alejandro del Castillo
Opkg only depends on libsolv proper, splitting libsolv-ext pkg-config reduces opkg dependencies. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...-libsolvext-into-it-s-own-pkg-config-file.patch | 67 ++ meta/recipes-extended/libsolv/libsolv_

[OE-core] [PATCH 2/2] opkg-utils: bump SRCREV to 0.3.4 tag

2016-12-27 Thread Alejandro del Castillo
* Add patch that removes hardcoded installation directories. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...e-defined-bindir-and-mandir-as-installati.patch | 30 ++ .../opkg-utils/opkg-utils/tar_ignore_error.patch | 2 +- meta/recipes-de

[OE-core] [PATCH 0/2] opkg & opkg-utils upgrade to 0.3.4

2016-12-27 Thread Alejandro del Castillo
Alejandro del Castillo (2): opkg: upgrade to v0.3.4 opkg-utils: bump SRCREV to 0.3.4 tag ...e-defined-bindir-and-mandir-as-installati.patch | 30 ++ .../opkg-utils/opkg-utils/tar_ignore_error.patch | 2 +- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 8

[OE-core] [PATCH 1/2] opkg: upgrade to v0.3.4

2016-12-27 Thread Alejandro del Castillo
* Add localstatedir and sysconfdir class-native configure definitions to override OE default sysroot values. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch | 8 meta/recipes-devtool

Re: [OE-core] [PATCH V2 2/2] opkg-utils: warn if update-alternatives finds priority conflict

2016-12-27 Thread Alejandro del Castillo
Hi Chen, Could you send the opkg-utils patch to opkg-de...@googlegroups.com too? I would gladly pull it in -- Cheers, Alejandro On 12/22/2016 08:59 PM, Chen Qi wrote: > If multiple providers for a utility have the same alternatives priority, > which one would be chosen is determined by which

[OE-core] [PATCH] libsolv: enable MULTI_SEMANTICS

2016-09-23 Thread Alejandro del Castillo
By default, libsolv uses the rpm logic for version comparison, which is not quite the same as debian. Opkg now sets the distribution type for libsolv to be debian. But for that to work, libsolv needs to be compiled with MULTI_SEMANTICS=ON. Signed-off-by: Alejandro del Castillo <alejandro.delca

[OE-core] [PATCH] opkg: upgrade to v0.3.3

2016-07-13 Thread Alejandro del Castillo
Bug fix release to address two regressions: * Fix build breakage when using configure option --enable-sha256 * Do not remove packages if removal operation is not valid due to installed dependents Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-de

[OE-core] [PATCH] opkg: upgrade to v0.3.2

2016-06-15 Thread Alejandro del Castillo
* Drop merged patches * Update libsolv PACKAGECONFIG config option Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...1-configure.ac-use-pkg-config-for-libsolv.patch | 36 -- ...ver_set_arch_policy-use-correct-logic-dur.patc

[OE-core] [PATCH v3] opkg-utils: update SRCREV

2016-06-06 Thread Alejandro del Castillo
Drop patches now included in newer SRCREV. Update HOMEPAGE and PV version to better align with opkg. Current revision include: * Python 3 compatibility * Improved error handling Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...re-do-find-ls-code-to-no

Re: [OE-core] [PATCH v2] opkg-utils: update SRCREV

2016-06-03 Thread Alejandro del Castillo
On 06/03/2016 01:47 AM, Richard Purdie wrote: > On Thu, 2016-06-02 at 15:23 -0500, Alejandro del Castillo wrote: >> Drop patches now included in newer SRCREV. Update HOMEPAGE and PV >> version to better align with opkg. Current revision include: >> >> * Python 3 compat

[OE-core] [PATCH v2] opkg-utils: update SRCREV

2016-06-02 Thread Alejandro del Castillo
Drop patches now included in newer SRCREV. Update HOMEPAGE and PV version to better align with opkg. Current revision include: * Python 3 compatibility * Improved error handling Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...re-do-find-ls-code-to-no

Re: [OE-core] [PATCH] opkg-utils: update SRCREV

2016-06-02 Thread Alejandro del Castillo
On 06/02/2016 03:15 PM, alexander.kana...@linux.intel.com wrote: >> Drop patches now included in newer SRCREV. Update HOMEPAGE and PV >> version to better align with opkg. Current revision include: >> +SRCREV = "ecd9a499d336ffd127bda3c5ba403f0a5ca056a5" >> +PV = "0.3.1+git${SRCPV}" > > PV

[OE-core] [PATCH] opkg-utils: update SRCREV

2016-06-02 Thread Alejandro del Castillo
Drop patches now included in newer SRCREV. Update HOMEPAGE and PV version to better align with opkg. Current revision include: * Python 3 compatibility * Improved error handling Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...re-do-find-ls-code-to-no

Re: [OE-core] [PATCH] lib/oe/rootfs: Fix DEBUGFS generation when using opkg

2016-05-03 Thread Alejandro del Castillo
On 05/03/2016 02:49 AM, Patrick Ohly wrote: > But how does opkg know that "config file not present" is an error? It > depends on the the semantic of the file and thus the package providing > the file. It's not declared explicitly, so it is a fairly arbitrary > judgment call to treat "missing" as

Re: [OE-core] [PATCH] lib/oe/rootfs: Fix DEBUGFS generation when using opkg

2016-05-02 Thread Alejandro del Castillo
On 05/02/2016 08:39 AM, Patrick Ohly wrote: > On Fri, 2016-04-22 at 14:51 +0100, Richard Purdie wrote: >> When enabling extra DEBUGFS image generation with opkg, errors are seen like: >> >> ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot get the installed >> packages list. Command >>

Re: [OE-core] [PATCH][jethro] opkg: backport fix for double remove of packges

2016-04-23 Thread Alejandro del Castillo
On 04/21/2016 03:07 PM, Stefan Agner wrote: From: Stefan Agner <stefan.ag...@toradex.com> Backport the fix 7885da3974 ("pkg_get_provider_replacees: do not add installed pkg to replacee list"). This avoids opkg trying to remove a package twice e.g. when upgrading. Suggested-b

Re: [OE-core] [PATCH] opkg-utils: re-do find/ls code to not fail on filenames with spaces

2016-04-11 Thread Alejandro del Castillo
On 04/07/2016 11:57 PM, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Signed-off-by: Denys Dmytriyenko > --- do you mind posting the patch to the opkg-de...@googlegroups.com list too? -- Cheers, Alejandro --

[OE-core] [PATCH] busybox.inc: add tail symlink so busybox can commit suicide cleanly

2016-03-01 Thread Alejandro del Castillo
update-alternatives-opkg uses tail, which requires a temporary symlink on tmpdir during removal, to avoid errors of the type: /usr/bin/update-alternatives: line 113: tail: command not found Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-core/b

[OE-core] [PATCH v2] opkg: upgrade to v0.3.1

2015-12-17 Thread Alejandro del Castillo
* Drop merged patches * Add patch to fix crash when using the libsolv backend * Add patch to add pkgconfig support for libsolv * Add libsolv support via a PACKAGECONFIG option. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...1-configure.ac-use-pkg-

[OE-core] [PATCH] opkg: upgrade to v0.3.1

2015-12-16 Thread Alejandro del Castillo
* Drop merged patches * Add patch to fix crash when using the libsolv backend * Add patch to add pkgconfig support for libsolv * Add libsolv support via a PACKAGECONFIG option. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...1-configure.ac-use-pkg-

[OE-core] [PATCH v5] libsolv: add new recipe

2015-12-11 Thread Alejandro del Castillo
Required by the optional opkg 0.3.1 libsolv backend. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-extended/libsolv/libsolv_git.bb | 28 1 file changed, 28 insertions(+) create mode 100644 meta/recipes-extended/l

[OE-core] [PATCH v4] libsolv: add new recipe

2015-12-11 Thread Alejandro del Castillo
Required by the optional opkg 0.3.1 libsolv backend. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-extended/libsolv/libsolv_0.6.14.bb | 28 + 1 file changed, 28 insertions(+) create mode 100644 meta/recipes-extended/l

[OE-core] [PATCH v3] libsolv: add new recipe

2015-12-10 Thread Alejandro del Castillo
Required by the optional opkg 0.3.1 libsolv backend. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-extended/libsolv/libsolv_0.6.14.bb | 28 + 1 file changed, 28 insertions(+) create mode 100644 meta/recipes-extended/l

[OE-core] [PATCH] libsolv: add new recipe

2015-12-09 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-extended/libsolv/libsolv_0.6.14.bb | 26 + 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-extended/libsolv/libsolv_0.6.14.bb diff --git a/meta/recipes-extended/l

[OE-core] [PATCH v2] libsolv: add new recipe

2015-12-09 Thread Alejandro del Castillo
Required by the optional opkg 0.3.1 libsolv backend. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- meta/recipes-extended/libsolv/libsolv_0.6.14.bb | 26 + 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-extended/l

Re: [OE-core] [PATCH] libsolv: add new recipe

2015-12-09 Thread Alejandro del Castillo
On 12/09/2015 04:04 PM, Paul Eggleton wrote: So perhaps it was discussed elsewhere, but in any case if you want this to be added to OE-Core there needs to be something mentioned in the commit message about why - what needs this? If nothing, is OE-Core the best place for it? To add a bit more

Re: [OE-core] [PATCH] package_ipk: allow to specify OPKG_ARGS in local.conf

2015-12-02 Thread Alejandro del Castillo
On 12/02/2015 05:19 PM, Burton, Ross wrote: > > On 2 December 2015 at 23:16, Alejandro del Castillo > <alejandro.delcasti...@ni.com <mailto:alejandro.delcasti...@ni.com>> wrote: > > > Whilst the patch is fine, this is worrying as noexec /tmp shouldn't &g

Re: [OE-core] [PATCH] package_ipk: allow to specify OPKG_ARGS in local.conf

2015-12-02 Thread Alejandro del Castillo
On 12/02/2015 03:48 AM, Burton, Ross wrote: > > On 2 December 2015 at 04:48, Vladimir Zapolskiy > wrote: > > sh: /tmp/opkg-5jPLag/run-postinsts-UsUtaI/preinst: /bin/sh: bad > interpreter: Permission denied > > > Whilst the patch is fine,

Re: [OE-core] [oe][PATCH v2 2/2] package_manager: support for signed IPK package feeds

2015-11-19 Thread Alejandro del Castillo
On 11/19/2015 02:35 AM, Ioan-Adrian Ratiu wrote: > On Wed, 18 Nov 2015 10:00:23 -0600 > Alejandro del Castillo <alejandro.delcasti...@ni.com> wrote: > >> >> >> On 11/18/2015 04:25 AM, Ioan-Adrian Ratiu wrote: >>> Create gpg signed package feeds if co

Re: [OE-core] [oe][PATCH v2 2/2] package_manager: support for signed IPK package feeds

2015-11-18 Thread Alejandro del Castillo
On 11/18/2015 04:25 AM, Ioan-Adrian Ratiu wrote: > Create gpg signed package feeds if configured. Very similar to > how rpm does it. Most of the config variables are shared with > the rpm backend (like PACKAGE_FEED_GPG_NAME), with the exception > of PACKAGE_FEED_GPG_PUBKEY which is not needed in

Re: [OE-core] [oe][PATCH 2/2] package_manager: support for signed IPK package feeds

2015-11-17 Thread Alejandro del Castillo
On 11/17/2015 09:26 AM, Ioan-Adrian Ratiu wrote: > Create gpg signed package feeds if configured. Very similar to > how rpm does it. Most of the config variables are shared with > the rpm backend (like PACKAGE_FEED_GPG_NAME), with the exception > of PACKAGE_FEED_GPG_PUBKEY which is not needed in

[OE-core] [PATCH] opkg: add cache filename length fixes

2015-11-13 Thread Alejandro del Castillo
Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- ...ng_util-New-file-with-bin_to_hex-function.patch | 122 + .../opkg/0002-md5-Add-md5_to_string-function.patch | 110 +++ ...0003-sha256-Add-sha256_to_string-function.patch

[OE-core] [PATCHv3] adt-installer: upgrade to opkg 0.3.0

2015-09-08 Thread Alejandro del Castillo
- Opkg 0.3.0 deprecated --disable-shave & --withopkglibdir options. - Add -i option to autoreconf since opkg tarball is missing conf.compile. - Recreate wget_cache.patch Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- .../installer/adt-installer/adt

[OE-core] [PATCHv2] adt-installer: upgrade to opkg 0.3.0

2015-09-08 Thread Alejandro del Castillo
- Remove deprecated --disable-shave & --withopkglibdir options. - Add -i option to autoreconf since opkg tarball is missing conf.compile - Recreate wget_cache.patch - Bump PR version. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- .../installer/adt

Re: [OE-core] [PATCH] opkg: upgrade to v0.3.0

2015-09-02 Thread Alejandro del Castillo
On 09/02/2015 01:55 AM, Richard Purdie wrote: > On Tue, 2015-09-01 at 09:17 -0500, Alejandro del Castillo wrote: >> Changes required: >> - Rename opkg-cl to opkg >> - Add libarchive dependency >> - Drop backport patches >> - Drop obsolete directory options >

[OE-core] [PATCH] adt-installer: upgrade to opkg 0.3.0

2015-09-01 Thread Alejandro del Castillo
- Opkg 0.3.0 deprecated --disable-shave & --withopkglibdir options. - Add -i option to autoreconf since opkg tarball is missing conf.compile. - Recreate wget_cache.patch - Bump PR version. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> This patch can b

[OE-core] [PATCH] opkg: upgrade to v0.3.0

2015-09-01 Thread Alejandro del Castillo
Changes required: - Rename opkg-cl to opkg - Add libarchive dependency - Drop backport patches - Drop obsolete directory options - Add patch to handle empty index files Based on initial work by Paul Barker. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> CC: Paul Bar

Re: [OE-core] opkg-0.3.0 version bump

2015-08-31 Thread Alejandro del Castillo
On 08/31/2015 08:38 AM, Alexander Kanavin wrote: > On 08/31/2015 12:44 PM, Kravchenko, Oleh wrote: > >> Does anybody known when opkg-0.3.0 will be released for Yocto? > > Is there a specific reason you need this update? > > If you want it to happen sooner, patches are welcome. I have a

Re: [OE-core] opkg_install_pkg: Package name md5sum mismatch. Either the opkg or the package index are corrupt.

2015-05-04 Thread Alejandro del Castillo
On 05/04/2015 02:19 PM, Denys Dmytriyenko wrote: On Mon, May 04, 2015 at 02:50:17PM -0400, Denys Dmytriyenko wrote: On Fri, May 01, 2015 at 05:13:05PM -0500, Alejandro del Castillo wrote: On 05/01/2015 11:06 AM, Denys Dmytriyenko wrote: Hi, Has anyone ever seen this message during

Re: [OE-core] opkg_install_pkg: Package name md5sum mismatch. Either the opkg or the package index are corrupt.

2015-05-01 Thread Alejandro del Castillo
On 05/01/2015 11:06 AM, Denys Dmytriyenko wrote: Hi, Has anyone ever seen this message during image.do_rootfs task? Collected errors: * opkg_install_pkg: Package package md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'. * opkg_install_cmd: Cannot

Re: [OE-core] Not selecting old version of package as installing it would break existing dependencies

2015-03-30 Thread Alejandro del Castillo
steps would be great)? If Paul doesn't get to it on the 0.3 timeframe, I'll take care of it on the next release. cheers, -Alejandro From: Mike Looijmans mike.looijm...@topic.nl To: Alejandro del Castillo alejandro.delcasti...@ni.com, Cc: openembedded-core@lists.openembedded.org

Re: [OE-core] Not selecting old version of package as installing it would break existing dependencies

2015-03-27 Thread Alejandro del Castillo
as it is only pointing to the reason why one of the possible upgrade candidates was discarded. Hope this helps! Alejandro del Castillo -- Mike Looijmans -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http

Re: [OE-core] [opkg-devel] Stepping back from opkg maintenance

2015-03-09 Thread Alejandro del Castillo
. To unsubscribe from this group and stop receiving emails from it, send an email to opkg-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. [attachment signature.asc deleted by Alejandro del Castillo/AUS/NIC