summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb/lsb
Commit message (Collapse)AuthorAgeFilesLines
* lsb: lsb_release script incompatible with busybox head and findAthanasios Oikonomou2017-02-231-0/+38
| | | | | | | | | | | | | | | | 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>
* 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>
* 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>
* 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>
* 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>
* lsbsetup: fix install processSaul Wold2010-12-141-197/+0
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lsbsetup: Set up lsb test environment on target platformXiaofeng Yan2010-12-101-0/+197
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>