[Bug 211] New: sjf2410-linux-native.bb has do_deploy in the wrong location
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Sun Feb 25 11:20:12 CET 2007
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=211
Summary: sjf2410-linux-native.bb has do_deploy in the wrong
location
Product: OpenMoko
Version: current svn head
Platform: All
URL: http://svn.nslu2-
linux.org/svnroot/mokomakefile/trunk/patches/openmoko-
HEAD/sjf2410-linux-native.patch
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Host Software
AssignedTo: buglog at lists.openmoko.org
ReportedBy: rod at whitby.id.au
There is this neat rm_work.bbclass in OpenEmbedded which removes each
individual build/tmp/work/... directory as each package is successfully
built (this saves a *lot* of space, especially with the openmoko svnnow
paradigm which will quickly fill your disk with multiple build copies of
openmoko packages).
Unfortunately the do_deploy() function in OpenMoko's
sjf2410-linux-native.bb fails because rm_work is called before
do_deploy.
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0755 sjf2410 ${DEPLOY_DIR_IMAGE}/sjf2410
}
The sjf2410 executable no longer exists at that point, cause rm_work has
deleted it.
The attached patch fixed that by changing when do_deploy is executed (it makes
it so it happens at the same time in the order of things as it happens in the
kernel .bb files).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the buglog
mailing list