summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-23 00:56:38 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-23 00:56:38 +0100
commit74e47d42d60161a3cab97c923e852a42e1ce5940 (patch)
treec7f2072626d77540ac4b64228d7ff6c39644dbf8 /meta/classes
parentc5fab99a6f979a4a0ce246c6395b35a3082aec0d (diff)
downloadopenembedded-core-74e47d42d60161a3cab97c923e852a42e1ce5940.tar.gz
openembedded-core-74e47d42d60161a3cab97c923e852a42e1ce5940.tar.bz2
openembedded-core-74e47d42d60161a3cab97c923e852a42e1ce5940.zip
rm_work.bbclass: Handle case where pseudo directory doesn't exist
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rm_work.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 1600fc8177..87c4459a12 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -11,7 +11,9 @@ BB_DEFAULT_TASK = "rm_work_all"
do_rm_work () {
# Ensure pseudo is no longer active
- ${FAKEROOT} -S
+ if [ -d ${WORKDIR}/pseudo ]; then
+ ${FAKEROOT} -S
+ fi
cd ${WORKDIR}
for dir in *
do