]> code.ossystems Code Review - openembedded-core.git/commit
lsbtest: add option --ignoreos to rpm install command
authorDengke Du <dengke.du@windriver.com>
Fri, 21 Apr 2017 04:15:53 +0000 (12:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Apr 2017 10:26:06 +0000 (11:26 +0100)
commitdb2798d967dbffed834070b52fe778efa18cb4ae
tree37587ddf121981a169c7a8574098133c606574fa
parentda11fbde6f8164e2774068b99bab84e4b6084713
lsbtest: add option --ignoreos to rpm install command

After change to the rpm4, the rpm packages in lsbtest, such as:

    lsb-setup-4.1.0-1.noarch.rpm
    lsb-dist-checker-5.0.0.1-1.x86_64.rpm
    ......
    lsb-cmdchk-5.0.3-1.x86_64.rpm

When install above rpm packages, the error log appears:

    package lsb-setup-4.1.0-1.noarch is intended for a different operating system
    ......

So we should add option "--ignoreos" to the rpm install command in LSB_Test.sh
in ./meta/recipes-extended/lsb/lsbtest directory. In this way we can make sure
the correct installation of those rpm packages.

The YOCTO bug #11224 didn't create logs, this is because the above test rpm
packages didn't install.

[YOCTO #11224]

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/lsb/lsbtest/LSB_Test.sh