[oe-commits] org.oe.packaged-staging packaged-staging.bbclass: don't abort when there are no .la files in staging

koen commit openembedded-commits at lists.openembedded.org
Mon Oct 2 13:22:31 UTC 2006


packaged-staging.bbclass: don't abort when there are no .la files in staging

Author: koen at openembedded.org
Branch: org.openembedded.packaged-staging
Revision: 067e01b9b06d960878eb8d79c93318e74914e818
ViewMTN: http://monotone.openembedded.org/revision.psp?id=067e01b9b06d960878eb8d79c93318e74914e818
Files:
1
classes/packaged-staging.bbclass
Diffs:

#
# mt diff -rd669a2fc790218b4249c310cc3c67ba81ebe0256 -r067e01b9b06d960878eb8d79c93318e74914e818
#
# 
# 
# patch "classes/packaged-staging.bbclass"
#  from [42a92244a956f7c279d6038f15ead46ce3cb06e9]
#    to [47644a8bd67f0ea16fd99b6b95e742716a72ea21]
# 
============================================================
--- classes/packaged-staging.bbclass	42a92244a956f7c279d6038f15ead46ce3cb06e9
+++ classes/packaged-staging.bbclass	47644a8bd67f0ea16fd99b6b95e742716a72ea21
@@ -128,7 +128,7 @@ do_stage_prepend() {
                	 		${PSTAGE_INSTALL_CMD} ${STAGING_BASEDIR} ${spawn}          
 				# clean up .la files to avoid having references to the builddirs in the binaries
 				for lafile in ${STAGING_LIBDIR}/*.la ; do \
-					sed -i s:installed=yes:installed=no:g ${lafile}
+					sed -i s:installed=yes:installed=no:g ${lafile} || true
 				done
 			else
 				oenote "${spawn} not found, probably empty package"






More information about the Openembedded-commits mailing list