Openembedded Core Discussions
 help / color / mirror / Atom feed
* How do we get programs into sysroots?
@ 2011-08-28 20:07 Joel A Fernandes
  2011-08-28 20:45 ` Chris Larson
  0 siblings, 1 reply; 5+ messages in thread
From: Joel A Fernandes @ 2011-08-28 20:07 UTC (permalink / raw)
  To: openembedded-devel,
	Patches and discussions about the oe-core layer
  Cc: Kridner, Jason, Kooi, Koen

I have added a recipe for mkcard script to oe-core/meta/meta-devtools
as follows:

DESCRIPTION = "A tool to format SD Cards correctly"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
SECTION = "base"
SRC_URI = "file://mkcard.txt \
           file://COPYING.patch"
PR = "r3"

do_configure() {
        install -m 0644 ${WORKDIR}/mkcard.txt ${S}/
}

do_install() {
        install -d ${D}${base_sbindir}
        install -m 0755 ${S}/mkcard.txt ${D}${base_sbindir}/mkcard
}

BBCLASSEXTEND = "native"
---

Everything works fine, but I don't see 'mkcard' in /sbin in sysroots
directory. I'd like to install it there. I tried looking at other
scripts to see the right way to do it but I'm not sure of a clean way
to do so. I looked at the staging.bbclass and it seems to only pickup
libs and headers.

Appreciate any help or pointers to posts/documentation

Thanks,
Joel



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-28 23:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-28 20:07 How do we get programs into sysroots? Joel A Fernandes
2011-08-28 20:45 ` Chris Larson
2011-08-28 21:54   ` Richard Purdie
     [not found]     ` <CAD=GYpZv2NNBjDBMsAT_dik4FPBFr0vDqN2y414Uz0wN2DYNaw@mail.gmail.com>
     [not found]       ` <CAD=GYpa6xxUokfZyA-iYOhq==8uT=8iOy9LREJiNxyT5XECEyQ@mail.gmail.com>
     [not found]         ` <CAD=GYpbzoHjG+00ONZ5iuzi3g2TKA94znwGpTokb4kZNdUDtWQ@mail.gmail.com>
     [not found]           ` <CAD=GYpYqRwGq0_5xq3Jb=i_Hqp8WmD7fDBo=mp=oeAq5dtRMtg@mail.gmail.com>
     [not found]             ` <CAD=GYpaiuiKvEzLag03VXF1aaEgRbWsTZ4v0iVjv3pUE2aT5RA@mail.gmail.com>
     [not found]               ` <CAD=GYpa40GL3wBoLgsHQ8V8-9o=zmz9HTzJ97--U1Lxm0Q_=8g@mail.gmail.com>
2011-08-28 22:52                 ` Joel A Fernandes
2011-08-28 23:01   ` Joel A Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox