All of lore.kernel.org
 help / color / mirror / Atom feed
* package development recompile and install to rootfs
@ 2013-09-12  9:57 Karl Hiramoto
  2013-09-12 10:28 ` Hans Beckérus
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Hiramoto @ 2013-09-12  9:57 UTC (permalink / raw)
  To: yocto

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


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

end of thread, other threads:[~2013-09-12 10:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-12  9:57 package development recompile and install to rootfs Karl Hiramoto
2013-09-12 10:28 ` Hans Beckérus
2013-09-12 10:48   ` Paul Eggleton

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.