<?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>7846</bug_id>
          
          <creation_ts>2015-06-04 11:44:23 +0000</creation_ts>
          <short_desc>devshell cannot be kept open across rebuilds</short_desc>
          <delta_ts>2020-11-19 16:04: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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</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>51502</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-04 11:44:23 +0000</bug_when>
    <thetext>I often use devshell to sketch portions of a bbclass function.
This is useful to assess the correctness of the steps before launching a full build round.

The process is iterative: 
1 - try something in devshell
    (ex: bitbake -c devshell sometarget)
2 - modify the function accordingly
3 - test the function
    (ex: bitbake -c clean someothertarget &amp;&amp; bitbake someothertarget)
repeat

However it is not comfortable, because having the devshell running prevents the testing, as bitbake will complain: &quot;ERROR: Only one copy of bitbake should be run against a build directory&quot;.

Workarounds are:
- kill the devsell
- remove the lockfile manually

Would it be possible to allow the devshell to run in parallel to normal builds?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51511</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-04 14:57:40 +0000</bug_when>
    <thetext>Note that we need to allow bitbake to continue for devshell but it should pause for menuconfig.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88630</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-11-19 16:04:59 +0000</bug_when>
    <thetext>Not really a valid use case since the work dir could be removed or modifiied. 
Devshell requires the user to be aware of such limitations.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>