diff options
author | Ming Liu <liu.ming50@gmail.com> | 2022-07-15 13:18:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-19 10:54:20 +0100 |
commit | b53880d3400b316f1a8f2108a97658104cc008f2 (patch) | |
tree | b0a83c9c549d6550d9d8931b9fb1e6d0a2e2db5e /meta | |
parent | f414763fa0fbbf38e0bd6dc61bea536576edded8 (diff) | |
download | poky-b53880d3400b316f1a8f2108a97658104cc008f2.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.
(From OE-Core rev: 54a3fd63e684d070fad962be97e549f3af7ac111)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 452b87f9b3..a8a952f31d 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
@@ -305,7 +305,7 @@ rootfs_trim_schemas () { | |||
305 | } | 305 | } |
306 | 306 | ||
307 | rootfs_check_host_user_contaminated () { | 307 | rootfs_check_host_user_contaminated () { |
308 | contaminated="${WORKDIR}/host-user-contaminated.txt" | 308 | contaminated="${S}/host-user-contaminated.txt" |
309 | HOST_USER_UID="$(PSEUDO_UNLOAD=1 id -u)" | 309 | HOST_USER_UID="$(PSEUDO_UNLOAD=1 id -u)" |
310 | HOST_USER_GID="$(PSEUDO_UNLOAD=1 id -g)" | 310 | HOST_USER_GID="$(PSEUDO_UNLOAD=1 id -g)" |
311 | 311 | ||