summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildhistory.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-12-06 13:00:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-06 16:34:55 +0000
commit040bac56ec2cd5b71ddd114f9bbfd6ac768ae3bb (patch)
tree827975a3fefedb643c49082bbf824fe43e61a006 /meta/classes/buildhistory.bbclass
parenta5f9706bd5db9c22e8d9895d07c15eb157640d15 (diff)
downloadpoky-040bac56ec2cd5b71ddd114f9bbfd6ac768ae3bb.tar.gz
buildhistory bbclass: avoid absolute paths for files-in-image.txt to avoid diff churn when relocating TMPDIR
(From OE-Core rev: fb642d21111691b9302e16e984aff9d8fb18c431) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-rw-r--r--meta/classes/buildhistory.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index e4534e9fbe..39f5ff6eac 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -321,7 +321,7 @@ buildhistory_get_image_installed() {
321buildhistory_get_imageinfo() { 321buildhistory_get_imageinfo() {
322 # List the files in the image, but exclude date/time etc. 322 # List the files in the image, but exclude date/time etc.
323 # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo 323 # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
324 find ${IMAGE_ROOTFS} -ls | awk '{ if ( $7 ~ /[0-9]/ ) printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, $7, $11, $12, $13 ; else printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, 0, $10, $11, $12 }' > ${BUILDHISTORY_DIR_IMAGE}/files-in-image.txt 324 ( cd ${IMAGE_ROOTFS} && find . -ls | awk '{ if ( $7 ~ /[0-9]/ ) printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, $7, $11, $12, $13 ; else printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, 0, $10, $11, $12 }' > ${BUILDHISTORY_DIR_IMAGE}/files-in-image.txt )
325 325
326 # Add some configuration information 326 # Add some configuration information
327 echo "${MACHINE}: ${IMAGE_BASENAME} configured for ${DISTRO} ${DISTRO_VERSION}" > ${BUILDHISTORY_DIR_IMAGE}/build-id 327 echo "${MACHINE}: ${IMAGE_BASENAME} configured for ${DISTRO} ${DISTRO_VERSION}" > ${BUILDHISTORY_DIR_IMAGE}/build-id