mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-04 03:41:16 +00:00
some recipes under meta-oe have dependency on meta-python, and test_world of yocto-check-layer will failed with error like: ERROR: test_world (common.CommonCheckLayer) ERROR: Nothing PROVIDES 'python3-pytoml-native' (but /meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb DEPENDS on or otherwise requires it). Close matches: python3-numpy-native python3-pycairo-native python3-rpm-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mozjs', 'python3-pytoml-native'] fix by make these recipes only active when identified layers are present Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
38 lines
994 B
Bash
38 lines
994 B
Bash
#! /bin/sh
|
|
#
|
|
# This is an init script for Familiar
|
|
# Copy it to /etc/init.d/lircexecd and type
|
|
# > update-rc.d lircexecd defaults 20
|
|
# It must be started after lircd (and it does alphabetically :-)
|
|
# irexec reads /etc/lircrc by default
|
|
|
|
|
|
test -f /usr/bin/irexec || exit 0
|
|
test -f /etc/lircrc || exit 0
|
|
|
|
case "$1" in
|
|
start)
|
|
echo -n "Starting lircexec daemon: irexec"
|
|
start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon
|
|
echo "."
|
|
;;
|
|
stop)
|
|
echo -n "Stopping lircexec daemon: irexec"
|
|
start-stop-daemon --stop --quiet --exec /usr/bin/irexec
|
|
echo "."
|
|
;;
|
|
restart|force-restart)
|
|
echo -n "Stopping lircexec daemon: irexec"
|
|
start-stop-daemon --stop --quiet --exec /usr/bin/irexec
|
|
sleep 1
|
|
echo -n "Starting lircexec daemon: irexec"
|
|
start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon
|
|
echo "."
|
|
;;
|
|
*)
|
|
echo "Usage: /etc/init.d/lircexec {start|stop|reload|restart|force-restart}"
|
|
exit 1
|
|
esac
|
|
|
|
exit 0
|