From: Peter Oruba <peter.oruba@signalion.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: No package is created after do_install
Date: Wed, 14 Nov 2012 11:34:01 +0100 [thread overview]
Message-ID: <50A37399.8030208@signalion.com> (raw)
In-Reply-To: <50A0FD41.8010900@signalion.com>
Am 12.11.2012 14:44, schrieb Peter Oruba:
> 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
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
Managed to make it work, problem was solved by removing the following lines:
do_package[noexec] = "0"
do_package_write[noexec] = "0"
do_package_write_deb[noexec] = "0"
Thanks,
Peter
prev parent reply other threads:[~2012-11-14 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-12 13:44 No package is created after do_install Peter Oruba
2012-11-14 10:34 ` Peter Oruba [this message]
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=50A37399.8030208@signalion.com \
--to=peter.oruba@signalion.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.