All of lore.kernel.org
 help / color / mirror / Atom feed
* No package is created after do_install
@ 2012-11-12 13:44 Peter Oruba
  2012-11-14 10:34 ` Peter Oruba
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Oruba @ 2012-11-12 13:44 UTC (permalink / raw)
  To: yocto

Hello everybody

I am using Yocto as a framework to build Debian packages. So far there 
is a recipe working up to the stage that source is fetched and copied 
(for now compiling is simply skipped). That part works fine, however, I 
am having a hard time to create a Debian package with ${destdir}'s content.

The recipe looks as follows:

LICENSE = "MyLicense"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6564c1e3c8492bdfa4eddb6d81c2c66"

#SRCDATE
SRCREV="r105"
PV="${SRCPV}"
PR="${SRCREV}"
SRC_URI = "svn://repo/trunk;module=myproject;proto=http"
S = "${WORKDIR}/${PN}"

PKG="myproject-debian"
PKGFN="myproject"
IMAGE_ROOTFS="${D}"
PN="myproject"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PACKAGES = "${PN}"
FILES_${PN} = "${D}/usr/libexec/*"

inherit native package_deb

do_install() {
   #oe_runmake 'DESTDIR=${D}' install
   install -v -d ${D}/usr/libexec/
   cp -a -v ${S} ${D}/usr/libexec/
}

do_populate_sysroot[noexec] = "1"

do_package[noexec] = "0"
do_package_write[noexec] = "0"
do_package_write_deb[noexec] = "0"


Unfortunately there is not a lot of information about creating native 
packages with Yocto that you can find out there.

Thanks,
Peter


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

end of thread, other threads:[~2012-11-14 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 13:44 No package is created after do_install Peter Oruba
2012-11-14 10:34 ` Peter Oruba

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.