summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb
Commit message (Collapse)AuthorAgeFilesLines
* lsbinitscripts: don't use update-alternativesMarkus Lehtonen2018-01-061-6/+2
| | | | | | | | | | | | | Make lsbinitscripts (r)conflict with initscripts-functions package. [YOCTO #10944] (From OE-Core rev: e0e8e162cf19bcdfa7d9daa0bb51c32beabbd048) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> (cherry picked from commit 1202307b24def6cb7e6ebc92b47736e42d32cbb6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbtest: Add HOMEPAGE info into recipe file.Huang Qiyu2017-09-211-0/+1
| | | | | | | | (From OE-Core rev: 9fbd4fe461ba479883ce5a9748a6720cfbd538ea) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: Add HOMEPAGE info into recipe file.Huang Qiyu2017-09-211-0/+1
| | | | | | | | (From OE-Core rev: 7c8952b085ca793735f7465a9a00e53ac69ffb53) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: fix distrodata.py to use per-recipe UPSTREAM_VERSION_UNKNOWN settingAlexander Kanavin2017-08-161-0/+1
| | | | | | | | | | | ... instead of a global exception list which was problematic. [YOCTO #11896] (From OE-Core rev: 89dfede4ca795ba085f1ee7290c6dede573c11db) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: add checking for chkconfig existence when creating the symbolicZhenbo Gao2017-07-211-4/+6
| | | | | | | | | | | | | remove_initd and remove_initd will be created as the symbolic file of chkconfig, which will be not existed when systemd is configured, so adding the check for the existence of chkconfig before creating the symbolic. (From OE-Core rev: 0417cc64516c47fb4daddc80e41e3f9c6ab927fc) Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add/fix missing Upstream-Status to patchesRichard Purdie2017-06-271-0/+1
| | | | | | | | | This adds or fixes the Upstream-Status for all remaining patches missing it in OE-Core. (From OE-Core rev: 563cab8e823c3fde8ae4785ceaf4d68a5d3e25df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: Upgrade to 9.72Fan Xin2017-06-062-23/+28
| | | | | | | | | | | | | 1. Upgrade lsbinitscripts from 9.68 to 9.72 2. Rebase the following patch file. functions.patch (From OE-Core rev: be117d6ea79882d10cce4c061385832e26d23bff) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbtest: add option --ignoreos to rpm install commandDengke Du2017-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | After change to the rpm4, the rpm packages in lsbtest, such as: lsb-setup-4.1.0-1.noarch.rpm lsb-dist-checker-5.0.0.1-1.x86_64.rpm ...... lsb-cmdchk-5.0.3-1.x86_64.rpm When install above rpm packages, the error log appears: package lsb-setup-4.1.0-1.noarch is intended for a different operating system ...... So we should add option "--ignoreos" to the rpm install command in LSB_Test.sh in ./meta/recipes-extended/lsb/lsbtest directory. In this way we can make sure the correct installation of those rpm packages. The YOCTO bug #11224 didn't create logs, this is because the above test rpm packages didn't install. [YOCTO #11224] (From OE-Core rev: db2798d967dbffed834070b52fe778efa18cb4ae) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Create ${base_prefix}/lib64 correctly when neededPeter Kjellerstedt2017-04-011-5/+5
| | | | | | | | | | | | There were two remaining cases that could end up creating /lib64 rather than ${base_prefix}/lib64. The difference matters when building with usrmerge. (From OE-Core rev: b791f13286c8c58ce1f3fa3745ffdd5bd5ff1d02) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Avoid using double slashes in pathsPeter Kjellerstedt2017-04-011-24/+25
| | | | | | | | | | | Use ${D}${var} rather than ${D}/${var} for variables where ${var} contains an absolute path. (From OE-Core rev: 2799eda9f373b430ad64c8b61f8047abce7f1e22) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Make use of appropriate bitbake variables.Amarnath Valluri2017-03-221-21/+19
| | | | | | | | | | | Using of bitbake environment variables in-place of hardcoded strings makes this recipe portable to all environments. (From OE-Core rev: 61135e4134b7e0b42b57a87a9a30c32002cb1067) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: lsb_release script incompatible with busybox head and findAthanasios Oikonomou2017-02-232-0/+39
| | | | | | | | | | | | | | | | Busybox implementation only supports head -1 option if ENABLE_INCLUDE_SUSv2 or ENABLE_FEATURE_FANCY_HEAD configuration options are enabled. Also the -and option for find is only supported if ENABLE_DESKTOP configuration option is enabled. These configuration options are not enabled in several builds, which is why this patch is needed. [YOCTO #11041] (From OE-Core rev: 9b036ac92073cadd26819def37ac0199f1ec9934) Signed-off-by: Athanasios Oikonomou <athoik@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: 9.64 -> 9.68Wang Xin2016-08-252-5/+6
| | | | | | | | | | Upgrade lsbinitscripts from 9.64 to 9.68. (From OE-Core rev: d3f6df98318f0751948041a129faed1bd0f7a7c6) Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* LSB: 4.1.0 -> 5.0Dengke Du2016-07-263-40/+29
| | | | | | | | | | | | | | | | | | According to the LSB 5.0 Release Notes, FHS Released, Qt3 removed and evoloved its module strategy which you can access from the site: https://wiki.linuxfoundation.org/en/ReleaseNotes50 So we make two changes to comply with the LSB 5.0: 1. Remove the lsb-test-qt3-azov-*.rpm test package and delete the test session. 2. Update the test packages. (From OE-Core rev: 89771f2dfc58b83a457147f8498214d7a2bfae43) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "lsbinitscripts: fix the path for mountpoint"Richard Tollerton2016-02-161-1/+0
| | | | | | | | | | | | | | | | | This reverts commit e1a3c6e218779e2237c494e58209c06b871c47c4. util-linux upstream, busybox, and sysvinit all install mountpoint by default to /bin. Arch Linux, Debian, and Ubuntu (at least) all appear to install mountpount to /bin. AFAIK only Fedora and possibly other Red Hat derived distributions install it to /usr/bin. (From OE-Core rev: 497f9720a7bdc97ae147f3c6e351fba29029a7dd) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Reviewed-by: Ken Sharp <ken.sharp@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split sourceforge related entries to their own recipesAlexander Kanavin2015-12-081-0/+4
| | | | | | | | (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>
* lsb: fix installed-vs-shipped for mipsRobert Yang2015-12-011-0/+1
| | | | | | | | | | | | | | 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>
* lsb: add lsbinitscripts and util-linux rdependsAlex Franco2015-10-012-2/+4
| | | | | | | | | | | | | | | | | | | | | | 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>
* lsbinitscripts: Upgrade 9.63 -> 9.64Jussi Kukkonen2015-08-241-3/+3
| | | | | | | | (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>
* lsbtest: sync test suite packages versionLucian Musat2015-07-311-5/+5
| | | | | | | | | | 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>
* lsbinitscripts: avoid exit 1 in functions scriptChen Qi2015-07-082-0/+24
| | | | | | | | | | | | | | 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>
* lsb: update i586 TARGET_ARCH tests to also handle i686Andre McCurdy2015-07-082-4/+4
| | | | | | | | (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>
* libinitscripts: Upgrade to 9.63Saul Wold2015-05-201-3/+3
| | | | | | | (From OE-Core rev: ceb77cfaee7789fdff07aaa08ab89de9d4b3e513) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: provide lsb-core-ARCHDmitry Eremin-Solenikov2015-04-191-0/+5
| | | | | | | | | | | 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>
* lsb: fix installed-vs-shipped when build with multilibRobert Yang2015-03-201-1/+2
| | | | | | | | | | | | | | | | | | | 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>
* lsb: update init-functions and remove sendmailKai Kang2015-03-161-13/+3
| | | | | | | | | | | | | | | | | | | | | 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>
* lsbinitscripts: Upgrade to 9.61Saul Wold2015-02-081-3/+3
| | | | | | | (From OE-Core rev: c603e720c865e0ff8391990ad6751bce74ab835f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: fix the path for mountpointJackie Huang2015-02-031-0/+1
| | | | | | | | | | 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>
* lsbinitscripts: Upgrade to 9.60Saul Wold2015-01-071-3/+3
| | | | | | | (From OE-Core rev: ec9629321a4501d832f776a04a89dea55359f337) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: remove sendmail from sysrootRobert Yang2014-12-251-0/+8
| | | | | | | | | | | 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>
* lsb: update RDEPENDS for broken-out util-linux-getoptRichard Tollerton2014-11-201-1/+1
| | | | | | | | | | | | | | 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>
* lsbinitscripts: Upgrade to 9.56.1Saul Wold2014-11-091-3/+3
| | | | | | | (From OE-Core rev: 2faa41bcb5cf719fff59178a1223c7fd77ae1369) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: Improve makefile clean handling, introduce CLEANBROKEN variableRichard Purdie2014-11-091-0/+2
| | | | | | | | | | | | | | 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>
* lsbtest: no bashism in LSB_Test.shRobert Yang2014-08-281-1/+1
| | | | | | | | | 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>
* lsbinitscripts: Upgrade to 9.55Saul Wold2014-08-021-3/+3
| | | | | | | (From OE-Core rev: e8b36c724b1f732a93745c91c85997789897214c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: Update to 9.54Saul Wold2014-04-301-3/+3
| | | | | | | (From OE-Core rev: 80a7ca6e986a77df69f90601195c10aad640e9ab) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: update to 9.53Saul Wold2014-04-241-3/+3
| | | | | | | (From OE-Core rev: 96c8ef95c9e491485c33bb89f2edc67d63b0a0b5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: fix lsb_log_msg() implementationCristian Iorga2014-03-272-6/+6
| | | | | | | | | | | | | | | | | | | | 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>
* lsbtest: fix comparison bashismStefan Stanacar2014-03-112-6/+6
| | | | | | | | | | == 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>
* lsbinitscripts: Update to 9.52Saul Wold2014-01-281-3/+3
| | | | | | | (From OE-Core rev: 70b5976748206ef7f5cfc3583bd979c01611dab7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-023-3/+3
| | | | | | | | | | | | | | 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>
* lsbtest: add ppc64 supportKai Kang2013-12-182-1/+13
| | | | | | | | | | | 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>
* LSB_Test.sh: update localesKai Kang2013-12-181-0/+5
| | | | | | | | | | | 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>
* LSB_Test.sh: check ldconfig before update cacheKai Kang2013-12-181-1/+3
| | | | | | | | | | | | | 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>
* LSB_Test.sh: update rpm platform file when enable multilibKai Kang2013-12-181-0/+9
| | | | | | | | | | | | | 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>
* lsb: update directory of install_initd and remove_initdKai Kang2013-12-181-3/+5
| | | | | | | | | | | | | | | | | | | | 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>
* lsb: de-bash scripts to remove bash dependencyChen Qi2013-11-304-4/+4
| | | | | | | | | | | 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>
* lsb: add begin function to lsb_log_messagePaul Barrette2013-10-301-0/+5
| | | | | | | | | | | | 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>
* lsbinitscripts: Update to 9.50Saul Wold2013-10-141-3/+3
| | | | | | | (From OE-Core rev: 06af5c562251f3b7c6dff2436095222dfac9300c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* LSB Command Check: fix install_initd and remove_initd not foundHongxu Jia2013-09-141-2/+2
| | | | | | | | | | | | | | | | | 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>