summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
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 1600fc817..87c4459a1 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