mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
rm_work.bbclass: Improve handling of noexec tasks
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -32,6 +32,7 @@ do_rm_work () {
|
|||||||
|
|
||||||
# Change normal stamps into setscene stamps as they better reflect the
|
# Change normal stamps into setscene stamps as they better reflect the
|
||||||
# fact WORKDIR is now empty
|
# fact WORKDIR is now empty
|
||||||
|
# Also leave noexec stamps since setscene stamps don't cover them
|
||||||
cd `dirname ${STAMP}`
|
cd `dirname ${STAMP}`
|
||||||
for i in `basename ${STAMP}`*
|
for i in `basename ${STAMP}`*
|
||||||
do
|
do
|
||||||
@@ -41,6 +42,14 @@ do_rm_work () {
|
|||||||
*do_setscene*)
|
*do_setscene*)
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
*do_package_write*)
|
||||||
|
i=dummy
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
*do_build*)
|
||||||
|
i=dummy
|
||||||
|
break
|
||||||
|
;;
|
||||||
*_setscene*)
|
*_setscene*)
|
||||||
i=dummy
|
i=dummy
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user