mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
meta/scripts: Improve internal variable naming
Update internal variable names to improve the terms used. (From OE-Core rev: f408068e5d7998ae165f3002e51bc54b380b8099) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8827a3ed80
commit
d9e500f83d
@@ -221,12 +221,12 @@ def packages_filter_out_system(d):
|
||||
PN-dbg PN-doc PN-locale-eb-gb removed.
|
||||
"""
|
||||
pn = d.getVar('PN')
|
||||
blacklist = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src')]
|
||||
pkgfilter = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src')]
|
||||
localepkg = pn + "-locale-"
|
||||
pkgs = []
|
||||
|
||||
for pkg in d.getVar('PACKAGES').split():
|
||||
if pkg not in blacklist and localepkg not in pkg:
|
||||
if pkg not in pkgfilter and localepkg not in pkg:
|
||||
pkgs.append(pkg)
|
||||
return pkgs
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"expected_results": ""
|
||||
},
|
||||
"5": {
|
||||
"action": "Remove USB, and reboot into new installed system. \nNote: If installation was successfully completed and received this message \"\"(sdx): Volume was not properly unmounted...Please run fsck.\"\" ignore it because this was whitelisted according to bug 9652.",
|
||||
"action": "Remove USB, and reboot into new installed system. \nNote: If installation was successfully completed and received this message \"\"(sdx): Volume was not properly unmounted...Please run fsck.\"\" ignore it because this was allowed according to bug 9652.",
|
||||
"expected_results": ""
|
||||
}
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@ from oeqa.utils.commands import bitbake, get_bb_vars, runCmd
|
||||
# The only package added to the image is container_image_testpkg, which
|
||||
# contains one file. However, due to some other things not cleaning up during
|
||||
# rootfs creation, there is some cruft. Ideally bugs will be filed and the
|
||||
# cruft removed, but for now we whitelist some known set.
|
||||
# cruft removed, but for now we ignore some known set.
|
||||
#
|
||||
# Also for performance reasons we're only checking the cruft when using ipk.
|
||||
# When using deb, and rpm it is a bit different and we could test all
|
||||
|
||||
Reference in New Issue
Block a user