[OE-core] [PATCH v2 0/3][YOCTO #11090] Set linux-firmware to correct license
Maxin B. John
maxin.john at intel.com
Fri Apr 7 11:41:16 UTC 2017
Hi,
On Fri, Apr 07, 2017 at 03:57:33AM -0700, wei.tee.ng at intel.com wrote:
> From: "Ng, Wei Tee" <wei.tee.ng at intel.com>
>
> These patches is to update the SRCREV of linux-firmware to the latest HEAD and set thelicense file explicitly for linux-firmware-carl9170 to GPL-2.
>
> The SRCREV for linux-firmware was updated to the latest in order to include the GPL-2 license file. The netronome firmware was removed until rpm packaging issue is resolved.
>
> This configuration are build and tested.
>
> Please review and provide feedback if you have any.
ipk packaging also seems to have some troubles with this modification.
Failed in my setup as below:
ERROR: linux-firmware-1_0.0+gitAUTOINC+b14134583c-r0 do_package_write_ipk: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_package_ipk(d)
0003:
File: '/home/maxin/poky/meta/classes/package_ipk.bbclass', lineno: 228, function: do_package_ipk
0224: conffiles.close()
0225:
0226: os.chdir(basedir)
0227: subprocess.check_output("PATH=\"%s\" %s %s %s" % (localdata.getVar("PATH"),
*** 0228: d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir), shell=True)
0229:
0230: if d.getVar('IPK_SIGN_PACKAGES') == '1':
0231: ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR'))
0232: ipk_to_sign = "%s/%s_%s_%s.ipk" % (pkgoutdir, pkgname, ipkver, d.getVar('PACKAGE_ARCH'))
File: '/usr/lib64/python3.4/subprocess.py', lineno: 620, function: check_output
0616: process.wait()
0617: raise
0618: retcode = process.poll()
0619: if retcode:
*** 0620: raise CalledProcessError(retcode, process.args, output=output)
0621: return output
0622:
0623:
0624:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 'PATH="/home/maxin/poky/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/maxin/poky/scripts:/home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sysroot-native/usr/bin/allarch-poky-linux:/home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sysroot/usr/bin/crossscripts:/home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sysroot-native/usr/sbin:/home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sysroot-native/usr/bin:/home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sysroot-native/sbin:/home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sysroot-native/bin:/home/maxin/poky/bitbake/bin:/home/maxin/poky/build/tmp/hosttools" opkg-build linux-firmware-GPL-2-license /home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/deploy-ipks/all' returned non-zero exit status 1
Subprocess output:
linux-firmware-GPL-2-license
ERROR: linux-firmware-1_0.0+gitAUTOINC+b14134583c-r0 do_package_write_ipk: Function failed: do_package_ipk
ERROR: Logfile of failure stored in: /home/maxin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/temp/log.do_package_write_ipk.32268
ERROR: Task (/home/maxin/poky/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb:do_package_write_ipk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 349 tasks of which 348 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/maxin/poky/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb:do_package_write_ipk
> Thanks.
>
> Regards,
>
> Wei Tee
>
>
> Chang, Rebecca Swee Fun (1):
> linux-firmware: Fix build failure when update SRCREV to latest HEAD
>
> Ng, Wei Tee (2):
> linux-firmware: update to revision a4dde74b
> linux-firmware: Set the license for carl9170 to GPLv2
>
> .../linux-firmware/linux-firmware_git.bb | 40 ++++++++++++++--------
> 1 file changed, 25 insertions(+), 15 deletions(-)
>
> --
> 2.7.4
Best Regards,
Maxin
More information about the Openembedded-core
mailing list