<?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>520</bug_id>
          
          <creation_ts>2010-11-03 20:22:48 +0000</creation_ts>
          <short_desc>LSB: Command Tests</short_desc>
          <delta_ts>2011-05-05 09:30:27 +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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xiaofeng Yan">Xiaofeng.yan</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>jingdong.lu</cc>
    
    <cc>kai.kang</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>10834</commentid>
    <comment_count>0</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2010-11-03 20:22:48 +0000</bug_when>
    <thetext>Some commands tested by lsb test suite are absent in lsb-image. The detailed command names are below:
ed
fc-cache
fc-list
fc-match
install_initd
lp
lpr
mailx
man()
remove_initd
sendmail</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10835</commentid>
    <comment_count>1</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-03 20:32:10 +0000</bug_when>
    <thetext>yocto already has recipes &quot;ed&quot; &quot;man&quot;, the rest are missing. Saul, should we add them into 1.0 pkg upgrade plan?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10836</commentid>
    <comment_count>2</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2010-11-03 21:35:20 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Some commands tested by lsb test suite are absent in lsb-image. The detailed
&gt; command names are below:
&gt; ed
&gt; fc-cache
&gt; fc-list
&gt; fc-match
&gt; install_initd
&gt; lp
&gt; lpr
&gt; mailx
&gt; man()
&gt; remove_initd
&gt; sendmail
ed has been in lsb-imgae and mailx have been gotten by jingdong lu. Command &quot;man&quot; has been in recipes-extended. so other packages can be assigned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10837</commentid>
    <comment_count>3</comment_count>
    <who name="Jingdong Lu">jingdong.lu</who>
    <bug_when>2010-11-03 23:22:19 +0000</bug_when>
    <thetext>fontconfig provides fc-cache, fc-list, fc-match and it has been included in yocto. 
install_initd and remove_initd should be provided by lsb package.eg, ln -snf /sbin/chkconfig /usr/lib/lsb/install_initd.
lp, lpr should be provided by cups. So I think we should add the following packages, just like cups, mailx, sendmail</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10843</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-11-04 09:12:08 +0000</bug_when>
    <thetext>A few quick notes of my own:


&gt; ed

ed we&apos;ll need to add...

&gt; fc-cache
&gt; fc-list
&gt; fc-match

The above are fontconfig files.  We likely have fontconfig as part of some of the graphics components, we&apos;ll just need to enable/add it as part of the LSB configuration.

&gt; install_initd
&gt; remove_initd

These come from the &quot;lsb&quot; package that we, as vendors, are required to provide.  Usually this package provides a couple of small helper scripts as mandated by the LSB, and a large group of RDEPENDS for each run-time application specified by the LSB version.

If we already have an &apos;lsb&apos; package, then it&apos;s a bug in that package, otherwise it&apos;s an enhancement.  (I&apos;ve done some of this work before, so I&apos;ll be happy to take on this work if needed...)

&gt; lp
&gt; lpr

In WR Linux and Fedora -- cups supplies this.. but it can be any program that provides lp and lpr functionality.  We likely want to investigate a smaller provider.  The older &apos;lp&apos; package may be better for an embedded system...  (but cups is more full featured of course)

&gt; mailx
&gt; sendmail

Both mailx and sendmail (program) should be provided by something....

&gt; man

While we may not have man pages, we do need the man program (and related components to make it work...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11943</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-02-22 10:01:48 +0000</bug_when>
    <thetext>This is a tracking bug.. as we get closer to LSB test suite passing additional notes will be added and this will eventually be resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12971</commentid>
    <comment_count>6</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-03-24 20:08:18 +0000</bug_when>
    <thetext>xdg-desktop-icon 
xdg-desktop-menu
xdg-email
xdg-icon-resource
xdg-mime
xdg-open
xdg-screensaver</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12972</commentid>
    <comment_count>7</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-03-24 20:10:01 +0000</bug_when>
    <thetext>We need to add commands above according to lsb test suite 4.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13053</commentid>
    <comment_count>8</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-03-30 02:34:08 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; xdg-desktop-icon 
&gt; xdg-desktop-menu
&gt; xdg-email
&gt; xdg-icon-resource
&gt; xdg-mime
&gt; xdg-open
&gt; xdg-screensaver

I send a pull request to add xdg-utils to fix this, but no response. I just wonder which part of pull request failed to be accepted, or just send it again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13572</commentid>
    <comment_count>9</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-05-04 16:03:11 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5d737849bb79d6f00efb23392312052d2bf4b86b

and

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5cd5efb66f1e6050d00a7f3e3c15f0e9e2fb4bb4

Are there more changes for this bug?  If this is tracking do we need to create other bugs for the individual parts?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13580</commentid>
    <comment_count>10</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-05-04 18:24:09 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5d737849bb79d6f00efb23392312052d2bf4b86b
This is for xdg-utils commands

&gt; 
&gt; and
&gt; 
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5cd5efb66f1e6050d00a7f3e3c15f0e9e2fb4bb4
And this is for install_initd and remove_initd

&gt; 
&gt; Are there more changes for this bug?  If this is tracking do we need to create
&gt; other bugs for the individual parts?
Right now LSB commands check left 4 failures:
foomatic-rip : provided by foomatic-filters
gs : provided by ghostscript
lp 
lpr : these two provided by cups, but add cups into lsb image will failed, I am working on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13600</commentid>
    <comment_count>11</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-05-05 09:30:27 +0000</bug_when>
    <thetext>
Ghostscript:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ca63a0158ae42010477080ad6bb776329f1230b0

Foomatic-filters:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2ebb1fbb14b465924a6fa710fd2d73e5fca18a68

This leaves fixing Cups, let&apos;s file a new bug for CUPS and we mark this one resolved.

There is another bug 904 for CUPS, so I am marking this one resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>