Re: [yocto] [opkg-devel] [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: [yocto] [opkg-devel] [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: [yocto] [opkg-devel] [OE-core][opkg-utils ] Bug 13528 : adding SPDX license identifier

2019-10-18 Thread Alejandro Del Castillo
merged, thanks! On 10/15/19 2:58 PM, Alejandro Del Castillo wrote: > > > On 10/14/19 7:36 AM, Ycn aKaJoseph wrote: >> Hi, >> >> GPL-2.0-only was applied to script without previous Licences and >> GPL-2.0-or-later to those mentioning it, however I'm wondering

Re: [yocto] [opkg-devel] [OE-core][opkg-utils ] Bug 13528 : adding SPDX license identifier

2019-10-15 Thread Alejandro Del Castillo
PM <mailto:richard.pur...@linuxfoundation.org>> wrote: > > On Fri, 2019-10-11 at 15:54 +, Alejandro Del Castillo wrote: > > On 10/11/19 8:51 AM, Ycn aKaJoseph wrote: > > > Hi guys, > > > > > > https://bugzilla.yoctoproje

Re: [yocto] [opkg-devel] [OE-core][opkg-utils ] Bug 13528 : adding SPDX license identifier

2019-10-11 Thread Alejandro Del Castillo
On 10/11/19 8:51 AM, Ycn aKaJoseph wrote: > Hi guys, > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=13528 > > >

Re: [yocto] [opkg-devel] [opkg-utils PATCH] Makefile: fixed for-loop in install receipe

2019-05-30 Thread Alejandro Del Castillo
indeed, thanks for the fix! merged On 5/29/19 1:57 PM, Josh Deweese wrote: > The install receipe would have copied all the manpages to each of the > section folders. This change will do what I believe the original > author had intended. > > Signed-off-by: Joshua DeWeese > --- > Makefile | 2 +-

Re: [yocto] [opkg-devel] [opkg-utils] Question: why update-alternatives from opkg-utils chooses /usr/lib to hold database?

2019-03-05 Thread Alejandro Del Castillo
On 3/5/19 12:11 AM, ChenQi wrote: > Hi All, > > Recently I'm dealing with issue from which some discussion raises. > I'd like to ask why update-alternatives from opkg-utils chooses /usr/lib > to hold its alternatives database? > I looked into debian, its update-alternatives chooses /var/lib

Re: [yocto] [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

Re: [yocto] [opkg-devel] [opkg-utils PATCH] update-alternatives: Fix link relocation support

2018-11-12 Thread Alejandro Del Castillo
good catch, thanks for the fix! merged On 11/11/18 8:19 AM, Niko Mauno wrote: > Commit fcb2633921eb9bb711aa264247aebcfdd4ae which added Debian-style > support for link relocation tries to relocate symbolic link on host OS, > resulting in following-like error when two alternative packages

Re: [yocto] [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: [yocto] [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

Re: [yocto] [opkg-devel] [opkg-utils PATCH] opkg-build: Add support for explicit pigz

2018-10-05 Thread Alejandro Del Castillo
Hi Mike, Thanks for the patch! Just merged it into master (I updated the man page to reflect the new option) On 10/4/18 11:53 AM, Mike Crowe wrote: > From: Mike Crowe > > oe-core has stopped[1] installing pigz as gzip. This means that in order to > persuade opkg-build to use pigz it must be

[yocto] opkg-utils 0.3.6

2018-02-22 Thread Alejandro del Castillo
Hi all, I am please to announce the 0.3.6 release of opkg-utils. In this release, we had 10 commits, contributed by 7 developers: Jeffrey Pautler 3 Alejandro del Castillo 3 Zhu Mumu1 Adam Trhon 1 Jackie Huang1 Juro Bystricky 1

Re: [yocto] [PATCH] opkg-build: improve package reproducibility

2018-02-01 Thread Alejandro del Castillo
merged From: Alejandro del Castillo <alejandro.delcasti...@ni.com> Sent: Monday, January 29, 2018 4:23:15 AM To: opkg-de...@googlegroups.com; yocto@yoctoproject.org Cc: Alejandro del Castillo Subject: [PATCH] opkg-build: improve package reproduci

[yocto] [PATCH] opkg-build: improve package reproducibility

2018-01-29 Thread Alejandro del Castillo
/ Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- opkg-build | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/opkg-build b/opkg-build index 0fe513a..7bfdd99 100755 --- a/opkg-build +++ b/opkg-build @@ -149,6 +149,7 @@ ou

Re: [yocto] [opkg-devel] [opkg-utils PATCH] update-alternatives: fix the sed pattern in remove_alt

2018-01-21 Thread Alejandro del Castillo
merged From: opkg-de...@googlegroups.com on behalf of jackie.hu...@windriver.com Sent: Thursday, January 18, 2018 8:59 PM To: yocto@yoctoproject.org; opkg-de...@googlegroups.com Subject:

Re: [yocto] [opkg-devel] [opkg-utils PATCH] opkg.py/opkg-make-index: Add option to include all fields

2017-10-06 Thread Alejandro del Castillo
yep, that makes sense, thanks for the contribution merged On 10/05/2017 12:03 PM, Jeffrey Pautler wrote: If the -f option is enabled, opkg-make-index will include user-defined fields in the package index rather than discarding them. This change is motivated by the fact that opkg now has

Re: [yocto] [opkg-devel] [opkg-utils PATCH] opkg.py: Remove reformatting of description field

2017-10-06 Thread Alejandro del Castillo
Agreed, opkg-make-index spould not be formatting control files. Description should be treated as any other field. merged On 10/05/2017 09:05 AM, Jeffrey Pautler wrote: The Debian Policy Manual describes the format of the description field. This includes information about how lines might be

Re: [yocto] [opkg-devel] [opkg-utils PATCH] opkg.py: Fix run-time error in call to ArFile

2017-10-03 Thread Alejandro del Castillo
ouch...this was clearly wrong opkg-utils is badly needing an ATS to prevent this bugs from slipping in... thanks a bunch for the fix! (just merged it into master) On 10/02/2017 02:37 PM, Jeffrey Pautler wrote: Signed-off-by: Jeffrey Pautler --- opkg.py | 2 +- 1

Re: [yocto] [opkg-devel] [opkg-utils PATCH] opkg-build*: fix empty package name in error message

2017-09-11 Thread Alejandro del Castillo
merged, thanks! On 09/02/2017 11:23 AM, Adam Trhon wrote: > When opkg-build detects illegal character in package name it prints an error > message with this name. Due to a wrong variable name the package name in the > error message is empty. The same error occurs in opkg-buildpackage as well. >

Re: [yocto] GPG signed package feeds and packages: opkg update fails with "No public key"

2017-08-11 Thread Alejandro del Castillo
On 08/07/2017 04:51 AM, Andersen, Christian wrote: > Hello, > > I am trying to sign our ipk-packages and the package feed using GPG. As > far as I can tell the signatures are correctly generated using this in > the local.conf: > > INHERIT += "sign_package_feed sign_ipk" > PACKAGE_FEED_GPG_NAME

Re: [yocto] Why can't I install eudev-hwdb

2017-06-05 Thread Alejandro del Castillo
On 06/04/2017 12:30 AM, Gary Thomas wrote: >> Which version of opkg are you using? do you have the libsolv backend >> enabled? running opkg --version should tell you the opkg version and the >> libsolv version, if the backend is enabled. > > # opkg --version > opkg version 0.3.4 (libsolv

Re: [yocto] Why can't I install eudev-hwdb

2017-06-02 Thread Alejandro del Castillo
On 06/01/2017 09:52 AM, Gary Thomas wrote: > On 2017-06-01 15:46, Burton, Ross wrote: >> >> On 1 June 2017 at 14:38, Gary Thomas > > wrote: >> >> Thanks for the suggestion. Sadly, still no go. >> >> >> No idea then. CCing Alejandro... > > Very

Re: [yocto] opkg behavior

2017-04-11 Thread Alejandro del Castillo
On 04/11/2017 08:03 AM, Gary Thomas wrote: > I'm using opkg (IPK) packaging with my Yocto builds (using recent > master 633ad6c9f). For the most part, this seems to work well, > but occasionally I'll rebuild a recipe along with the packaging > indexes on my build machine only to find that opkg

Re: [yocto] [opkg-devel] [opkg-utils PATCH] Added support to generate index file with multiple version per package

2016-12-30 Thread Alejandro del Castillo
Looks good! merged On 12/30/2016 11:39 AM, Desmond Correia wrote: > Hi Alejandro, > > Thanks for catching that see attached. > > > > On Fri, Dec 30, 2016 at 12:21 PM, Alejandro del Castillo > <alejandro.delcasti...@ni.com <mailto:alejandro.delcasti...@ni.co

Re: [yocto] [opkg-devel] [opkg-utils PATCH] Added support to generate index file with multiple version per package

2016-12-30 Thread Alejandro del Castillo
Hi Desmond, thanks for sending the patch, works as expected. The only thing missing is your Signed-off-by line, do you mind resending with it? I also have a very minor comment below On 12/28/2016 01:15 PM, Desmond Correia wrote: > From aefa378d6a167124bdfb0b8d6c92aadb4c36fa46 Mon Sep 17

[yocto] [opkg-utils PATCH 0/2] migrate to python 3

2016-05-27 Thread Alejandro del Castillo
First patch migrates all opkg-utils scrips to python 3. opkg-graph-deps doesn't work on python 3 since it depends on pydot, which hasn't migrated to python 3. Second patch fixes opkg-update-index, which was broken. Alejandro del Castillo (2): migrate to python 3 opkg.py/write_packages_file

[yocto] [opkg-utils PATCH 2/2] opkg.py/write_packages_file: call __str__ instead of __repr__

2016-05-27 Thread Alejandro del Castillo
Commit b9eec00a67f13ad9f9526caf591578b40d73a391 correctly renamed __repr__to __str__. A call site in write_packages_file was missed. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- opkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opk

[yocto] [opkg-utils PATCH 1/2] migrate to python 3

2016-05-27 Thread Alejandro del Castillo
* Add seekable method to FileSection class (needed by tarfile) Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- arfile.py| 10 -- makePackage | 2 ++ opkg-compare-indexes | 2 ++ opkg-graph-deps

[yocto] [PATCH] opkg-build: return error if Version is missing

2016-05-02 Thread Alejandro del Castillo
If Version is missing in a control file, opkg-build reports an error to stdout, but returns 0. Fix condition on pkg_appears_sane to properly return an error if Version is missing. Suggested-by: Thomas de Schampheleire <patrickdeping...@gmail.com> Signed-off-by: Alejandro del Ca

Re: [yocto] [PATCH][opkg-utils] opkg-build: Exit when fail to list files.

2016-04-05 Thread Alejandro del Castillo
On 04/01/2016 09:50 AM, Aníbal Limón wrote: Hi, Comments below, alimon On 03/31/2016 11:26 PM, Mike Looijmans wrote: On 31-03-16 23:27, Aníbal Limón wrote: We have an issue when ls segfaults in some cases [1] so it's better to detect the failure at this level instead of continue

Re: [yocto] [OE-core] OpenEmbedded Developer meeting April 8 after ELC/Yocto Project developer day

2016-03-15 Thread Alejandro del Castillo
Hey Phil, I am not going to make it this time to ELC...but I did see that the meta-debian guys are presenting again...please troll them for me! =) On 03/14/2016 06:16 PM, Philip Balister wrote: > Yes, I am nagging. > > On the Friday after ELC in San Diego (Yocto Project Dev Day is > Thursday),

Re: [yocto] [meta-selinux][PATCH] busybox: explicitly set temporary shell scripts to be executable

2016-03-07 Thread Alejandro del Castillo
On 03/01/2016 11:43 PM, Philip Tricca wrote: > On 03/01/2016 02:58 PM, Alejandro del Castillo wrote: >> I first started looking at busybox postinst (modified on meta-selinux) since >> I >> am getting errors during "opkg upgrade buysbox". The errors that

Re: [yocto] [meta-selinux][PATCH] busybox: explicitly set temporary shell scripts to be executable

2016-03-01 Thread Alejandro del Castillo
different on the selinux version of busybox? If the postinst is just creating temporary symlinks which will go away once the update-alternatives block later on the script runs, do we need the sh wrappers? On 02/19/2016 04:45 PM, Alejandro del Castillo wrote: > During an on target upgrade, the po

[yocto] [meta-selinux][PATCH] busybox: explicitly set temporary shell scripts to be executable

2016-02-19 Thread Alejandro del Castillo
During an on target upgrade, the postinst script is creating scripts that call buysbox, to avoid missing commands errors. However, the scripts permissions are not set explicitly, relying on the mask. Signed-off-by: Alejandro del Castillo <alejandro.delcasti...@ni.com> --- recipes-core/b

Re: [yocto] [PATCH] libopkg: Add disable_intercepts option to opkg.conf

2016-01-06 Thread Alejandro del Castillo
additional failures. > > Yocto bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8837 > > Signed-off-by: Haris Okanovic <haris.okano...@ni.com> > Cc: Alejandro del Castillo <alejandro.delcasti...@ni.com> > Cc: Paul Barker <p...@paulbarker.me.uk> > --- > libopkg/opkg_cm

Re: [yocto] [PATCH] opkg-utils: Add opkg-graph-deps

2016-01-06 Thread Alejandro del Castillo
On 01/04/2016 05:45 PM, Haris Okanovic wrote: > Usage: opkg-graph-deps [-h] [-o feed.dot] [-u ] Packages> > > Generates a dot formatted dependency graph of an IPK feed. > > The feed is specified by a list of IPK index (Packages) files, which > are sourced in the order specified to build a

Re: [yocto] yocto package naming

2016-01-06 Thread Alejandro del Castillo
On 12/22/2015 03:40 AM, Simon Ruetzler wrote: > Hello, > I want to create different packages from one recipe. > > This is working except for one package. > I addes this package with > PACKAGES += " ${PN}-demo" > and I expected that it is named with the recipe name and demo. In this case >

Re: [yocto] opkg 0.3.0 or rootfs task

2015-11-02 Thread Alejandro del Castillo
On 11/02/2015 09:31 AM, Christopher Larson wrote: > > On Mon, Nov 2, 2015 at 8:25 AM, Nicolas Dechesne > wrote: > > On Mon, Oct 26, 2015 at 12:46 AM, Christopher Larson >

Re: [yocto] opkg 0.3.0 or rootfs task

2015-10-24 Thread Alejandro del Castillo
On 10/21/2015 02:49 AM, Ahsan, Noor wrote: We are hitting this issue on another BSP

Re: [yocto] [opkg-devel] Stepping back from opkg maintenance

2015-03-10 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