Bug 13386

Summary: toaster: improve warnings when adding dependency to packages
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact: Toaster default assignee <toaster>
Severity: normal    
Priority: Medium CC: jessica.zhang, stanciux.mihail
Version: 2.7   
Target Milestone: 3.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description David Reyna 2019-06-10 02:43:59 UTC
Some of the objects that bitbake reports to Toastes as dependencies to packages
are known objects that are not packages, for example library files and kernel
modules. In the Toaster logs, mark these as "Info" instead of "Warning".

Examples:

WARNING: Could not add dependency to the package libe2p2 because ld-linux.so.3 is an unknown package
WARNING: Could not add dependency to the package xxx because libsystemd-shared-242.so is an unknown package
WARNING: Could not add dependency to the package pam-plugin-loginuid because libpam-suffix is an unknown package
WARNING: Could not add dependency to the package xxx because libpam-suffix64 is an unknown package
WARNING: Could not add dependency to the package systemd because kernel-module-autofs4 is an unknown package
Comment 1 David Reyna 2020-03-27 20:01:05 UTC
commit 97a5762be1c8da4092ba7e51dbd46a0c8b9764e8