]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-imx_4.9.123: fix kernel module deploymenmt for ipk
authorMax Krummenacher <max.oss.09@gmail.com>
Sun, 6 Jan 2019 12:02:44 +0000 (13:02 +0100)
committerDaiane Angolini <daiane.angolini@nxp.com>
Wed, 9 Jan 2019 16:42:52 +0000 (14:42 -0200)
Change the LOCALVERSION to '-imx'. While only linux-imx_4.9.123.bb fails,
change the the same pattern in linux-imx-headers_4.9.123.bb for consistency.

At least the ipk packager doesn't like the '_' characters and errors out
with the following for each kernel module:

| ERROR: Fatal errors occurred in subprocesses:
| Command 'PATH="..." opkg-build -Z xz kernel-module-snd-usbmidi-lib-4.9.123-imx_4.9.123_imx8mm_ga+g6a71cbc08975 \
|     .../deploy-ipks/imx8qmmek' returned non-zero exit status 1.: Traceback (most recent call last):
|  File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/lib/oe/utils.py", line 272, in run
|    ret = self._target(*self._args, **self._kwargs)
|  File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/classes/package_ipk.bbclass", line 230, \
|    in ipk_write_pkg
|    shell=True)
|  File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
|    **kwargs).stdout
|  File "/usr/lib64/python3.6/subprocess.py", line 418, in run
|    output=stdout, stderr=stderr)
| subprocess.CalledProcessError: Command '...' returned non-zero exit status 1.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
recipes-kernel/linux/linux-imx-headers_4.9.123.bb
recipes-kernel/linux/linux-imx_4.9.123.bb

index 77b05cff5c6f90ace0aad33b1b22d5b85007b992..44bce42acad8c7d1ecdbb128ff7d9059d52a8011 100644 (file)
@@ -8,7 +8,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
 SRCBRANCH = "imx_4.9.123_imx8mm_ga"
-LOCALVERSION = "-${SRCBRANCH}"
+LOCALVERSION = "-imx"
 SRC_URI = "git://source.codeaurora.org/external/imx/linux-imx.git;protocol=https;branch=${SRCBRANCH} \
     file://0001-uapi-Install-custom-headers.patch"
 SRCREV = "6a71cbc089755afd6a86c005c22a1af6eab24a70"
index c709249deee828a9449abc3da1377f4f1e7b4781..bc47f2db01bf919f46b4cff02e8c9469f63124d4 100644 (file)
@@ -12,7 +12,7 @@ require recipes-kernel/linux/linux-imx.inc
 DEPENDS += "lzop-native bc-native"
 
 SRCBRANCH = "imx_4.9.123_imx8mm_ga"
-LOCALVERSION = "-${SRCBRANCH}"
+LOCALVERSION = "-imx"
 SRCREV = "6a71cbc089755afd6a86c005c22a1af6eab24a70"
 
 DEFAULT_PREFERENCE = "1"