Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mail.openembedded.org (Postfix) with ESMTP id D750C77D94 for ; Fri, 7 Apr 2017 11:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491565284; x=1523101284; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=PcfYb7LmiguuxKGVfyk9gnPbujDF+Onqv25N30InK4g=; b=ABWqCxZOg/Ae2V6scr2KKAPlTjKLtn9a7tjyqCc3Y2cltSfvWuksPufo bEEnSV1oKCi8tUrwp4Hw/k5sdzbDUQ==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Apr 2017 04:41:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,164,1488873600"; d="scan'208";a="953336900" Received: from mbabyjoh-desk.fi.intel.com (HELO mbabyjoh-desk.ger.corp.intel.com) ([10.237.72.71]) by orsmga003.jf.intel.com with ESMTP; 07 Apr 2017 04:41:21 -0700 Date: Fri, 7 Apr 2017 14:41:16 +0300 From: "Maxin B. John" To: wei.tee.ng@intel.com Message-ID: <20170407114115.GA22696@mbabyjoh-desk.ger.corp.intel.com> References: <1491562656-111303-1-git-send-email-wei.tee.ng@intel.com> MIME-Version: 1.0 In-Reply-To: <1491562656-111303-1-git-send-email-wei.tee.ng@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH v2 0/3][YOCTO #11090] Set linux-firmware to correct license X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 11:41:24 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Apr 07, 2017 at 03:57:33AM -0700, wei.tee.ng@intel.com wrote: > From: "Ng, Wei Tee" >=20 > These patches is to update the SRCREV of linux-firmware to the latest HEA= D and set thelicense file explicitly for linux-firmware-carl9170 to GPL-2. > =20 > The SRCREV for linux-firmware was updated to the latest in order to inclu= de the GPL-2 license file. The netronome firmware was removed until rpm pac= kaging issue is resolved. > =20 > This configuration are build and tested. > =20 > 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: 0001: *** 0002:do_package_ipk(d) 0003: File: '/home/maxin/poky/meta/classes/package_ipk.bbclass', lineno: 228, fun= ction: do_package_ipk 0224: conffiles.close() 0225: 0226: os.chdir(basedir) 0227: subprocess.check_output("PATH=3D\"%s\" %s %s %s" % (localdata.= getVar("PATH"), *** 0228: d.getVa= r("OPKGBUILDCMD"), pkg, pkgoutdir), shell=3DTrue) 0229: 0230: if d.getVar('IPK_SIGN_PACKAGES') =3D=3D '1': 0231: ipkver =3D "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR')) 0232: ipk_to_sign =3D "%s/%s_%s_%s.ipk" % (pkgoutdir, pkgname, i= pkver, d.getVar('PACKAGE_ARCH')) File: '/usr/lib64/python3.4/subprocess.py', lineno: 620, function: check_ou= tput 0616: process.wait() 0617: raise 0618: retcode =3D process.poll() 0619: if retcode: *** 0620: raise CalledProcessError(retcode, process.args, output= =3Doutput) 0621: return output 0622: 0623: 0624:def list2cmdline(seq): Exception: subprocess.CalledProcessError: Command 'PATH=3D"/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+gitAUT= OINC+b14134583c-r0/recipe-sysroot-native/usr/bin/allarch-poky-linux:/home/m= axin/poky/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14= 134583c-r0/recipe-sysroot/usr/bin/crossscripts:/home/maxin/poky/build/tmp/w= ork/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sys= root-native/usr/sbin:/home/maxin/poky/build/tmp/work/all-poky-linux/linux-f= irmware/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+b1= 4134583c-r0/recipe-sysroot-native/sbin:/home/maxin/poky/build/tmp/work/all-= poky-linux/linux-firmware/1_0.0+gitAUTOINC+b14134583c-r0/recipe-sysroot-nat= ive/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-po= ky-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-firm= ware_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 rer= un and 1 failed. Summary: 1 task failed: /home/maxin/poky/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb:d= o_package_write_ipk > Thanks. > =20 > Regards, >=20 > Wei Tee >=20 >=20 > Chang, Rebecca Swee Fun (1): > linux-firmware: Fix build failure when update SRCREV to latest HEAD >=20 > Ng, Wei Tee (2): > linux-firmware: update to revision a4dde74b > linux-firmware: Set the license for carl9170 to GPLv2 >=20 > .../linux-firmware/linux-firmware_git.bb | 40 ++++++++++++++--= ------ > 1 file changed, 25 insertions(+), 15 deletions(-) >=20 > --=20 > 2.7.4 Best Regards, Maxin