From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: DAMARLA Satya Swaroop <swaroop.damarla@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Installing .deb file in Build
Date: Tue, 25 Jun 2013 16:16:08 +0100 [thread overview]
Message-ID: <7888643.66nBCjdCFc@helios> (raw)
In-Reply-To: <CAFMfyz+y6yEJqQao26EJ3beQhjFZmv7DiJ_BA9EKrQKrGt5+RQ@mail.gmail.com>
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
next prev parent reply other threads:[~2013-06-25 15:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 7:10 Installing .deb file in Build DAMARLA Satya Swaroop
2013-06-20 2:06 ` Khem Raj
2013-06-20 10:09 ` Paul Eggleton
2013-06-25 13:20 ` DAMARLA Satya Swaroop
2013-06-25 15:16 ` Paul Eggleton [this message]
2013-06-26 9:16 ` DAMARLA Satya Swaroop
2013-06-26 11:16 ` Erik Botö
2013-06-26 12:52 ` DAMARLA Satya Swaroop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7888643.66nBCjdCFc@helios \
--to=paul.eggleton@linux.intel.com \
--cc=swaroop.damarla@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.