From 20657c1fa0def36d48e1bbad6cc3c77470c715eb Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 11 May 2012 14:16:07 +0000 Subject: 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 --- meta/classes/image.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes') 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}" do_rootfs[nostamp] = "1" do_rootfs[dirs] = "${TOPDIR}" do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" +do_rootfs[cleandirs] += "${S}" do_build[nostamp] = "1" # Must call real_do_rootfs() from inside here, rather than as a separate -- cgit v1.2.3-54-g00ecf