diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-11 14:16:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:28:49 +0100 |
commit | fcd80214091e3cf41af184e24081d71981d48a8c (patch) | |
tree | 547fe615f4ab20fba8da872cb6e4f1095fb115e0 /meta/classes | |
parent | 0254e8d7d94d4bfdd636f25407b4e3cb7a1f606b (diff) | |
download | poky-fcd80214091e3cf41af184e24081d71981d48a8c.tar.gz |
image.bbclass: Ensure ${S} is cleaned at the start of rootfs generation
Some image classes such as bootimg save files into ${S} as part of rootfs
generation. For correctness we should therefore clean this at the start of
image generation to ensure reproducibility.
I found this issue when some files I thought should disappear from my rootfs
would not disappear.
(From OE-Core rev: 363424cdc78cafa278008f973c2b4288297ebf8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 4610731536..573c90539c 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -131,6 +131,7 @@ PSEUDO_PASSWD = "${IMAGE_ROOTFS}" | |||
131 | do_rootfs[nostamp] = "1" | 131 | do_rootfs[nostamp] = "1" |
132 | do_rootfs[dirs] = "${TOPDIR}" | 132 | do_rootfs[dirs] = "${TOPDIR}" |
133 | do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" | 133 | do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" |
134 | do_rootfs[cleandirs] += "${S}" | ||
134 | do_build[nostamp] = "1" | 135 | do_build[nostamp] = "1" |
135 | 136 | ||
136 | # Must call real_do_rootfs() from inside here, rather than as a separate | 137 | # Must call real_do_rootfs() from inside here, rather than as a separate |