Skip to contentSkip to conversation

Dizzy-next merge request

PATCH New Armin Kuster 1 participant 2 messages Dec 3, 2014

lore
Share & tools
lore
#0 lore raw

cover Dizzy-next merge request

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(+)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 kernel.bbclass: Create modules directory even if there is no modules installed

From: He Zhe <[email protected]>

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)

---
 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/kernel.bbclass +1 -0
index f300fa3..fa06c3a 100644
@@ -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"
 
 	#
Signature · 1 line
1.9.1