Bug 4038 - util-linux: systemd unit files installed but not shipped
Summary: util-linux: systemd unit files installed but not shipped
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-03-18 06:41 UTC by Chen Qi
Modified: 2013-04-11 11:20 UTC (History)
9 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2013-03-18 06:41:29 UTC
WARNING: QA Issue: util-linux: Files/directories were installed but not shipped
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/uuidd.socket
  /lib/systemd/system/uuidd.service

Previously, systemd unit files were packaged into a separate -systemd package. But then commit 56b8bb79decd6149de538dceb7044b285ee0cbe9 removed this package.

commit 56b8bb79decd6149de538dceb7044b285ee0cbe9
Author: Khem Raj <raj.khem@gmail.com>
Date:   Wed Feb 13 20:02:01 2013 -0800

    util-linux: Remove -systemd package
    
    unit files are added to util-linux itself when selected


Thus this QA warning.

For now, I want to package these files directly into util-linux, as util-linux upstream is now supporting systemd.

+FILES_${PN} += "${systemd_unitdir}/system/"
Comment 1 Chen Qi 2013-03-19 06:10:10 UTC
Another problem in util-linux related to systemd.

If systemd is used, uuidd should be built with socket activation enabled.
So add '--enable-socket-activation' to EXTRA_OECONF.
Comment 2 Ross Burton 2013-04-11 11:20:01 UTC
Fixed in master (oe-core cd3c8c9cea560a584178ed831bfc3c014b6663e6) with the util-linux-uuidd package.