diff options
author | Ming Liu <liu.ming50@gmail.com> | 2022-07-15 13:18:57 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-08-18 07:16:39 -1000 |
commit | 06cfa8be54c9aee23bd8570a370a974b463a0a1a (patch) | |
tree | 220e695f69f93a93699d2eb9041935aa96ce707c | |
parent | 0bf78a8e0e1cf7e74b55aca4db0e62dd9dfa55ce (diff) | |
download | openembedded-core-contrib-06cfa8be54c9aee23bd8570a370a974b463a0a1a.tar.gz |
rootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S}
This is to ensure host-user-contaminated.txt would be removed before
do_rootfs runs, since ${S} is in cleandirs of do_rootfs, otherwise, a
host-user-contaminated.txt file that generated from previous builds
could be used which is wrong.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 54a3fd63e684d070fad962be97e549f3af7ac111)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index 0fef52af40..d9e2aeab64 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass @@ -305,7 +305,7 @@ rootfs_trim_schemas () { } rootfs_check_host_user_contaminated () { - contaminated="${WORKDIR}/host-user-contaminated.txt" + contaminated="${S}/host-user-contaminated.txt" HOST_USER_UID="$(PSEUDO_UNLOAD=1 id -u)" HOST_USER_GID="$(PSEUDO_UNLOAD=1 id -g)" |