]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 29 Oct 2022 15:23:27 +0000 (16:23 +0100)
commit7dd2b1cd1bb10e67485dab8600c0787df6c2eee7
tree1aea31fbd75b4fa88eea176532ab24a43651121e
parentf10cdc155e47af5627ee999c57e1d083f9382a91
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>
meta/classes-global/sanity.bbclass