aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb
AgeCommit message (Collapse)Author
2015-12-08package_regex.inc: split sourceforge related entries to their own recipesAlexander Kanavin
(From OE-Core rev: 4c5899fa0b8258f2754e3080dae5535e3b248e91) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01lsb: fix installed-vs-shipped for mipsRobert Yang
Fixed: lsb-4.1: lsb: Files/directories were installed but not shipped in any package: /lib32 Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. lsb: 1 installed and not shipped files. [installed-vs-shipped] (From OE-Core rev: 614398f106089f1aae58870286f50717ac03c662) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01lsb: add lsbinitscripts and util-linux rdependsAlex Franco
Building a base image such as core-image-minimal with lsb and then attempting to source /lib/lsb/init-functions, then using the start _daemon function (to start a daemon, such as syslogd) fails, since /lib/lsb/init-functions use functions (incl. "daemon()") from file /etc/init.d/functions.lsbinitscripts, which is provided by package lsbinitscripts. Running daemon() then calls /usr/bin/mountpoint, which is provided by util-linux. So, lsbinitscripts has been added as an RDEPENDency in lsb, and in turn util-linux has been added to lsbinitscripts. [YOCTO #7732] (From OE-Core rev: 4b1d302c60f07a39f1276a94d8c9bb34134186a3) Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-24lsbinitscripts: Upgrade 9.63 -> 9.64Jussi Kukkonen
(From OE-Core rev: 1213fda2944a4c4e08f70bd2f08f9f78a50a18d9) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-31lsbtest: sync test suite packages versionLucian Musat
Sync file packages_list with upstream test suite packages version. (From OE-Core rev: ef75245ab5d4a668c6242d4fddaec20b5fa107ec) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-08lsbinitscripts: avoid exit 1 in functions scriptChen Qi
If 'rc.debug' is not in kernel parameters, the functions script would exit 1 which causes other init scripts that source it exit 1. This is not what we want. [YOCTO #7948] (From OE-Core rev: 080a7fbd876274410107732f175037fcea4d53ca) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-08lsb: update i586 TARGET_ARCH tests to also handle i686Andre McCurdy
(From OE-Core rev: aad17a479f1047197ab6e2010226da054fb53ddb) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-20libinitscripts: Upgrade to 9.63Saul Wold
(From OE-Core rev: ceb77cfaee7789fdff07aaa08ab89de9d4b3e513) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-19lsb: provide lsb-core-ARCHDmitry Eremin-Solenikov
Some lsb packages depend on correct lsb-core-ARCH package being installed (or rather provided) on the target file system. Provide this package name by main lsb package. (From OE-Core rev: 981109b7388dcd0de9fd2e9cdfe2a920b9f8facb) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20lsb: fix installed-vs-shipped when build with multilibRobert Yang
The init-functions had been installed to /lib/lsb/init-functions according to lsb spec, then there is an installed-vs-shipped issue when build with multilib: ERROR: QA Issue: lsb: Files/directories were installed but not shipped /lib /lib/lsb /lib/lsb/init-functions [installed-vs-shipped] Fix the issue and indent. (From OE-Core rev: d1fc46a2b034a9dbe58d01920ad3ef4ad5131029) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-16lsb: update init-functions and remove sendmailKai Kang
According to LSB specification Ref1, LSB checks file /lib/lsb/init-functions. But for 64 bits system it is installed in /lib64. Install init-functions to /lib/lsb to conform with LSB specification. Link file /usr/lib/sendmail which points to /usr/sbin/sendmail is required by LSB according to Linux FHS[Ref 2]. But it should be done by packages which provides command sendmail such as msmtp, postfix and esmtp etc. Refs: 1 http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html 2 http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS13 (From OE-Core rev: e1b837ab1e1d48b73217c4f62a0f5aefc998d8bf) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08lsbinitscripts: Upgrade to 9.61Saul Wold
(From OE-Core rev: c603e720c865e0ff8391990ad6751bce74ab835f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-03lsbinitscripts: fix the path for mountpointJackie Huang
mountpoint is installed in ${bindir} (From OE-Core rev: e1a3c6e218779e2237c494e58209c06b871c47c4) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-07lsbinitscripts: Upgrade to 9.60Saul Wold
(From OE-Core rev: ec9629321a4501d832f776a04a89dea55359f337) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-25lsb: remove sendmail from sysrootRobert Yang
The sysroot/${libdir}/sendmail conflicts with esmtp's, and it's a symlink to ${sbindir}/sendmail which is meaningless for sysroot, so remove it. (From OE-Core rev: 9e906f4260d9ce44a78cc315930677b3bd0ab9c1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20lsb: update RDEPENDS for broken-out util-linux-getoptRichard Tollerton
lsb currently depends on util-linux solely for getopt, but that has now been broken out into util-linux-getopt. Update RDEPENDS accordingly. (From OE-Core rev: a9a588ec3dcb62f5b61c64371b19ebd3ac9bc80c) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Acked-by: Ken Sharp <ken.sharp@ni.com> Acked-by: Ben Shelton <ben.shelton@ni.com Acked-by: Brad Mouring <brad.mouring@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09lsbinitscripts: Upgrade to 9.56.1Saul Wold
(From OE-Core rev: 2faa41bcb5cf719fff59178a1223c7fd77ae1369) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09base: Improve makefile clean handling, introduce CLEANBROKEN variableRichard Purdie
It turns out we have quite a number of Makefiles out there without a clean target. Rather than have all cases code an empty do_configure, add a CLEANBROKEN variable which when set to "1" will disable the attempt to "make clean". This patch also adjusts various recipes which either have this problem fixed, or have been reported to have make clean failures. (From OE-Core rev: 45b7d3add14eafc25da62bab68d4ae133f8dcb57) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-28lsbtest: no bashism in LSB_Test.shRobert Yang
So use /bin/sh (From OE-Core rev: 895ff60e5029e1b7f2f2c8b9a01eed900fe1fe00) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-02lsbinitscripts: Upgrade to 9.55Saul Wold
(From OE-Core rev: e8b36c724b1f732a93745c91c85997789897214c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30lsbinitscripts: Update to 9.54Saul Wold
(From OE-Core rev: 80a7ca6e986a77df69f90601195c10aad640e9ab) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24lsbinitscripts: update to 9.53Saul Wold
(From OE-Core rev: 96c8ef95c9e491485c33bb89f2edc67d63b0a0b5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-27lsb: fix lsb_log_msg() implementationCristian Iorga
LSB lsb_log_message calls a begin() function that should be implemented in /etc/init.d/functions. The aforementioned script does not implement the begin() function, as such there is a small issue related to logging. This fix implements a local version of the function, while cleaning up the troublesome previous implementation. Fix [YOCTO #5795] (From OE-Core rev: 365ab9118b6c68aedb2e79129202b385329a8abb) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-11lsbtest: fix comparison bashismStefan Stanacar
== is a bashism use = instead. (From OE-Core rev: c90d1047c41148cbd57f26b5a34563346602a71b) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28lsbinitscripts: Update to 9.52Saul Wold
(From OE-Core rev: 70b5976748206ef7f5cfc3583bd979c01611dab7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18lsbtest: add ppc64 supportKai Kang
LSB supports to test on PPC64 target, so update lsbtest recipe and test scripts to enable PPC64 support. (From OE-Core rev: 59905859064d4c7a09e04115daa4a93939a6dafc) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18LSB_Test.sh: update localesKai Kang
Add missing localedef statements to the LSB_Test.sh which are required by the libstdc++ LSB test. (From OE-Core rev: 827fc325f0462b93f360b31ac27ef15491034da3) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18LSB_Test.sh: check ldconfig before update cacheKai Kang
LSB_Test.sh run ldconfig to update library cache. If command ldconfig doesn't exists, test will fail. Check whether ldconfig exists. If not, don't update library cache. (From OE-Core rev: e3e5ebd6d05263bd7878537df93e9f1572f1172a) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18LSB_Test.sh: update rpm platform file when enable multilibKai Kang
When enable multilib for x86_64, lsb rpm packages for archs x86_64 and i486 will be installed. But i486 target packages fail to be installed that no such pattern in rpm platform file. Update platform file to enable install i486 rpm packages as well. (From OE-Core rev: 02d3233b57cda03dfef08983c7f9a03285444c83) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18lsb: update directory of install_initd and remove_initdKai Kang
According to LSB specification: http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/installinitd.html http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/removeinitd.html commands install_initd and remove_initd should under directory /usr/lib/lsb/. lsb recipe creates these commands under directory ${libdir} which may expand to /usr/lib64 when multilib is enabled on qemux86-64. That will cause LSB command check for install_initd and remove_initd fail. So correct it. (From OE-Core rev: f9c37768caf7edf9343f76f16fa5fd4e7cd772c1) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-30lsb: de-bash scripts to remove bash dependencyChen Qi
De-bash some script in lsb to make it not dependent on bash. [YOCTO #5555] (From OE-Core rev: 5ba55f9936d1f036518a1722f9c1e551477e167c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30lsb: add begin function to lsb_log_messagePaul Barrette
Some init scripts call a "begin" action to log early init phase messages, e.g. openvswitch-controller. Add the "begin" function to lsb_log_message. (From OE-Core rev: c956290902afd0e4f6d8f545dfe0a55796deec5e) Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14lsbinitscripts: Update to 9.50Saul Wold
(From OE-Core rev: 06af5c562251f3b7c6dff2436095222dfac9300c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-14LSB Command Check: fix install_initd and remove_initd not foundHongxu Jia
The install_initd and remove_initd are linked to /sbin/chkconfig for lsb core test, but chkconfig has been moved from /sbin to /usr/sbin in order to fix QA warning about unsafe references in binaries. (In commit e486242db83297701803866bea971a2f1a1135fe) Let install_initd and remove_initd link to /usr/sbin/chkconfig could fix this issue. [YOCTO #5152] (From OE-Core rev: 789c4c13c5095a2865d1ee1b242141b5b076bed5) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-29LSB_Test.sh: add -f option for curlYi Zhao
In normal cases when a HTTP server fails to deliver a file, it returns an HTML document to describe the reason (e.g. 404 Not Found). The curl will output this page as a file and do not return error. Add a "-f" option will prevent curl from outputting that and return error. [YOCTO #4895] (From OE-Core rev: d53c9e6942a65f2ae5eb8f33012453c356fd6ff4) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-29lsbinitscripts: remove x permission on functionsHongxu Jia
It doesn't need to set x permission for this file (From OE-Core rev: 8c6864f4884387306efff8c513efff1ccb0e2027) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-16initscripts: Update to 9.48Saul Wold
(From OE-Core rev: b089dfd983e427c805e8dec33630d853ca3ca742) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28lsbtest: sync test suite packages versionHongxu Jia
Update file packages_list after sync test suite packages version with upstream. Check date: Jun 25, 2013 (From OE-Core rev: 8695a11c927e9ee130b8c9ddf6441f3cb7164fc2) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13lsbinitscripts: Update to 9.47Saul Wold
(From OE-Core rev: 15644f3fae1525c8847a17deed0e681df8d92b8d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29lsbinitscripts: Update to 9.46Saul Wold
(From OE-Core rev: 047c55735347051b858dd6e471493bd0780840b9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02lsb: distro codename info addedCristian Iorga
Poky distro codename info added to /etc/lsb-release file. lsb_release script will not complain anymore about the incompleteness of /etc/lsb-release file by returning an error code. Increases LSB compliance. Partial fix for [YOCTO #4071]. (From OE-Core rev: ddd43fcdb8af7d5b1a64d2c6cbd72a3896869321) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18lsbinitscripts: Update to 9.45Saul Wold
(From OE-Core rev: 07c184f444454fe53be74905d4a56ea7aad2377d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28lsbinitscripts: Update to 9.44Saul Wold
(From OE-Core rev: 910d37ae5a42c1a4e696cfde48ba9b209d8c3a78) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28lsbtest: sync test suite packages versionKang Kai
Update file packages_list after sync test suite packages version with upstream. Check date: Feb 20, 2103 Bump up PR. (From OE-Core rev: f43ba5e41ac5c1fe9d6e66fa1a1f8a51f9cd289c) 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>
2012-12-19lsbinitscripts: Don't compileSaul Wold
Only functions macros is installed, so no need to configure or compile [YOCTO #3584] (From OE-Core rev: fff3164c4b6a8c4ffa07bc6a26162c9e99c2531e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-19lsbinitscripts: update to 9.43Saul Wold
(From OE-Core rev: a4a82b2ad55e2671cd1068727058754fe417f4f0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-24lsbsetup: drop itKang Kai
lsbsetup provides script LSB_Setup.sh to setup LSB test on image. But script LSB_Test.sh provided by lsbtest replaces its function now. So drop lsbsetup. lsbsetup links /etc/localtime to HongKong zoneinfo file to make LSB wcsftime test case pass(Yocto 1079). But the test case PASS without this link, so remove the link. Other 2 links are moved to packages lsb. [Yocto 3278] (From OE-Core rev: d991393207af90fe73de76f89ac6949ef291904e) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-24lsb: move links from lsbsetup to hereKang Kai
Because package lsbsetup is dropped, move the links created for LSB test to package lsb. (From OE-Core rev: 7659ad17799672d48c4d8614e830b7e60a1e971a) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24lsbtest: update list fileKang Kai
Update the lsbtest's list file that we can download the latest sub-packages of LSB suite 4.1.0 and then run the test with them. (From OE-Core rev: a2f81aa58c4753412afc0227c34f08134b6a3d2d) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>