AnsweredAssumed Answered

Multiple INITSCRIPT Questions

Question asked by Steven Yu on Feb 1, 2018
Latest reply on Mar 23, 2018 by gusarambula

Hi Support,

 

We try to modify sources/poky/meta/recipes-core/udev/eudev_3.1.5.bb, and add below lines. The result is mymount has been put to /etc/init.d already, but it is not in /etc/rc5.d ! After checking with many Internet Yocto document, we still cannot find the reason. Do you know what do we miss?

 

Regards,

Steven Yu

 

# sources/poky/meta/recipes-core/udev/eudev_3.1.5.bb #

SRC_URI = 

...
file://mymount \

...

 

 

install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/mymount ${D}${sysconfdir}/init.d/mymount

 

# add mymount in INITSCRIPT_PACKAGES

INITSCRIPT_PACKAGES = "eudev udev-cache mymount"
INITSCRIPT_NAME_eudev = "udev"
INITSCRIPT_PARAMS_eudev = "start 04 S ."
INITSCRIPT_NAME_udev-cache = "udev-cache"
INITSCRIPT_PARAMS_udev-cache = "start 36 S ."

# add below two lines for mymount
INITSCRIPT_NAME_mymount = "mymount"
INITSCRIPT_PARAMS_mymount = "start 01 2 3 4 5 . stop 20 0 6 1 ."

Outcomes