<?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>9899</bug_id>
          
          <creation_ts>2016-07-08 16:24:01 +0000</creation_ts>
          <short_desc>Add REMOVE_PKG_SUPPORT to variable reference</short_desc>
          <delta_ts>2016-09-01 21:51:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>2.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>01 Sept 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          <dependson>9491</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephano Cetola">stephano</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
    
    <cc>stephano</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63759</commentid>
    <comment_count>0</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-07-08 16:24:01 +0000</bug_when>
    <thetext>We will need to add a new variable to the list for an added feature:

REMOVE_PKG_SUPPORT

For images not containing a package manager, this allows the removal of supporting packages. Packages that will be uninstalled include: update-rc.d, base-passwd, shadow and update-alternatives.

Set the variable to &quot;1&quot; to remove these packages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63760</commentid>
    <comment_count>1</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-07-08 16:33:59 +0000</bug_when>
    <thetext>Sorry, I missed one package from that list. The list should be:

update-rc.d, base-passwd, shadow, run-postinsts, and update-alternatives.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63863</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-12 19:33:18 +0000</bug_when>
    <thetext>Hi, 

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-REMOVE_PKG_SUPPORT for the new entry in the glossary.  Let me know if this is okay. 

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63882</commentid>
    <comment_count>3</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-07-12 21:03:18 +0000</bug_when>
    <thetext>Looks great!  Thanks Scott.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63885</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-12 21:14:23 +0000</bug_when>
    <thetext>Thanks Stephano, 

Bug 9491 is blocking this so I won&apos;t change the status at this point.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63892</commentid>
    <comment_count>5</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-07-12 23:05:34 +0000</bug_when>
    <thetext>Hey Scott,

Actually, do hold off on this. I just had a meeting regarding 9491 and we&apos;re going to be changing the name and probably the text of this as well.

I&apos;ll send over the changes when they are ready.

Stephano</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64235</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-20 13:48:12 +0000</bug_when>
    <thetext>Scott - can you revert this commit (95b740d719a7a6ffe3a06a1f152af4d877ee08c7) so the documentation doesn&apos;t talk about variables that don&apos;t exist?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64289</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-21 18:15:57 +0000</bug_when>
    <thetext>Ross, 

Sorry about that... I jumped the gun on this one.  I will revert it.  See http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=094ea24b03f92594e6e5d145b58c49ef5d8edfd7.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65561</commentid>
    <comment_count>8</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-08-26 16:12:50 +0000</bug_when>
    <thetext>This is ready to go now. The variable name / description is as follows:

FORCE_RO_REMOVE
Setting this variable to &quot;1&quot; will force the removal of the packages listed in ROOTFS_RO_UNNEEDED during the generation of the rootfs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65721</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-01 20:03:27 +0000</bug_when>
    <thetext>Hi, 

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-FORCE_RO_REMOVE for the new variable description.  

Note that this variable description introduces the ROOTFS_RO_UNNEEDED variable, which is not in the manual.  Do we want to document that variable as well in the glossary?  If so, can you provide a baseline description of it for me?  If you provide a description, could you also provide a use-case example that I could use in the entry?

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65723</commentid>
    <comment_count>10</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-09-01 21:01:20 +0000</bug_when>
    <thetext>ROOTFS_RO_UNNEEDED cannot be easily overwritten by the end user and we don&apos;t want to give them the impression that it is something they should be editing if they want to remove packages. That could be both dangerous and confusing. Also since the contents of that list can change with each new release, it would be a pain to have to keep that up to date.

I say leave it out of the manual and see if anyone complains. I doubt they will.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65727</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-01 21:30:19 +0000</bug_when>
    <thetext>Perfect.. thanks.

How does the description look to you otherwise?

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65728</commentid>
    <comment_count>12</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-09-01 21:33:21 +0000</bug_when>
    <thetext>Yep, looks perfect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65734</commentid>
    <comment_count>13</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-01 21:51:54 +0000</bug_when>
    <thetext>Thanks, 

I am setting the bug to RESOLVED and putting the doc flag to &quot;done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>