Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Dizzy-next merge request
@ 2014-12-03 19:38 Armin Kuster
  2014-12-03 19:38 ` [PATCH 1/1] kernel.bbclass: Create modules directory even if there is no modules installed Armin Kuster
  0 siblings, 1 reply; 2+ messages in thread
From: Armin Kuster @ 2014-12-03 19:38 UTC (permalink / raw)
  To: openembedded-core

one more merge

The following changes since commit be128c799489b95b740f2803c16e047a1f307781:

  gst-ffmpeg: fixes for CVE-2014-8548 and CVE-2014-8541 (2014-12-03 08:01:28 -0800)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib akuster/dizzy-next
  http://git.yoctoproject.org/cgit.cgi//log/?h=akuster/dizzy-next

He Zhe (1):
  kernel.bbclass: Create modules directory even if there is no modules
    installed

 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.1



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

* [PATCH 1/1] kernel.bbclass: Create modules directory even if there is no modules installed
  2014-12-03 19:38 [PATCH 0/1] Dizzy-next merge request Armin Kuster
@ 2014-12-03 19:38 ` Armin Kuster
  0 siblings, 0 replies; 2+ messages in thread
From: Armin Kuster @ 2014-12-03 19:38 UTC (permalink / raw)
  To: openembedded-core

From: He Zhe <zhe.he@windriver.com>

During kernel_do_install it needs to make symbol link at
${D}/lib/modules/${KERNEL_VERSION}/build, but there will not be
${D}/lib/modules/${KERNEL_VERSION} if there is no modules installed for current
image, which will result in a build failure.
Add "mkdir -p ${D}/lib/modules/${KERNEL_VERSION}" here to avoid this failure
and the need of similar changes in other scripts that also expect it to exist.

(From OE-Core rev: f2f72f8ff623d24fffbb1b0ad40bc08f05ff31dd)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index f300fa3..fa06c3a 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -213,6 +213,7 @@ kernel_do_install() {
 	#
 	kerneldir=${D}${KERNEL_SRC_PATH}
 	install -d $kerneldir
+	mkdir -p ${D}/lib/modules/${KERNEL_VERSION}
 	ln -sf ${KERNEL_SRC_PATH} "${D}/lib/modules/${KERNEL_VERSION}/build"
 
 	#
-- 
1.9.1



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

end of thread, other threads:[~2014-12-03 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 19:38 [PATCH 0/1] Dizzy-next merge request Armin Kuster
2014-12-03 19:38 ` [PATCH 1/1] kernel.bbclass: Create modules directory even if there is no modules installed Armin Kuster

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