From 4120c30bbb7a5103fd5be2090ff3148fc4d05267 Mon Sep 17 00:00:00 2001 From: Alex Tu Date: Mon, 24 Jun 2019 14:07:01 +0800 Subject: platform_meta_test: correct the way to check meta installation. followed the merge of https://code.launchpad.net/~alextu/oem-qa-checkbox/+git/somerville-platform-meta-update/+merge/368600 --- bin/platform_meta_test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/platform_meta_test b/bin/platform_meta_test index f099dd9..56a6b9a 100755 --- a/bin/platform_meta_test +++ b/bin/platform_meta_test @@ -13,9 +13,9 @@ platform_tag=$(ubuntu-report show | grep DCD | awk -F'+' '{print $2}') [ -n "${platform_tag}" ] || failed "no platform tag in ubuntu-report" -dpkg -l ${platform_tag}-meta > /dev/null || failed "no platform meta be installed." +dpkg -l ${platform_tag}-meta > /dev/null || dpkg -l oem-${platform_tag}-meta > /dev/null || failed "no platform meta is installed." grep ${platform_tag} /etc/apt/sources.list.d/* > /dev/null || failed "no platform archive in source list" -echo "platform meta found" +echo "platform meta well installed" exit 0 -- cgit v1.2.3