<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6772</bug_id>
          
          <creation_ts>2014-09-29 06:27:39 +0000</creation_ts>
          <short_desc>license.manifest does not include u-boot</short_desc>
          <delta_ts>2016-11-28 15:06:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>deployment</component>
          <version>1.6.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45921</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2014-09-29 06:27:39 +0000</bug_when>
    <thetext>Setting the following in local.conf does not include u-boot in /usr/share/common-licenses/license.manifest:
COPY_LIC_DIRS = &quot;1&quot;
COPY_LIC_MANIFEST = &quot;1&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45930</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-09-29 10:32:49 +0000</bug_when>
    <thetext>Isn&apos;t this expected since u-boot isn&apos;t actually contained in the image?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45932</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2014-09-29 11:21:08 +0000</bug_when>
    <thetext>For Raspberry Pi SD card images, the image contains u-boot:
https://github.com/djwillis/meta-raspberrypi/blob/master/classes/sdcard_image-rpi.bbclass</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46039</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-10-02 15:04:18 +0000</bug_when>
    <thetext>So Beth and I have discussed bootloaders not showing up in the manifest before, but perhaps what sdcard_image-rpi.bbclass does is a &quot;new&quot; wrinkle (although it might be generalised to any image where a certain IMAGE_FSTYPES type might cause the final image file to contain files produced by an additional recipe - syslinux within hddimg image files springs to mind).

I do agree we need to address this; but I also think it needs to be done in a way that isn&apos;t simply adding all recipes in EXTRA_IMAGEDEPENDS to the end of the manifest; there needs to be some kind of marking that indicates what has actually happened.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52797</commentid>
    <comment_count>4</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-08-03 20:08:19 +0000</bug_when>
    <thetext>Sent patch for review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53788</commentid>
    <comment_count>5</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-09-07 13:59:49 +0000</bug_when>
    <thetext>Every BSP layer has its own methods to build the bootloader or other packages that are deployed in the image. For example, rpi uses IMAGE_DEPENDS, qemux86 uses the dependencies in bootimage class, fsl uses a custom class to add u-boot.

So discussing this with Paul, he recommended to check for the dependencies in rootfs and bootimage and check what packages are deployed (using SSTATE_MANIFESTS) and include those in the manifest for the image file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54487</commentid>
    <comment_count>6</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-09-22 19:52:38 +0000</bug_when>
    <thetext>Change to 2.0 milestone</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56940</commentid>
    <comment_count>7</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-12-02 14:09:36 +0000</bug_when>
    <thetext>This bug has been solved with:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1a210e6374b2e8140373fcb715b19d1d8c6b4b3e

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8b1e7bcef2126b0b7f8070c277d04e3b22c5b961

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d45e10e1cf872e86925df33731fc5b03cf97064c

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cc0d0441094115debe823a81c7c0bca3184f0551

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=efdab526245e512d9163758fadb971e0aee86710

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d95df11131b60933ce82b7ac96fd2dc2ebc5e1f6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59333</commentid>
    <comment_count>8</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-02-22 15:17:51 +0000</bug_when>
    <thetext>Verified on master:

Build Configuration:
BB_VERSION        = &quot;1.29.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-14.04&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;raspberrypi2&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.0+snapshot-20160222&quot;
TUNE_FEATURES     = &quot;arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7&quot;
TARGET_FPU        = &quot;hard&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;master:36b43b233c841b3c09fc17e04686b4b758780963&quot;
meta-raspberrypi  = &quot;master:6314f668fa14473463bb777ffaf778333fea16eb&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68613</commentid>
    <comment_count>9</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2016-11-26 02:42:02 +0000</bug_when>
    <thetext>This isn&apos;t solved because the manifest files in /usr/share/common-licenses on the rootfs still don&apos;t include u-boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68625</commentid>
    <comment_count>10</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-11-28 15:06:59 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; This isn&apos;t solved because the manifest files in /usr/share/common-licenses
&gt; on the rootfs still don&apos;t include u-boot.

It was solved but is not working because of a change. You can check the new bug 10733, why is not working.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>