opkg-utils: bump SRCREV
PATCH 1/2 opkg-utils: bump SRCREV
* there are 2 small fixes
python-2.6 compatibility
missing C option for opkg-build
--- .../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
meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch new file +26 -0
@@ -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) +
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +1 -1
@@ -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"
Signature · 1 line
1.7.8.6
PATCH 2/2 kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst
* without this, kernel upgrades where KERNEL_VERSION is changed
e.g. 3.4.2 -> 3.4.3 generate .dep for running 3.4.2 and after reboot user ends up without any module loaded to make it worse after reboot nothing is upgraded to trigger another kernel(-module) postinst to generate .dep for now running 3.4.3
--- meta/classes/kernel.bbclass | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/classes/kernel.bbclass +2 -2
@@ -271,13 +271,13 @@ fi if [ -n "$D" ]; then depmod -a -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION} else - depmod -a + depmod -a ${KERNEL_VERSION} fi } pkg_postinst_modules () { if [ -z "$D" ]; then - depmod -a + depmod -a ${KERNEL_VERSION} update-modules || true fi }
Signature · 1 line
1.7.8.6
meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch
Quoted 16 lines · Martin Jansa
* there are 2 small fixes
python-2.6 compatibility
missing C option for opkg-buildSigned-off-by Martin Jansa<[email protected]>--- .../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.patchmeta/recipes-devtools/opkg-utils/opkg-utils/shr.patch new file +0
-0
Martin,
No Upstream-Status or Signed-off-by
Please fix this
Thanks
Sau!
Quoted 40 lines
meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch new file +26
-0@@ -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) +meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +1
-1@@ -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"
Quoted 20 lines · Saul Wold
meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch
Quoted 16 lines · Martin Jansa
* there are 2 small fixes
python-2.6 compatibility
missing C option for opkg-buildSigned-off-by Martin Jansa<[email protected]>--- .../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.patchmeta/recipes-devtools/opkg-utils/opkg-utils/shr.patch new file +0
-0Martin,
Quoted 3 lines
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!
Quoted 44 lines
Thanks
Sau!Quoted 40 lines
meta/recipes-devtools/opkg-utils/opkg-utils/shr.patch new file +26
-0@@ -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) +meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +1
-1@@ -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"
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH v2 1/1 opkg-utils: bump SRCREV
In reply to Saul Wold* there are 2 small fixes
python-2.6 compatibility
missing C option for opkg-build
--- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +1 -1
@@ -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"
Signature · 1 line
1.7.8.6
Quoted 14 lines · Martin Jansa
* there are 2 small fixes
python-2.6 compatibility
missing C option for opkg-buildSigned-off-by Martin Jansa<[email protected]>--- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +0
-0
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ · line 12
Quoted 8 lines
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +1
-1@@ -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"
Merged this into OE-Core
Thanks
Sau!