Yes, I think something wrong happened to my eyes and now its working .. Cheers, Satya
On Wed, Jun 26, 2013 at 1:16 PM, Erik Botö <erik.b...@pelagicore.com> wrote: > On Wed, Jun 26, 2013 at 11:16 AM, DAMARLA Satya Swaroop > <satyaswaroop.dama...@gmail.com> wrote: > > Ok I did remove the stuff and I modified as you mentioned... I have two > aims > > here, > > > > 1. To start the bootstraper at the start of the boot, it means it has to > be > > in every runlevel and I am successfull in that. > > > > 2. To install a /opt directory which I am faling at.. > > > > I don't have any install errors but please tell me why the /opt > directory no > > more exists in the rootfs > > > > SUMMARY = "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.deb" > > > > inherit bin_package pkgconfig update-rc.d > > > > INITSCRIPT_PACKAGES = "${PN}" > > INITSCRIPT_NAME_${PN} = "bootstraploader" > > INITSCRIPT_PARAMS_${PN} = "defaults 85" > > > > do_install() { > > > > install -d ${D}${sysconfdir}/init.d/ > > install -m 0755 ${WORKDIR}/etc/init.d/bootstraploader > > ${D}${sysconfdir}/init.d/bootstraploader > > > > install -d ${D}/opt/skidata/bootstraploader/ > > echo -e ${D} > > for f in ${WORKDIR}/opt/skidata/bootstraploader/*.pm > > do > > install -m 0755 $f ${D}/opt/skidata/bootstraploader/ > > done > > > > for ff in ${WORKDIR}/opt/skidata/bootstraploader/*.sh > > do > > install -m 0755 ${ff} ${D}/opt/skidata/bootstraploader/ > > done > > > > > > } > > > > FILES_${PN} = "${base_libdir}/udev ${systemd_unitdir}" > > FILES_${PN} += "${sysconfdir}/init.d/bootstraploader" > > FILES_${PN} += "${D}/opt/skidata/bootstraploader/*.sh > > ${D}/opt/skidata/bootstraploader/*.pm" > > > > Any reasons why its failing is deeply appreciated > > You still have ${D} in FILES_${PN}, so the files in /opt is not > included in the package. > > Cheers, > Erik Botö > > > > > Greets, > > Satya > > > > > > On Tue, Jun 25, 2013 at 5:16 PM, Paul Eggleton > > <paul.eggle...@linux.intel.com> wrote: > >> > >> 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 > > > > > > > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > >
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto