[yocto] How to Install Third party rpm packages

Burton, Ross ross.burton at intel.com
Mon Feb 25 04:15:34 PST 2019


On Mon, 25 Feb 2019 at 12:14, chaitanya cherukuri
<ccvk.chaitanya at gmail.com> wrote:
>> If I understand correctly, you want to me copy what script is doing in do_install(). I was thinking to  add the script has startup to a YOCTO Image, so that I don't need to copy anything manually and let the script to its job. This is how I am doing it in do_install()
>
>          install -m 0755 ${S}/startup-script ${D}${sysconfdir}/init.d/
> ln -sf ../init.d/startup-script ${D}${sysconfdir}/rcS.d/S90startup-script

You'll need to do the install yourself, but the symlink generation
should be done with the update-rcd class.

Ross


More information about the yocto mailing list