Thread (6 messages) 6 messages, 2 authors, 2012-06-22

Re: [PATCH 1/2] opkg-utils: bump SRCREV

From: Martin Jansa <hidden>
Date: 2012-06-21 06:01:53

On Wed, Jun 20, 2012 at 07:40:05PM -0700, Saul Wold wrote:
On 06/19/2012 12:42 AM, Martin Jansa wrote:
quoted
* there are 2 small fixes
   python-2.6 compatibility
   missing C option for opkg-build

Signed-off-by: Martin Jansa<redacted>
---
  .../opkg-utils/opkg-utils/shr.patch                |   26 ++++++++++++++++++++
  meta/recipes-devtools/opkg-utils/opkg-utils_git.bb |    2 +-
  2 files changed, 27 insertions(+), 1 deletions(-)
  create mode 100644 meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch
new file mode 100644
index 0000000..29de962
--- /dev/null
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch
Martin,

No Upstream-Status or Signed-off-by

Please fix this
Ah sorry, this file shouldn't be here at all, I was using it just to
apply those changes until they get applied in yocto opkg-utils repo and
then replaced it with SRCREV bump, but forgot to drop this file from
patch.. will send v2.

Thanks!
Thanks
	Sau!
quoted
@@ -0,0 +1,26 @@
+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"
+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)
+
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 1996c75..b193ba4 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                      file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083"
  RDEPENDS_${PN} = "python"
  RDEPENDS_${PN}_virtclass-native = ""
-SRCREV = "44df9dd3dc411ca1255cb4b23bde7eb71aed4778"
+SRCREV = "423ecd36b4782327c16f516885d1248249c7724a"
  PV = "0.1.8+git${SRCPV}"
  PR = "r1"
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help