summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb
Commit message (Collapse)AuthorAgeFilesLines
* lsb: update versionKang Kai2012-09-101-17/+17
| | | | | | | | | | | | | | | | | Update package lsb version to be same with current lsb test suit version. Because when install the suit, it warns that need lsb version >= 3.0 at least. Drop the duplicated creating files under /etc/lsb-release.d. Provides directories /etc/opt and /var/opt that they are required by package lsb-dist-checker in lsb test suit. (From OE-Core rev: 973e615ab4ee325ab568f84e001a5724f4b0dd01) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: use ${base_bindir} and ${sysconfdir} instead of /bin and /etcJavier Martinez Canillas2012-08-061-31/+31
| | | | | | | | | | It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 8b94cd639c02bcc653312575592673c36df0ec92) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: use ${sysconfdir} instead of /etc for packagingJavier Martinez Canillas2012-08-061-3/+3
| | | | | | | | | | It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 3fce22d81cc27629c7c3fd4c174b68c8ced468cf) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbtest: use ${bindir} instead of /usr/bin for packagingJavier Martinez Canillas2012-08-061-3/+3
| | | | | | | | | | It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 0a8003a3542d17332488ca715619990b222ceb71) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: use ${bindir} instead of /usr/bin for packagingJavier Martinez Canillas2012-08-061-3/+3
| | | | | | | | | | It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 84fd332ab2f2c512109fc0a080d03533883fa235) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: increase ALTERNATIVE_PRIORITYKang Kai2012-07-091-2/+2
| | | | | | | | | | | | | [YOCTO #2133] Increase ALTERNATIVE_PRIORITY of file functions to be higher than the value in package initscript. Then when lsbinitscripts installed, file functions provided by lsbinitscripts will be used. (From OE-Core rev: 33f9abed7658bd5eae39e987b210651d202e1f4e) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitiscripts: Add glib-2.0 to DEPENDS listSaul Wold2012-07-041-2/+2
| | | | | | | | | | | | | | | | | | | ppp-watch requires it. x86_64-poky-linux-gcc -m64 --sysroot=/intel/poky2/builds/fetch/tmp/sysroots/qemux86-64 -O2 -pipe -g -feliminate-unused-debug-types -Wall -D_GNU_SOURCE `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found ppp-watch.c:78:18: fatal error: glib.h: No such file or directory compilation terminated. make[1]: *** [ppp-watch.o] Error 1 make[1]: Leaving directory `/intel/poky2/builds/fetch/tmp/work/x86_64-poky-linux/lsbinitscripts-9.03-r0/initscripts-9.03/src' (From OE-Core rev: 488610f4a5b7591a989ff1a6137f276a85fd7a85) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: Add the header for functions.patchXiaofeng Yan2012-06-181-0/+3
| | | | | | | | | Add upstream-status and signed-off-by to functions.patch (From OE-Core rev: c44a459dbbcbdddf5488cbc3df03f568f44cff83) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: Missing popt DEPENDSElizabeth Flanagan2012-06-051-0/+1
| | | | | | | | | Missing DEPENDS causes build to fail. (From OE-Core rev: 44634755289ef6f10da5bdd46d45a2ef18626f20) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: Patch file functions for confirming to an lsb imageXiaofeng Yan2012-06-051-0/+11
| | | | | | | | | | | | Add the condition judgment to functions for avoiding to print error information when system start up at first. [YOCTO #2133] (From OE-Core rev: 4b829c42ffaa878537fa2005e4d80324515a5ba8) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: Add initscripts to enhance init functions in an lsb imageXiaofeng Yan2012-06-051-0/+26
| | | | | | | | | | | | | The version of initscripts has more functions than the simple. There could be some errors for current initscripts when running some programe because of absent some functions provided by initscripts. [YOCTO #2133] (From OE-Core rev: ca60a9092e4131d7029c77f2ed7842eea928abe5) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package ↵Richard Purdie2012-04-181-10/+11
| | | | | | | | description (From OE-Core rev: 48ef8dbb0d1bdbc7e0e62665b5112282637f3266) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Add DISTRO Info to /etc/lsb-release file also add util-linux to DEPENDSSaul Wold2012-04-171-0/+5
| | | | | | | | | | | | | Add the DISTRO* fields to the /etc/lsb-release file so the distro parsing code can find standard information about the Poky Distro when using the Self-Hosted Image. The lsb_release command uses getopt which is provided by util-linux (From OE-Core rev: eddb1d6f458bcf8b0473a360fad3f4a259a57d28) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* More quoting fixesRichard Purdie2012-02-281-1/+1
| | | | | | (From OE-Core rev: 749d252475df090d51313cfbbe3f159db9f0566d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbtest: Add recipe for LSB tests and automate testYi Zhao2012-02-284-0/+791
| | | | | | | | | | | | | | | The recipe is used for LSB tests. The script LSB_Test.sh does the following things: - setup LSB testing environment - download LSB rpm packages with list file packages_list from remote - install the packages - execute LSB testing with profile file session - collect the results Install packages_list and session files into ${D}/opt/lsb-test. [YOCTO #1567] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* More quoting fixesMartin Jansa2012-02-262-2/+2
| | | | | | | | | | * We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. (From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* LSB_Setup.sh: Add locale resources and startup script avahi-daemonXiaofeng Yan2012-02-031-21/+29
| | | | | | | | | | | | | | | | | | The purpose of adding locale resources is to resolve bug 1954 because missing locale resources cause many failures. The purpose of adding startup script avahi-daemon is to resolve bug 1907. The detailed description is as follows: No daemon progress "avahi-daemon" when system starting up. Function "gethostbyaddr" will search file "/var/run/avahi-daemon/socket" but there is no this file which is created by avahi-daemon. [YOCTO #1907 #1954] (From OE-Core rev: ce410852b7623379ad6961529e28f643e209749e) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-functions: Add two functionsXiaofeng Yan2012-02-031-0/+7
| | | | | | | | | | | | | | | | Add log_begin_msg() and log_end_msg () in init-functions because some startup scripts need them. if there are not two functions, then error information will arise on screen. for example, $ /etc/init.d/avahi-daemon start /etc/init.d/avahi-daemon: line 161: log_begin_msg: command not found /etc/init.d/avahi-daemon: line 163: log_end_msg: command not found [YOCTO #1907] (From OE-Core rev: 05682408ef7fca6029e48a18b2f660eeec65a4ec) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Change link of ${baselib} to lib64 for 64bits systemXiaofeng Yan2011-10-171-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct two faults: 1 Binaries of lsb test suite need ld-linux.so* in /lib64. for example: Target$ ./lsbcmdchk -sh: ./lsbcmdchk: No such file or directory Target$ strings lsbcmdchk | grep "ld-" /lib64/ld-lsb-x86-64.so.3 "lsbcmdchk" from lsb test suite is a binary program. A new modification to lsb_1.4.bb caused that binaries from lsb test suite can't run because binaries of lsb test suite need ld-linux.so* in /lib64. But the link is changed due to adding multilib. I changed this link again. 2 correct mandir Waring will appear when running task task do_populate_sysroot NOTE: package lsb-1.4-r2: task do_populate_sysroot: Succeeded WARNING: For recipe lsb, the following files were installed but not shipped in any package: WARNING: /{datadir}/man/man1/lsb_release.1.gz I changed mandir=${D}/man to mandir=${D}/${datadir}/man (From OE-Core rev: f2dada2079b5f98e13d4888609368ba111967a60) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Fix hard code libdir issue for multilibMei Lei2011-08-081-9/+9
| | | | | | | (From OE-Core rev: 722aa1eb162b80f57290dd924fd7b41654af3a2b) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilibMei Lei2011-07-201-1/+1
| | | | | | | (From OE-Core rev: 0d03800caffc2341b74190d38f7a372223c89f4c) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-012-2/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: Rename this file and add a link for lsb testXiaofeng Yan2011-05-192-25/+27
| | | | | | | | | | | | | | | | [YOCTO #1079] Rename this file version from 0.9 to 1.0. Link time environment for Hong Kong time for lsb test. (From OE-Core rev: 08b655196605053740de6a426f6d22561b05c802) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Added yocto bugid Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: Add a link for lsb testXiaofeng Yan2011-05-171-2/+4
| | | | | | | | | Link /usr/lib/sendmail to /usr/sbin/sendmail (From OE-Core rev: efd143684b31e8079bec6ac9cf02b14e0f76d56c) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Install init-functions to rpm packageXiaofeng Yan2011-05-171-2/+4
| | | | | | | | | | The script init-functions can't be built into rpm package of lsb. I modify lsb_1.4.bb to add this script to rpm package of lsb. (From OE-Core rev: 8181b1b8923ffa5ddc993a08ed8b870c8328d473) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: recreate locale fr_FRKang Kai2011-05-162-1/+2
| | | | | | | | | | | Update LSB_Setup.sh to recreate locale fr_FR, which helps to pass LSB libstdc++ test. Bump PR to r3. (From OE-Core rev: 00e30eba2f9970ec229f2702a73d6b3fd7d0d1b5) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: Add link for sendmailXiaofeng Yan2011-05-111-0/+1
| | | | | | | | | Link /sbin/sendmail/ to /usr/lib/sendmail (From OE-Core rev: 69bf813c12d1a00c4f3cc329f7b459773ea835b3) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-functions: Conforming applications may install one or more ↵Xiaofeng Yan2011-05-115-0/+116
| | | | | | | | | | | | | | | | initialization scripts LSB Test Suite need init scripts for lsb-image. During the installer's post-install processing phase the program /usr/lib/lsb/install_initd \ must be called to activate the init script. \ When a software package is removed, /usr/lib/lsb/remove_initd \ must be called to deactivate the init script. (From OE-Core rev: 5c846091b034fff21333487df4ada5667eb8e247) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wq!lsb: Add init-functions to lsb-imageXiaofeng Yan2011-05-111-14/+25
| | | | | | | | | init-functions is needed by LSB Test Suite. (From OE-Core rev: 2fd69dbdb44b29116c3dbdab5a63b16ae76f2062) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* LSB_Setup.sh: Add character set to lsb-imageXiaofeng Yan2011-05-041-0/+1
| | | | | | | | | Add character set to lsb-image to solve bugs from lsb test (From OE-Core rev: 9545f9bf7e23d431e9eacec6819fd312910712af) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: add commands install_initd and remove_initdKang Kai2011-05-041-1/+6
| | | | | | | | | | | | Add commands install_initd and remove_initd link to chkconfig, which can handler LSB format init.d scripts. Needed by LSB commands check. Bump PR to r2 Part fixes [Yocto 520] (From OE-Core rev: 5b0b880f9c2ab2fa632cad715f3c4c646bb9301f) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: add some workaround for LSB testsKang Kai2011-04-242-5/+18
| | | | | | | | | | | | Add some workaround for LSB libstdcpp and tcl tests. Recreate locales for libstdcpp test, and resolve localhost is for tcl test [Yocto 898] Bump PR, update LICENSE information and installed file mode (From OE-Core rev: 06d75b1e554791daf7e7cfeebc78d7f240969c97) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: fix lic_files_chksumSaul Wold2011-04-081-1/+1
| | | | | | | | | Fixes [YOCTO #961] (From OE-Core rev: 97514c5811e9e5256bf88e245f4356ebc15a0f5c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* LSB_Setup.sh: Add function to install all test packagesXiaofeng Yan2011-04-061-20/+30
| | | | | | | | | Add function to install all of lsb test suite packages instead of installing parts of test packages (From OE-Core rev: 7bcfbdda6f70bb7dad585091469f54cea89f07b4) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to SOURCEFORGE_MIRRORTom Rini2011-03-231-1/+1
| | | | | | | (From OE-Core rev: c774ecb92062f543857a6843ab8e03c490cf50a4) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: Fix LIC_FILE_CHKSUMSaul Wold2011-03-061-2/+1
| | | | | | | (From OE-Core rev: 85c2417407fd5f9e0c3027fd99c9389e3ce167df) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* LSB_Setup.sh:Install LSB Test Suite and set lsb test environmentXiaofeng Yan2011-03-041-10/+10
| | | | | | | | | Perfect some funtions for lsb test in yocto 1.0 (From OE-Core rev: aa60f178d9f6b4ebdf03bbfcf2b46e94bf4e78d3) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbsetup: add missing directory installSaul Wold2010-12-161-0/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lsbsetup: fix install processSaul Wold2010-12-142-18/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lsbsetup: Set up lsb test environment on target platformXiaofeng Yan2010-12-102-0/+229
| | | | | | | | This is a script which uses for setting up lsb test environment and install packages of lsb test suite [sgw@linux.intel.com: moved the recipe to a more logical location] Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* LSB: Add a new packageXiaofeng Yan2010-11-141-0/+83
This package is needed by lsb test Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>