tar -xz -xvf ../../../4.9.22-piCore_modules.tar.xz lib/modules/4.9.22-piCore/kernel/drivers/connector/cn.ko
Weird
I believe to untar a *.tar.xz file, one should do
tar Jxf file.tar.xz
BTW, each option of tar has a meaning.
- in linux, the dash usually starts at the beginning of the options. (However, for tar command, it can be omitted)
x extract the file
c compress files
z extract/compress files by gzip
j bzip2
J any thing hat has xz in it
v verbose output
I've heard that modern tar recognizes the format by itself.
Not sure if that's the case for "busybox tar" (default for TC).