* [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts
@ 2012-05-29 15:34 Martin Jansa
2012-05-29 15:34 ` [opkg-utils][PATCH 1/2] Option "C" ist shown in usage() and implemented, but was missing in getopts. Added "C" Martin Jansa
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Martin Jansa @ 2012-05-29 15:34 UTC (permalink / raw)
To: yocto
The following changes since commit 44df9dd3dc411ca1255cb4b23bde7eb71aed4778:
opkg-make-index: disable filelist by default (2012-04-26 11:39:42 +0100)
are available in the git repository at:
git://github.com/shr-project/opkg-utils jansa/pull
https://github.com/shr-project/opkg-utils/tree/jansa/pull
Chris Diamand (1):
Changed call to subprocess.check_output which isn't compatible with
Python 2.6
Ondics Githubler (1):
Option "C" ist shown in usage() and implemented, but was missing in
getopts. Added "C".
opkg-build | 2 +-
opkg-make-index | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
1.7.8.6
^ permalink raw reply [flat|nested] 6+ messages in thread
* [opkg-utils][PATCH 1/2] Option "C" ist shown in usage() and implemented, but was missing in getopts. Added "C".
2012-05-29 15:34 [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
@ 2012-05-29 15:34 ` Martin Jansa
2012-05-29 15:34 ` [opkg-utils][PATCH 2/2] Changed call to subprocess.check_output which isn't compatible with Python 2.6 Martin Jansa
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-05-29 15:34 UTC (permalink / raw)
To: yocto
From: Ondics Githubler <githubler@ondics.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
opkg-build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opkg-build b/opkg-build
index 012afd3..485897a 100755
--- a/opkg-build
+++ b/opkg-build
@@ -160,7 +160,7 @@ outer=ar
noclean=0
opkext=0
usage="Usage: $0 [-c] [-C] [-O] [-o owner] [-g group] <pkg_directory> [<destination_directory>]"
-while getopts "cg:ho:vO" opt; do
+while getopts "cCg:ho:vO" opt; do
case $opt in
o ) owner=$OPTARG
ogargs="--owner=$owner"
--
1.7.8.6
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [opkg-utils][PATCH 2/2] Changed call to subprocess.check_output which isn't compatible with Python 2.6
2012-05-29 15:34 [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
2012-05-29 15:34 ` [opkg-utils][PATCH 1/2] Option "C" ist shown in usage() and implemented, but was missing in getopts. Added "C" Martin Jansa
@ 2012-05-29 15:34 ` Martin Jansa
2012-06-16 6:36 ` [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
2012-06-19 7:36 ` Richard Purdie
3 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-05-29 15:34 UTC (permalink / raw)
To: yocto
From: Chris Diamand <chris@diamand.org>
subprocess.check_output is not present in Python 2.6. Since the return value
is not being used anyway, replace it with subprocess.call(), which is.
Signed-off-by: Chris Diamand <chris@diamand.org>
---
opkg-make-index | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opkg-make-index b/opkg-make-index
index 22393e8..1c3a8e1 100755
--- a/opkg-make-index
+++ b/opkg-make-index
@@ -186,7 +186,7 @@ if packages_filename:
gzip_filename = ("%s.gz" % packages_filename)
tmp_gzip_filename = ("%s.%d" % (gzip_filename, os.getpid()))
gzip_cmd = "gzip -9c < %s > %s" % (tmp_packages_filename, tmp_gzip_filename)
- rc = subprocess.check_output(gzip_cmd, shell=True)
+ subprocess.call(gzip_cmd, shell=True)
os.rename(tmp_packages_filename, packages_filename)
os.rename(tmp_gzip_filename, gzip_filename)
--
1.7.8.6
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts
2012-05-29 15:34 [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
2012-05-29 15:34 ` [opkg-utils][PATCH 1/2] Option "C" ist shown in usage() and implemented, but was missing in getopts. Added "C" Martin Jansa
2012-05-29 15:34 ` [opkg-utils][PATCH 2/2] Changed call to subprocess.check_output which isn't compatible with Python 2.6 Martin Jansa
@ 2012-06-16 6:36 ` Martin Jansa
2012-06-19 7:11 ` Martin Jansa
2012-06-19 7:36 ` Richard Purdie
3 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2012-06-16 6:36 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 854 bytes --]
On Tue, May 29, 2012 at 05:34:13PM +0200, Martin Jansa wrote:
> The following changes since commit 44df9dd3dc411ca1255cb4b23bde7eb71aed4778:
>
> opkg-make-index: disable filelist by default (2012-04-26 11:39:42 +0100)
ping?
>
> are available in the git repository at:
> git://github.com/shr-project/opkg-utils jansa/pull
> https://github.com/shr-project/opkg-utils/tree/jansa/pull
>
> Chris Diamand (1):
> Changed call to subprocess.check_output which isn't compatible with
> Python 2.6
>
> Ondics Githubler (1):
> Option "C" ist shown in usage() and implemented, but was missing in
> getopts. Added "C".
>
> opkg-build | 2 +-
> opkg-make-index | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> --
> 1.7.8.6
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts
2012-06-16 6:36 ` [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
@ 2012-06-19 7:11 ` Martin Jansa
0 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-06-19 7:11 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
On Sat, Jun 16, 2012 at 08:36:15AM +0200, Martin Jansa wrote:
> On Tue, May 29, 2012 at 05:34:13PM +0200, Martin Jansa wrote:
> > The following changes since commit 44df9dd3dc411ca1255cb4b23bde7eb71aed4778:
> >
> > opkg-make-index: disable filelist by default (2012-04-26 11:39:42 +0100)
>
> ping?
Can I get push access to this repo, I know you're all busy but waiting
20+ days for small fixes to get applied is not very efficient. Another
guy on #oe asked today why package-index is always failing in oe-classic..
Cheers,
> > are available in the git repository at:
> > git://github.com/shr-project/opkg-utils jansa/pull
> > https://github.com/shr-project/opkg-utils/tree/jansa/pull
> >
> > Chris Diamand (1):
> > Changed call to subprocess.check_output which isn't compatible with
> > Python 2.6
> >
> > Ondics Githubler (1):
> > Option "C" ist shown in usage() and implemented, but was missing in
> > getopts. Added "C".
> >
> > opkg-build | 2 +-
> > opkg-make-index | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > --
> > 1.7.8.6
> >
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts
2012-05-29 15:34 [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
` (2 preceding siblings ...)
2012-06-16 6:36 ` [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
@ 2012-06-19 7:36 ` Richard Purdie
3 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2012-06-19 7:36 UTC (permalink / raw)
To: Martin Jansa; +Cc: yocto
On Tue, 2012-05-29 at 17:34 +0200, Martin Jansa wrote:
> The following changes since commit 44df9dd3dc411ca1255cb4b23bde7eb71aed4778:
>
> opkg-make-index: disable filelist by default (2012-04-26 11:39:42 +0100)
>
> are available in the git repository at:
> git://github.com/shr-project/opkg-utils jansa/pull
> https://github.com/shr-project/opkg-utils/tree/jansa/pull
>
> Chris Diamand (1):
> Changed call to subprocess.check_output which isn't compatible with
> Python 2.6
>
> Ondics Githubler (1):
> Option "C" ist shown in usage() and implemented, but was missing in
> getopts. Added "C".
Merged to master. Sorry about the delay, I'd missed the original
patches. I'd meant to sort this after I saw the reminder yesterday but
didn't get to it until today.
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-19 7:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-29 15:34 [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
2012-05-29 15:34 ` [opkg-utils][PATCH 1/2] Option "C" ist shown in usage() and implemented, but was missing in getopts. Added "C" Martin Jansa
2012-05-29 15:34 ` [opkg-utils][PATCH 2/2] Changed call to subprocess.check_output which isn't compatible with Python 2.6 Martin Jansa
2012-06-16 6:36 ` [opkg-utils][PATCH 0/2] opkg-utils fix for python-2.6 and fix for missing getopts Martin Jansa
2012-06-19 7:11 ` Martin Jansa
2012-06-19 7:36 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.