<?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>7112</bug_id>
          
          <creation_ts>2015-01-05 21:42:44 +0000</creation_ts>
          <short_desc>[[: not found (using dash)</short_desc>
          <delta_ts>2015-04-10 17:21:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-configuration</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>TC needed - try to build an image with something else than bash</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.8 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vincent Génieux">vincent2014</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <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>47737</commentid>
    <comment_count>0</comment_count>
      <attachid>2311</attachid>
    <who name="Vincent Génieux">vincent2014</who>
    <bug_when>2015-01-05 21:42:44 +0000</bug_when>
    <thetext>Created attachment 2311
proposed patch

By configuring yocto with a custom kernel (using directly the kernel.bbclass), bitbake failed on the do_strip command with this error message :

[[: not found

Replace the &apos;[[ ]]&apos; by &apos;[ ]&apos; in the kernel.bb:do_strip function solve the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47807</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2015-01-08 15:50:24 +0000</bug_when>
    <thetext>Vincent, thanks for catching this. Have you sent your patch to the mailing list? That is where the review will take place. This one should go to the oe-core mailing list, and be sure to Cc Bruce Ashfield and myself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47808</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-01-08 15:53:15 +0000</bug_when>
    <thetext>I&apos;ve confirmed that the patch works here, and doesn&apos;t break any of the build machines
that I use (it was unlikely, but we have to be sure).

I can either complete the patch, or it goes to the list from Vincent .. either works for me.

I just have a stack of other patches and issues to work through first, before I send it as
part of my queue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47811</commentid>
    <comment_count>3</comment_count>
    <who name="Vincent Génieux">vincent2014</who>
    <bug_when>2015-01-08 16:00:54 +0000</bug_when>
    <thetext>
no, sorry, I did not submit (yet) the patch to the mailing list.
do you want me to send it ?

thanks to you guys, yocto seems to be a nice framework.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47813</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2015-01-08 16:23:55 +0000</bug_when>
    <thetext>Hi Vincent. Yes, please do. Be sure to check out the contribution guidelines if this is your first patch and follow the patch submission process.

http://openembedded.org/wiki/Commit_Patch_Message_Guidelines</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47857</commentid>
    <comment_count>5</comment_count>
    <who name="Vincent Génieux">vincent2014</who>
    <bug_when>2015-01-12 13:45:02 +0000</bug_when>
    <thetext>Message sent on yocto ML (hope everything is okay).

Note, this issue is almost the same than this one : 

http://patchwork.openembedded.org/patch/84905/

and the fix is almost the same as well :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48448</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-01-30 16:42:30 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=98396382384c44f482ac3a02fc36918d1b4cf1ed

Patch merged</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50250</commentid>
    <comment_count>7</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-04-10 17:20:32 +0000</bug_when>
    <thetext>Hello,

Just checked with latest poky hash: 7fb6a6e907e5803597b2e12ba7047c46e57dba26 on Ubuntu 14.10

Steps performed to verify this bug:

1)set default shell in /etc/passwd from bash to dash
2) built a core-image-minimal. 

Everything was fine. Marking bug as verified.

Costin</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>2311</attachid>
            <date>2015-01-05 21:42:44 +0000</date>
            <delta_ts>2015-01-05 21:42:44 +0000</delta_ts>
            <desc>proposed patch</desc>
            <filename>dash_invalid_test.patch</filename>
            <type>text/plain</type>
            <size>416</size>
            <attacher name="Vincent Génieux">vincent2014</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvY2xhc3Nlcy9rZXJuZWwuYmJjbGFzcyBiL21ldGEvY2xhc3Nlcy9r
ZXJuZWwuYmJjbGFzcwppbmRleCA3MGVkOTViLi4yYTZlYzM0IDEwMDY0NAotLS0gYS9tZXRhL2Ns
YXNzZXMva2VybmVsLmJiY2xhc3MKKysrIGIvbWV0YS9jbGFzc2VzL2tlcm5lbC5iYmNsYXNzCkBA
IC00MDMsNyArNDAzLDcgQEAgZG9fc3RyaXAoKSB7CiAJCQkgIGdhd2sgJ3twcmludCAkMX0nYAog
CiAJCWZvciBzdHIgaW4gJHtLRVJORUxfSU1BR0VfU1RSSVBfRVhUUkFfU0VDVElPTlN9OyBkbyB7
Ci0JCQlpZiBbWyAiJGhlYWRlcnMiICE9ICoiJHN0ciIqIF1dOyB0aGVuCisJCQlpZiBbICIkaGVh
ZGVycyIgIT0gKiIkc3RyIiogXTsgdGhlbgogCQkJCWJid2FybiAiU2VjdGlvbiBub3QgZm91bmQ6
ICRzdHIiOwogCQkJZmkKIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>