From: Karl Hiramoto <karl@hiramoto.org>
To: yocto@yoctoproject.org
Subject: package development recompile and install to rootfs
Date: Thu, 12 Sep 2013 11:57:47 +0200 [thread overview]
Message-ID: <5231901B.8090801@hiramoto.org> (raw)
Hi,
I'm looking for a faster way to recompile and install my package to my
rootfs. I am currently developing on a ARM board, and I'm booting the
kernel and loading the rootfs over NFS. I point the nfs root to
/home/karl/Work/yocto/poky-dylan-9.0.1/build/tmp/work/mymachine-poky-linux-gnueabi/mymachine-image/1.0-r0/rootfs
in my custom "mypackage.bb" recipe I have:
DESCRIPTION = "mypackage"
SECTION = "base"
LICENSE = "CLOSED"
DEPENDS = "libnl jansson file"
SRCREV = "HEAD"
PR = "r0"
inherit autotools pkgconfig externalsrc
S = "/home/karl/Work/mypackage"
So to compile and reinstall mypackage i do:
bitbake -v mypackage -c clean -f && bitbake -v mypackage -c install -f
&& bitbake -v mymachine-image
The mymachine-image deletes and recreates the rootfs, which is
lengthly. After i do this, I need to reboot my target board, so the
nfsroot gets remounted.
Is there any way to quickly get mypackage installed on the rootfs?
I'd like to be able to quickly recompile/link mypackage after changing a
few lines of code.
I could write a script to copy the binaries over but I'm wondering if
there is an easier way.
Thanks,
Karl
next reply other threads:[~2013-09-12 9:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 9:57 Karl Hiramoto [this message]
2013-09-12 10:28 ` package development recompile and install to rootfs Hans Beckérus
2013-09-12 10:48 ` Paul Eggleton
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=5231901B.8090801@hiramoto.org \
--to=karl@hiramoto.org \
--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.