update-rc.d overwriting RDEPENDS

Home Forums MultiConnect OCG update-rc.d overwriting RDEPENDS

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2654
    Brandon Pedersen
    Participant

    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?

    #3464
    Brandon Pedersen
    Participant

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.