update-rc.d overwriting RDEPENDS
- This topic has 1 reply, 1 voice, and was last updated 15 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › update-rc.d overwriting RDEPENDS
Hi, I have created a recipe which includes an init script to be run during startup so I add “update-rc.d” to the inherits line in my recipe and supply the INITSCRIPT_NAME and INITSCRIPT_PARAMS values.
Before adding this, everything was working fine, when I installed my package it would also install all the required runtime dependencies. However, after adding this it no longer has any of my required runtime dependencies and when I upgrade the package it removes all the other packages it used to depend on and fails to start.
Any help here? Do I need to set my RDEPENDS differently?
FYI, if anyone runs into this, I created a classes folder inside the user-collection folder, copied the update-rc.d.bbclass, into there and renamed it, modifed the DEPENDS and RDEPENDS lines to use += (remove the _append parts) and inherited that class instead. Also had to modify env-oe.sh to add the user-collection folder to BBPATH so that the bbclass file is picked up.