summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2020-12-01 15:23:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-18 23:01:48 +0000
commit1153cc59191961d0fe51815186f18ce1ef5e21cb (patch)
treea89ad7434ea0144600582ce164dc4d883067bae0 /meta/classes
parentc34acd279e09e7d579f6060f2eab5227bbd9754f (diff)
downloadpoky-1153cc59191961d0fe51815186f18ce1ef5e21cb.tar.gz
image_types: remove obsolete tar comment
We now depend on tar 1.28, so talking about older tar versions is just confusing. (From OE-Core rev: 22c7bbdaecd9eea52bf919e363ee68ce8256bdbd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f19e43dec63a86c200e04ba14393583588550380) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass10
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 9a508a911f..286009057e 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -108,16 +108,6 @@ IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME
108IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo" 108IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo"
109IMAGE_CMD_squashfs-lz4 = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lz4 ${EXTRA_IMAGECMD} -noappend -comp lz4" 109IMAGE_CMD_squashfs-lz4 = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lz4 ${EXTRA_IMAGECMD} -noappend -comp lz4"
110 110
111# By default, tar from the host is used, which can be quite old. If
112# you need special parameters (like --xattrs) which are only supported
113# by GNU tar upstream >= 1.27, then override that default:
114# IMAGE_CMD_TAR = "tar --xattrs --xattrs-include=*"
115# do_image_tar[depends] += "tar-replacement-native:do_populate_sysroot"
116# EXTRANATIVEPATH += "tar-native"
117#
118# The GNU documentation does not specify whether --xattrs-include is necessary.
119# In practice, it turned out to be not needed when creating archives and
120# required when extracting, but it seems prudent to use it in both cases.
121IMAGE_CMD_TAR ?= "tar" 111IMAGE_CMD_TAR ?= "tar"
122# ignore return code 1 "file changed as we read it" as other tasks(e.g. do_image_wic) may be hardlinking rootfs 112# ignore return code 1 "file changed as we read it" as other tasks(e.g. do_image_wic) may be hardlinking rootfs
123IMAGE_CMD_tar = "${IMAGE_CMD_TAR} --sort=name --numeric-owner -cf ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.tar -C ${IMAGE_ROOTFS} . || [ $? -eq 1 ]" 113IMAGE_CMD_tar = "${IMAGE_CMD_TAR} --sort=name --numeric-owner -cf ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.tar -C ${IMAGE_ROOTFS} . || [ $? -eq 1 ]"