[yocto] Installing .deb file in Build
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Jun 25 08:16:08 PDT 2013
On Tuesday 25 June 2013 15:20:19 DAMARLA Satya Swaroop wrote:
> I am trying to install .deb file and the recipe is as follows... may I ask
> you what is the mistake that is not allowing it to build it into the
> rootfilesystem....
>
> *UMMARY = "Bootstrapper from Skidata"*
> *DESCRIPTION = "For the moment it just installs the .deb file"*
> *LICENSE = "CLOSED"*
> *
> *
> *SRC_URI[md5sum] = "7835334732d1704765e52168994b09a6"*
> *SRC_URI[sha256sum] =
> "11bda24a487da08ef6d3133cc0bf55862e6ae75891c7d08433341f2f3a0dc740"*
> *
> *
> *
> *
> *SRC_URI =
> "file:///home/damarla/openYocto/downloads/skidata-bootstraploader-1.0.0.14.d
> eb" *
> *
> *
> *inherit bin_package*
> *
> *
> *INITSCRIPT_PACKAGES = "${PN}-bsd"*
> *INITSCRIPT_NAME_${PN}-bsp = "bootstraploader"*
> *INITSCRIPT_PARAMS_${PN}-bsp = "defaults 90"*
You have a mismatch here, "bsp" in the last two lines and "bsd" everywhere
else.
> *PACKAGES =+ "${PN} ${PN}-bsd"*
> *
> *
> *FILES_${PN}-bsd = "${sysconfdir}/init.d/bootstraploader"*
> *FILES_${PN} = "${D}/usr/skidata/bootstraploader/*.sh
> ${D}/usr/skidata/bootstraploader/*.pm"*
You should not include ${D} in FILES values. Because of the invalid path the
desired files are not being picked up.
The reason you're likely getting an error at do_rootfs is that because of the
above, the package is empty and therefore is not produced, thus it can't be
found when it comes to installing it into the image.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list