<?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>7722</bug_id>
          
          <creation_ts>2015-05-06 09:56:43 +0000</creation_ts>
          <short_desc>distutils.bbclass: regenerate pyc files when py files changed by sed</short_desc>
          <delta_ts>2015-06-23 15:52:11 +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>configuration</component>
          <version>1.5.5</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thomas Roos">roosesweb</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>alejandro.hernandez</cc>
    
    <cc>jose.a.lamego</cc>
    
    <cc>sgw</cc>
          
          
          <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>50816</commentid>
    <comment_count>0</comment_count>
      <attachid>2491</attachid>
    <who name="Thomas Roos">roosesweb</who>
    <bug_when>2015-05-06 09:56:43 +0000</bug_when>
    <thetext>Created attachment 2491
patch

py files are edited by sed and therefore *.pyc recreated on first boot, but if you have an ro system this is not possible. This patch creates pyc files directly after the py files are changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50853</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-05-07 15:04:32 +0000</bug_when>
    <thetext>Please verify the patch and formatting</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51884</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2015-06-23 15:52:11 +0000</bug_when>
    <thetext>Fixed here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4caed87a38e8c5afef679a90fb7f74f26ece2043</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2491</attachid>
            <date>2015-05-06 09:56:43 +0000</date>
            <delta_ts>2015-05-06 09:56:43 +0000</delta_ts>
            <desc>patch</desc>
            <filename>file_7722.txt</filename>
            <type>text/plain</type>
            <size>984</size>
            <attacher name="Thomas Roos">roosesweb</attacher>
            
              <data encoding="base64">LS0tDQogbWV0YS9jbGFzc2VzL2Rpc3R1dGlscy5iYmNsYXNzIHwgNCArKy0tDQogMSBmaWxlIGNo
YW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL21l
dGEvY2xhc3Nlcy9kaXN0dXRpbHMuYmJjbGFzcyBiL21ldGEvY2xhc3Nlcy9kaXN0dXRpbHMuYmJj
bGFzcw0KaW5kZXggNmVkN2VjYy4uYzY5NjNlZSAxMDA2NDQNCi0tLSBhL21ldGEvY2xhc3Nlcy9k
aXN0dXRpbHMuYmJjbGFzcw0KKysrIGIvbWV0YS9jbGFzc2VzL2Rpc3R1dGlscy5iYmNsYXNzDQog
PGF0PiAgPGF0PiAgLTQyLDggKzQyLDggIDxhdD4gIDxhdD4gIGRpc3R1dGlsc19kb19pbnN0YWxs
KCkgew0KICAgICAgICAgYmJmYXRhbCAiJHtQWVRIT05fUE59IHNldHVwLnB5IGluc3RhbGwgZXhl
Y3V0aW9uIGZhaWxlZC4iDQoNCiAgICAgICAgICMgc3VwcG9ydCBmaWxlbmFtZXMgd2l0aCAqc3Bh
Y2VzKg0KLSAgICAgICAgIyBvbmx5IG1vZGlmeSBmaWxlIGlmIGl0IGNvbnRhaW5zIHBhdGggdG8g
YXZvaWQgcmVjb21waWxhdGlvbg0Kb24gdGhlIHRhcmdldA0KLSAgICAgICAgZmluZCAke0R9IC1u
YW1lICIqLnB5IiAtZXhlYyBncmVwIC1xICR7RH0ge30gXDsgLWV4ZWMgc2VkIC1pDQotZSBzOiR7
RH06Omcge30gXDsNCisgICAgICAgICMgb25seSBtb2RpZnkgZmlsZSBpZiBpdCBjb250YWlucyBw
YXRoIGFuZCByZWNvbXBpbGUgaXQNCisgICAgICAgICAgICAgICAgZmluZCAke0R9IC1uYW1lICIq
LnB5IiAtZXhlYyBncmVwIC1xICR7RH0ge30gXDsgLWV4ZWMNCnNlZCAtaSAtZSBzOiR7RH06Omcg
e30gXDsgLWV4ZWMNCiR7U1RBR0lOR19CSU5ESVJfTkFUSVZFfS9weXRob24tbmF0aXZlL3B5dGhv
biAtbWNvbXBpbGVhbGwge30gXDsNCg0KICAgICAgICAgaWYgdGVzdCAtZSAke0R9JHtiaW5kaXJ9
IDsgdGhlbg0KICAgICAgICAgICAgIGZvciBpIGluICR7RH0ke2JpbmRpcn0vKiA7IGRvIFwNCi0t
IA0KMS45LjENCi0tIA0K
</data>

          </attachment>
      

    </bug>

</bugzilla>