summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-11 14:16:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-14 11:23:47 +0100
commit20657c1fa0def36d48e1bbad6cc3c77470c715eb (patch)
treef5363724e9cb4361a76daabca9ad0cc90b033209 /meta
parent3029a08744281b3bb27cf81004d0d882dde8112f (diff)
downloadpoky-20657c1fa0def36d48e1bbad6cc3c77470c715eb.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: 23b7d7dab475caca4558e3b20db534122bee1525) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 907c59ba0f..9557433e8e 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -131,6 +131,7 @@ PSEUDO_PASSWD = "${IMAGE_ROOTFS}"
131do_rootfs[nostamp] = "1" 131do_rootfs[nostamp] = "1"
132do_rootfs[dirs] = "${TOPDIR}" 132do_rootfs[dirs] = "${TOPDIR}"
133do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" 133do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock"
134do_rootfs[cleandirs] += "${S}"
134do_build[nostamp] = "1" 135do_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