]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sanity: check for GNU tar specifically
authorRoss Burton <ross.burton@arm.com>
Fri, 28 Oct 2022 15:23:53 +0000 (16:23 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 11 Nov 2022 14:24:18 +0000 (04:24 -1000)
commit8f852648fe730615c99bcdaace8a4748ef4e96a5
tree198b45eb11f082935786edb0ce3722c2555a662d
parentfa89e048e223ae2e96d0f55979f93f29904b5229
sanity: check for GNU tar specifically

We need the system tar to be GNU tar, as we reply on --xattrs.  Some
distributions may be using libarchive's tar binary, which is definitely
not as featureful, so check for this and abort early with a clear
message instead of later with mysterious errors.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7dd2b1cd1bb10e67485dab8600c0787df6c2eee7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/sanity.bbclass