Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Misc bugfixes
@ 2014-03-20 15:15 Paul Eggleton
  2014-03-20 15:15 ` [PATCH 1/3] classes/kernel: move module postinst commands to kernel-base Paul Eggleton
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-03-20 15:15 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit ef196434620522affc11b5b1b867386b5d14a4c3:

  alsa-tools: fix build when x11 and gtk+ not available (2014-03-19 14:41:55 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/fixes5
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/fixes5

Paul Eggleton (3):
  classes/kernel: move module postinst commands to kernel-base
  python: add python-mmap to python-multiprocessing RDEPENDS
  x264: add perlnative to inherit

 meta/classes/kernel.bbclass                          | 7 +++++--
 meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +-
 meta/recipes-multimedia/x264/x264_git.bb             | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

-- 
1.8.5.3



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] classes/kernel: move module postinst commands to kernel-base
  2014-03-20 15:15 [PATCH 0/3] Misc bugfixes Paul Eggleton
@ 2014-03-20 15:15 ` Paul Eggleton
  2014-03-21  9:25   ` Richard Purdie
  2014-03-20 15:15 ` [PATCH 2/3] python: add python-mmap to python-multiprocessing RDEPENDS Paul Eggleton
  2014-03-20 15:15 ` [PATCH 3/3] x264: add perlnative to inherit Paul Eggleton
  2 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2014-03-20 15:15 UTC (permalink / raw)
  To: openembedded-core

Since kernel-base is the package that contains the files that depmod
needs to run, we should be running depmod from the kernel-base
postinstall rather than kernel-image.

Fixes [YOCTO #5392].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/kernel.bbclass | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6953109..19b159b 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -362,8 +362,7 @@ ALLOW_EMPTY_kernel-image = "1"
 ALLOW_EMPTY_kernel-modules = "1"
 DESCRIPTION_kernel-modules = "Kernel modules meta package"
 
-pkg_postinst_kernel-image () {
-	update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
+pkg_postinst_kernel-base () {
 	if [ ! -e "$D/lib/modules/${KERNEL_VERSION}" ]; then
 		mkdir -p $D/lib/modules/${KERNEL_VERSION}
 	fi
@@ -374,6 +373,10 @@ pkg_postinst_kernel-image () {
 	fi
 }
 
+pkg_postinst_kernel-image () {
+	update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
+}
+
 pkg_postrm_kernel-image () {
 	update-alternatives --remove ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} || true
 }
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] python: add python-mmap to python-multiprocessing RDEPENDS
  2014-03-20 15:15 [PATCH 0/3] Misc bugfixes Paul Eggleton
  2014-03-20 15:15 ` [PATCH 1/3] classes/kernel: move module postinst commands to kernel-base Paul Eggleton
@ 2014-03-20 15:15 ` Paul Eggleton
  2014-03-20 17:05   ` Paul Eggleton
  2014-03-20 15:15 ` [PATCH 3/3] x264: add perlnative to inherit Paul Eggleton
  2 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2014-03-20 15:15 UTC (permalink / raw)
  To: openembedded-core

The multiprocessing module needs the mmap module. We got away with not
having this for the build appliance because python-mmap was added to
packagegroup-self-hosted, but this is the proper place to have it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc b/meta/recipes-devtools/python/python-2.7-manifest.inc
index 49dbc0b..a557cdc 100644
--- a/meta/recipes-devtools/python/python-2.7-manifest.inc
+++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
@@ -151,7 +151,7 @@ RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io"
 FILES_${PN}-mmap="${libdir}/python2.7/lib-dynload/mmap.so "
 
 SUMMARY_${PN}-multiprocessing="Python multiprocessing support"
-RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes"
+RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes ${PN}-mmap"
 FILES_${PN}-multiprocessing="${libdir}/python2.7/lib-dynload/_multiprocessing.so ${libdir}/python2.7/multiprocessing "
 
 SUMMARY_${PN}-netclient="Python Internet Protocol clients"
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] x264: add perlnative to inherit
  2014-03-20 15:15 [PATCH 0/3] Misc bugfixes Paul Eggleton
  2014-03-20 15:15 ` [PATCH 1/3] classes/kernel: move module postinst commands to kernel-base Paul Eggleton
  2014-03-20 15:15 ` [PATCH 2/3] python: add python-mmap to python-multiprocessing RDEPENDS Paul Eggleton
@ 2014-03-20 15:15 ` Paul Eggleton
  2 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-03-20 15:15 UTC (permalink / raw)
  To: openembedded-core

perl is run as part of the configure process, so we should ensure that
it's available.

Should fix [YOCTO #5768].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-multimedia/x264/x264_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb
index 0e305ea..d192c30 100644
--- a/meta/recipes-multimedia/x264/x264_git.bb
+++ b/meta/recipes-multimedia/x264/x264_git.bb
@@ -18,7 +18,7 @@ PV = "r2265+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
-inherit lib_package pkgconfig
+inherit lib_package pkgconfig perlnative
 
 X264_DISABLE_ASM = ""
 X264_DISABLE_ASM_armv4 = "--disable-asm"
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/3] python: add python-mmap to python-multiprocessing RDEPENDS
  2014-03-20 15:15 ` [PATCH 2/3] python: add python-mmap to python-multiprocessing RDEPENDS Paul Eggleton
@ 2014-03-20 17:05   ` Paul Eggleton
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-03-20 17:05 UTC (permalink / raw)
  To: openembedded-core

On Thursday 20 March 2014 15:15:10 Paul Eggleton wrote:
> The multiprocessing module needs the mmap module. We got away with not
> having this for the build appliance because python-mmap was added to
> packagegroup-self-hosted, but this is the proper place to have it.
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc
> b/meta/recipes-devtools/python/python-2.7-manifest.inc index
> 49dbc0b..a557cdc 100644
> --- a/meta/recipes-devtools/python/python-2.7-manifest.inc
> +++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
> @@ -151,7 +151,7 @@ RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io"
>  FILES_${PN}-mmap="${libdir}/python2.7/lib-dynload/mmap.so "
> 
>  SUMMARY_${PN}-multiprocessing="Python multiprocessing support"
> -RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle
> ${PN}-threading ${PN}-ctypes" +RDEPENDS_${PN}-multiprocessing="${PN}-core
> ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes ${PN}-mmap"
> FILES_${PN}-multiprocessing="${libdir}/python2.7/lib-dynload/_multiprocessi
> ng.so ${libdir}/python2.7/multiprocessing "
> 
>  SUMMARY_${PN}-netclient="Python Internet Protocol clients"

So I missed completely that this file is automatically generated. I'm going to 
update the script and send a v2, with some additional patches to sync other 
changes between the script and the inc file.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/3] classes/kernel: move module postinst commands to kernel-base
  2014-03-20 15:15 ` [PATCH 1/3] classes/kernel: move module postinst commands to kernel-base Paul Eggleton
@ 2014-03-21  9:25   ` Richard Purdie
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2014-03-21  9:25 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core

On Thu, 2014-03-20 at 15:15 +0000, Paul Eggleton wrote:
> Since kernel-base is the package that contains the files that depmod
> needs to run, we should be running depmod from the kernel-base
> postinstall rather than kernel-image.
> 
> Fixes [YOCTO #5392].
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta/classes/kernel.bbclass | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

I think this might have triggered:

http://autobuilder.yoctoproject.org/main/builders/nightly-multilib/builds/105/steps/BuildImages_3/logs/stdio

Cheers,

Richard



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-21  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 15:15 [PATCH 0/3] Misc bugfixes Paul Eggleton
2014-03-20 15:15 ` [PATCH 1/3] classes/kernel: move module postinst commands to kernel-base Paul Eggleton
2014-03-21  9:25   ` Richard Purdie
2014-03-20 15:15 ` [PATCH 2/3] python: add python-mmap to python-multiprocessing RDEPENDS Paul Eggleton
2014-03-20 17:05   ` Paul Eggleton
2014-03-20 15:15 ` [PATCH 3/3] x264: add perlnative to inherit Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox