diff options
author | Ming Liu <liu.ming50@gmail.com> | 2022-07-15 13:18:57 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-07-26 05:34:59 -1000 |
commit | 96215d6d45d2cae59c9e36e6a77bbbada410b259 (patch) | |
tree | 94c6822f0da63c215814214901ceffe107d0f162 /meta/classes/rootfs-postcommands.bbclass | |
parent | 7549429fc93218dee33b216010b2c36a9f814091 (diff) | |
download | openembedded-core-contrib-96215d6d45d2cae59c9e36e6a77bbbada410b259.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>
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
-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 fc179613fb..a59d9b5878 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)" |