Bug 8741

Summary: nativesdk-libpam: QA issue: installed-vs-shipped
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: dengke <dengke.du>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: 2.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
remove the /var directory within do_install none

Description Robert Yang 2015-12-01 02:47:12 UTC
WARNING: QA Issue: nativesdk-libpam: Files/directories were installed but not shipped in any package:
  /var
  /var/run
  /var/run/console
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nativesdk-libpam: 3 installed and not shipped files. [installed-vs-shipped]
Comment 1 dengke 2016-02-19 03:18:49 UTC
Created attachment 2999 [details]
remove the /var directory within do_install

In meta/recipes-extended/pam/libpam_1.2.1.bb file, the do_install function had remove the /var directory within do_install, using the following commands:
rm -rf ${D}${localstatedir}
Comment 2 dengke 2016-02-19 03:21:51 UTC
Someone had resolve it by doing the following:
rm -rf ${D}${localstatedir} 
in the meta/recipes-extended/pam/libpam_1.2.1.bb file within the do_install function