diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 2eeffbb366..c7af889075 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -128,7 +128,7 @@ IMAGE_CMD_tar = "${IMAGE_CMD_TAR} --numeric-owner -cf ${IMGDEPLOYDIR}/${IMAGE_NA | |||
128 | 128 | ||
129 | do_image_cpio[cleandirs] += "${WORKDIR}/cpio_append" | 129 | do_image_cpio[cleandirs] += "${WORKDIR}/cpio_append" |
130 | IMAGE_CMD_cpio () { | 130 | IMAGE_CMD_cpio () { |
131 | (cd ${IMAGE_ROOTFS} && find . | cpio -o -H newc >${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio) | 131 | (cd ${IMAGE_ROOTFS} && find . | sort | cpio --reproducible -o -H newc >${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio) |
132 | # We only need the /init symlink if we're building the real | 132 | # We only need the /init symlink if we're building the real |
133 | # image. The -dbg image doesn't need it! By being clever | 133 | # image. The -dbg image doesn't need it! By being clever |
134 | # about this we also avoid 'touch' below failing, as it | 134 | # about this we also avoid 'touch' below failing, as it |