On Mon, Feb 8, 2021 at 4:20 AM Martin Jansa <[email protected]> wrote: > > Please add this only together with > https://git.openembedded.org/openembedded-core/commit/?id=3ecea58f2a3382d9f4b410d6ad7089111334cb6f
Just noticed that this morning, I will move this patch to the next batch along with the follow on patch. Steve > RP dropped this one from last gatesgarth PR as well until both are applied at > the same time: > https://lists.openembedded.org/g/openembedded-core/message/147712 > > On Mon, Feb 8, 2021 at 2:54 PM Steve Sakoman <[email protected]> wrote: >> >> From: Richard Purdie <[email protected]> >> >> The tar output seems to vary depending on the version of tar used and distro >> configuration. Be explict about the output format to avoid this and be >> determinstic. >> >> Signed-off-by: Richard Purdie <[email protected]> >> (cherry picked from commit c56f3c9febc1732aa1302524c6c4da36f16bd1f7) >> Signed-off-by: Steve Sakoman <[email protected]> >> --- >> meta/classes/image_types.bbclass | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta/classes/image_types.bbclass >> b/meta/classes/image_types.bbclass >> index d81747527b..6de16d42b9 100644 >> --- a/meta/classes/image_types.bbclass >> +++ b/meta/classes/image_types.bbclass >> @@ -126,7 +126,7 @@ IMAGE_CMD_squashfs-lz4 = "mksquashfs ${IMAGE_ROOTFS} >> ${IMGDEPLOYDIR}/${IMAGE_NAM >> # required when extracting, but it seems prudent to use it in both cases. >> IMAGE_CMD_TAR ?= "tar" >> # ignore return code 1 "file changed as we read it" as other tasks(e.g. >> do_image_wic) may be hardlinking rootfs >> -IMAGE_CMD_tar = "${IMAGE_CMD_TAR} --sort=name --numeric-owner -cf >> ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.tar -C ${IMAGE_ROOTFS} . >> || [ $? -eq 1 ]" >> +IMAGE_CMD_tar = "${IMAGE_CMD_TAR} --sort=name --format=gnu --numeric-owner >> -cf ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.tar -C ${IMAGE_ROOTFS} >> . || [ $? -eq 1 ]" >> >> do_image_cpio[cleandirs] += "${WORKDIR}/cpio_append" >> IMAGE_CMD_cpio () { >> -- >> 2.25.1 >> >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147824): https://lists.openembedded.org/g/openembedded-core/message/147824 Mute This Topic: https://lists.openembedded.org/mt/80477412/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
