Bug 8741 - nativesdk-libpam: QA issue: installed-vs-shipped
Summary: nativesdk-libpam: QA issue: installed-vs-shipped
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1 M3
Assignee: dengke
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-12-01 02:47 UTC by Robert Yang
Modified: 2016-02-19 03:21 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
remove the /var directory within do_install (51.07 KB, image/png)
2016-02-19 03:18 UTC, dengke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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