| Summary: | LSB: Command Tests | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Xiaofeng Yan <Xiaofeng.yan> |
| Component: | meta-yocto | Assignee: | Mark Hatle <mark.hatle> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jingdong.lu, kai.kang, ke.yu, kevin.tian, mark.hatle, poky.bs.watcher, poky.watcher, richard.purdie, sgw |
| Version: | 1.0 | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Xiaofeng Yan
2010-11-03 20:22:48 UTC
yocto already has recipes "ed" "man", the rest are missing. Saul, should we add them into 1.0 pkg upgrade plan? (In reply to comment #0) > 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 ed has been in lsb-imgae and mailx have been gotten by jingdong lu. Command "man" has been in recipes-extended. so other packages can be assigned. 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 A few quick notes of my own: > ed ed we'll need to add... > fc-cache > fc-list > fc-match The above are fontconfig files. We likely have fontconfig as part of some of the graphics components, we'll just need to enable/add it as part of the LSB configuration. > install_initd > remove_initd These come from the "lsb" 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 'lsb' package, then it's a bug in that package, otherwise it's an enhancement. (I've done some of this work before, so I'll be happy to take on this work if needed...) > lp > 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 'lp' package may be better for an embedded system... (but cups is more full featured of course) > mailx > sendmail Both mailx and sendmail (program) should be provided by something.... > man While we may not have man pages, we do need the man program (and related components to make it work...) 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. xdg-desktop-icon xdg-desktop-menu xdg-email xdg-icon-resource xdg-mime xdg-open xdg-screensaver We need to add commands above according to lsb test suite 4.1 (In reply to comment #6) > xdg-desktop-icon > xdg-desktop-menu > xdg-email > xdg-icon-resource > xdg-mime > xdg-open > 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. 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? (In reply to comment #9) > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5d737849bb79d6f00efb23392312052d2bf4b86b This is for xdg-utils commands > > and > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5cd5efb66f1e6050d00a7f3e3c15f0e9e2fb4bb4 And this is for install_initd and remove_initd > > Are there more changes for this bug? If this is tracking do we need to create > 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. 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'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. |