]> code.ossystems Code Review - meta-freescale.git/commit
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)
commitf4b590bc5e2fbbc76c564c93c36b648065b0d8b3
tree516d319d13b2ce123012ce910f86c89e5fb80922
parent9b6c142bc0fab96f8ce1830555850e9e3215bda0
linux-imx_4.9.123: fix kernel module deploymenmt for ipk

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