<?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>7831</bug_id>
          
          <creation_ts>2015-06-01 12:19:40 +0000</creation_ts>
          <short_desc>The generation of the hddimg file creates a partition, rather than a real image</short_desc>
          <delta_ts>2015-06-08 08:23:10 +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>Other YP Layers</product>
          <component>layers</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>alexander.kanevskiy</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51378</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-01 12:19:40 +0000</bug_when>
    <thetext>The recipe that claims to create an hdd image is actually just creating a partition. This can be easily confirmed by trying to loop mount the file.
There is no partition table whatsoever.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51512</commentid>
    <comment_count>1</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-04 16:03:15 +0000</bug_when>
    <thetext>Btw, I&apos;m not fully sure of this, but it really looks like there is not way, currently, of building an efi image that has more than one partition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51515</commentid>
    <comment_count>2</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-04 18:21:49 +0000</bug_when>
    <thetext>My current workaround is to use bitbake to build the individual partitions and then use (as root) a template I made manually with gdisk that has the correct GTP, loop mount it and dd the partitions into it.

But it&apos;s a hack and works only as long as I have one single target architecture.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51540</commentid>
    <comment_count>3</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-06-08 07:56:33 +0000</bug_when>
    <thetext>I&apos;m not sure I understood the purpose of this bug. Yes, bitbake creates non-partitioned bootable images.

I thought we&apos;ve agreed on direction - to to call wic from bitbake to produce partitioned images. Here is a bug about it: #7672

Please, elaborate, what do would you like to be done for this bug and how that is different from what should be done for #7672.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51541</commentid>
    <comment_count>4</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-08 08:05:55 +0000</bug_when>
    <thetext>I see #7672 as a request for enhancement.

In this case - but I might be wrong - I think the image should contain a partition table.

I cannot recall ever seeing a disk image without a partition table.
So to me it seemed formally incorrect to not provide a partition table.

The fact that it can boot anyway might indicate otherwise.

If I&apos;m mistaken, please close the bug as invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51542</commentid>
    <comment_count>5</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-06-08 08:23:10 +0000</bug_when>
    <thetext>OK, now I understand that you&apos;re questioning the whole idea of the image without partition table. It&apos;s not very common, but it&apos;s definitely valid method. You can read about pros and cons of it here for example: http://unix.stackexchange.com/questions/14010/the-merits-of-a-partitionless-filesystem</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>