diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 813e1f3..f592a12 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -430,6 +430,15 @@ do_rootfs_finalize() {
             "${ROOTFSDIR}/etc/apt/sources.list.d/bootstrap.list"
 
         rm -f "${ROOTFSDIR}/etc/apt/sources-list"
+
+        # Set same time-stamps to the newly generated file/folders in the
+        # rootfs image for the purpose of reproducible builds.
+        test ! -z "${SOURCE_DATE_EPOCH}" && \
+            find ${ROOTFSDIR} -newermt \
+                "$(date -d@${SOURCE_DATE_EPOCH} '+%Y-%m-%d %H:%M:%S')" \
+                -printf "%y %p\n" \
+                -exec touch '{}' -h -d@${SOURCE_DATE_EPOCH} ';'
+
 EOSUDO
 }
 addtask rootfs_finalize before do_rootfs after do_rootfs_postprocess
