<?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>1019</bug_id>
          
          <creation_ts>2011-05-02 15:29:37 +0000</creation_ts>
          <short_desc>runqemu custom append options do not always work</short_desc>
          <delta_ts>2011-09-06 09:35:12 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Pull request submitted on 2011-09-03</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13529</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-05-02 15:29:37 +0000</bug_when>
    <thetext>Darren demonstrated some issues with the runqemu script when he tried to specify kernel command line options. It appears that the --append options are listed before the default kernel --append options when the qemu utility is run, and there is some overriding behavior going on.

Fixing this may be as simple as moving custom --append options to the end of the qemu command string.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13866</commentid>
    <comment_count>1</comment_count>
      <attachid>159</attachid>
    <who name="Gary Thomas">gary</who>
    <bug_when>2011-05-18 04:58:49 +0000</bug_when>
    <thetext>Created attachment 159
Allows additional kernel command line options to be easily provided

The attached patch is a reasonable fix for this problem by specifying
SCRIPT_KERNEL_OPT=&quot;additional kernel command line options&quot; when the
script is run.

There are already such options for this script such as &quot;SERIAL_LOGFILE&quot;
If you want to use a different name for SCRIPT_KERNEL_OPT, that&apos;s fine,
but please make it easier to specify such kernel options.

Note: a very strong argument for this is a simple ability to suppress
the psplash boot screen (for debugging).  Without this option, one has
to edit the runqemu scripts, just to add &apos;psplash=false&apos; when booting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15999</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-09-03 15:54:03 +0000</bug_when>
    <thetext>It turns out Otavio Salvador fixed this bug by adding the undocumented bootparams option. So I added documention for this option in the usage screen and made use of a similar method for passing custom qemu options. Pull request pending on oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16062</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-09-06 09:35:12 +0000</bug_when>
    <thetext>Fixed in oe-core and poky master:

http://cgit.openembedded.org/cgit.cgi/openembedded-core/commit/?id=1038df14a96d789b3f9e9e1692305ba1fea67886

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fa4555268833ab30e4a4802c3afce119062951b9</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>159</attachid>
            <date>2011-05-18 04:58:49 +0000</date>
            <delta_ts>2011-05-18 04:58:49 +0000</delta_ts>
            <desc>Allows additional kernel command line options to be easily provided</desc>
            <filename>0001-runqemu-allow-kernel-command-line-options-to-be-spec.patch</filename>
            <type>text/plain</type>
            <size>666</size>
            <attacher name="Gary Thomas">gary</attacher>
            
              <data encoding="base64">RnJvbSBlYWViODk0ZjFiZDRiNzY5ZWMwNWMyOGNjYTRlMzFmMzM0MzM5MjYxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBHYXJ5IFRob21hcyA8Z2FyeUBtbGJhc3NvYy5jb20+CkRhdGU6
IE1vbiwgMTYgTWF5IDIwMTEgMDU6Mjk6MjQgLTA2MDAKU3ViamVjdDogW1BBVENIXSBydW5xZW11
OiBhbGxvdyBrZXJuZWwgY29tbWFuZCBsaW5lIG9wdGlvbnMgdG8gYmUgc3BlY2lmaWVkIGJ5IHVz
ZXIKClNpZ25lZC1vZmYtYnk6IEdhcnkgVGhvbWFzIDxnYXJ5QG1sYmFzc29jLmNvbT4KLS0tCiBz
Y3JpcHRzL3J1bnFlbXUgfCAgICAyICstCiAxIGZpbGVzIGNoYW5nZWQsIDEgaW5zZXJ0aW9ucygr
KSwgMSBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9zY3JpcHRzL3J1bnFlbXUgYi9zY3JpcHRz
L3J1bnFlbXUKaW5kZXggYTA5MzYyYy4uMmMzZjZmNCAxMDA3NTUKLS0tIGEvc2NyaXB0cy9ydW5x
ZW11CisrKyBiL3NjcmlwdHMvcnVucWVtdQpAQCAtNTEsNyArNTEsNyBAQCBST09URlM9IiIKIExB
WllfUk9PVEZTPSIiCiBTQ1JJUFRfUUVNVV9PUFQ9IiIKIFNDUklQVF9RRU1VX0VYVFJBX09QVD0i
IgotU0NSSVBUX0tFUk5FTF9PUFQ9IiIKK1NDUklQVF9LRVJORUxfT1BUPSR7U0NSSVBUX0tFUk5F
TF9PUFQ6LSIifQogCiBUTVBESVI9IiIKIAotLSAKMS43LjMuNAoK
</data>

          </attachment>
      

    </bug>

</bugzilla>