Skip to contentSkip to conversation

Change initscript level

DISCUSSION Bishop, Mark (STRT) 2 participants 2 messages Jan 10, 2018 – Jan 11, 2018

lore
Share & tools
lore
#0 lore raw

I am just trying to change modutils.sh to run from /etc/rcS.d/S05modutils.sh to /etc/rcS.d/S15modutils.sh

I can't figure this out. I have modified the yocto/source/arm/layers/core/meta/recipes-kernel/modutils-initscripts.bb

From: INITSCRIPT_PARAMS = "start 05 S ."
To: INITSCRIPT_PARAMS = "start 10 S ."

And I still only have S05modutils.sh

The pkg_postinst_modutils-initscripts still has "start 05 S ." in build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/modutils-initscripts/1.0-r7/pkgdata/runtime/modutils-initscripts

It's quite apparent that I don't know what I'm doing here and I could use some sage advice on how to move these startup levels around.

Thank you.

Mark Bishop
Sr. Firmware/Software Engineer - Microwave Subsystems

[cid:[email protected]]

4726 Eisenhower Blvd.
Tampa, FL 33634
USA

T +1 813 901 7293

[email protected]<mailto:[email protected]>

smithsinterconnect.com<http://www.smithsinterconnect.com/>

TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!

#1 lore raw
Quoted 14 lines · Mark (STRT)

I am just trying to change modutils.sh to run from /etc/rcS.d/S05modutils.sh to /etc/rcS.d/S15modutils.sh

I can’t figure this out.  I have modified the yocto/source/arm/layers/core/meta/recipes-kernel/modutils-initscripts.bb

From: INITSCRIPT_PARAMS = "start 05 S ."

To: INITSCRIPT_PARAMS = "start 10 S ."

Quoted 7 lines

And I still only have S05modutils.sh

The pkg_postinst_modutils-initscripts still has “start 05 S .” in build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/modutils-initscripts/1.0-r7/pkgdata/runtime/modutils-initscripts

I tried this and I can see the correct values. Which version of poky/OE-core are you using? Can you try to bitbake -c cleansstate and build modutils-initscripts again?

Quoted 60 lines

It’s quite apparent that I don’t know what I’m doing here and I could use some sage advice on how to move these startup levels around.

Thank you.

*Mark Bishop*

*Sr. Firmware/Software Engineer – Microwave Subsystems***

* *

cid:[email protected]**

4726 Eisenhower Blvd.

Tampa, FL 33634

USA

T  +1 813 901 7293

*[email protected]
<mailto:[email protected]>*

*smithsinterconnect.com* <http://www.smithsinterconnect.com/>

*TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!***

This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. In addition, information contained in or attached to this e-mail may be subject to either 22 C.F.R. Parts 120?130, or 15 C.F.R. Parts 730-774. These regulations prohibit the release or disclosure of certain information contained herein to anyone who is not a U.S. citizen or permanent resident alien, without a license first having been issued. Failure to observe such requirements is a violation of U.S. law that carries serious penalties.   ­­