[OE-core] [PATCH] util-linux: add user uuidd and group uuidd
Burton, Ross
ross.burton at intel.com
Wed Aug 26 11:03:19 UTC 2015
On 25 June 2015 at 09:55, Li xin <lixin.fnst at cn.fujitsu.com> wrote:
> +pkg_postinst_${PN}-uuidd () {
> + if [ "x$D" != "x" ]; then
> + OPTS="--root=$D"
> + if type systemctl >/dev/null 2>/dev/null; then
> + systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE}
> + fi
> + exit 1
> + fi
> +
> + chown uuidd.uuidd ${sbindir}/uuidd
> + chmod g+s ${libdir}/libuuid
> +}
>
The systemd class handles the systemctl invocation for you, or would if you
set SYSTEMD_PACKAGES correctly.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150826/86a1a25c/attachment-0002.html>
More information about the Openembedded-core
mailing list