summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp/x-load/x-load.inc
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2011-12-29 19:29:06 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-03 12:10:51 +0000
commitfe48e55988a2208bb7a3a2cc2bc641c41dbd1cb0 (patch)
tree0c1866ce86b41d02e40eb0768153f4bef7e63775 /meta/recipes-bsp/x-load/x-load.inc
parentf3c4532a24f0871f57768aa18808c5b8069de4f7 (diff)
downloadopenembedded-core-fe48e55988a2208bb7a3a2cc2bc641c41dbd1cb0.tar.gz
openembedded-core-fe48e55988a2208bb7a3a2cc2bc641c41dbd1cb0.tar.bz2
openembedded-core-fe48e55988a2208bb7a3a2cc2bc641c41dbd1cb0.tar.xz
openembedded-core-fe48e55988a2208bb7a3a2cc2bc641c41dbd1cb0.zip
rpm2cpio.sh: make compression tests case-insensitive
In the rpm2cpio.sh script, the output of $COMPRESSION is tested for certain lowercase strings such as 'xz' in order to determine the decompression to use. The problem is that the output strings tested are from the output of 'file', which uses different cases in different versions e.g. file-5.09 prints: tmp/sysroots/x86_64-linux/usr/bin$ ./file xxx.tar.xz: XZ compressed data while file-5.03 prints: tmp/sysroots/x86_64-linux/usr/bin$ ./file xxx.tar.xz: xz compressed data In the former, the XZ string causes xz compressed payloads to incorrectly fall through to the catch-all lzma case. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta/recipes-bsp/x-load/x-load.inc')
0 files changed, 0 insertions, 0 deletions