mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
distcc: Fix remaining postinst issues
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3263 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "distcc is a parallel build system that distributes \
|
|||||||
compilation of C/C++/ObjC code across machines on a network."
|
compilation of C/C++/ObjC code across machines on a network."
|
||||||
SECTION = "devel"
|
SECTION = "devel"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
DEPENDS = "avahi gtk+"
|
DEPENDS = "avahi gtk+"
|
||||||
RRECOMMENDS = "avahi-daemon"
|
RRECOMMENDS = "avahi-daemon"
|
||||||
@@ -34,11 +34,11 @@ FILES_${PN} = " ${sysconfdir} \
|
|||||||
FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
|
FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
|
||||||
${datadir}/distcc"
|
${datadir}/distcc"
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst_${PN} () {
|
||||||
if test "x$D" != "x"; then
|
if test "x$D" != "x"; then
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
grep distcc /etc/passwd || adduser --system --home /dev/null --empty-password --ingroup nogroup distcc
|
grep distcc /etc/passwd || adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup distcc
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user