[yocto] [meta-ivi] [PATCHv2] connman: do not delete init scripts in bbappend

Sergey Matyukevich Sergey_Matyukevich at mentor.com
Wed Jul 3 04:59:11 PDT 2013


>> Connman init scripts are installed only if 'sysvinit' feature is enabled
>> in DISTRO_FEATURES: see commit 7c8160ccbe17d6e10bd7a09b91843182a89b9055 in
>> poky.
>>
>> Signed-off-by: Sergey Matyukevich<sergey_matyukevich at mentor.com>
>
> I'm curious as to why you're deleting the connman init scripts in meta-ivi...
>
> Ross

Hmm... Thanks for comment. It is good idea to take a break and to see 
the forest for the trees. Here is the second patch revision.

Connman init scripts are now installed only when 'sysvinit' feature is
enabled in DISTRO_FEATURES: commit 
7c8160ccbe17d6e10bd7a09b91843182a89b9055 in
poky. No need to remove them in bbappend: they are not installed for 
'systemd'-enabled
systems and they are needed for 'sysvinit'-enabled systems.

Signed-off-by: Sergey Matyukevich <sergey_matyukevich at mentor.com>
---
  recipes-connectivity/connman/connman_1.15.bbappend |    5 -----
  1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/recipes-connectivity/connman/connman_1.15.bbappend 
b/recipes-connectivity/connman/connman_1.15.bbappend
index cda612b..83e4b51 100644
--- a/recipes-connectivity/connman/connman_1.15.bbappend
+++ b/recipes-connectivity/connman/connman_1.15.bbappend
@@ -2,8 +2,3 @@ PRINC := "${@int(PRINC) + 2}"

  INITSCRIPT_NAME = ""
  INITSCRIPT_PARAMS = ""
-
-do_install_append() {
-	# Remove init scripts
-	rm -r ${D}${sysconfdir}/init.d
-}
-- 
1.7.2.5



More information about the yocto mailing list