summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/distcc/distcc_2.18.3.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/packages/distcc/distcc_2.18.3.bb b/meta/packages/distcc/distcc_2.18.3.bb
index 7f557c41d..d52f696cb 100644
--- a/meta/packages/distcc/distcc_2.18.3.bb
+++ b/meta/packages/distcc/distcc_2.18.3.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "distcc is a parallel build system that distributes \
compilation of C/C++/ObjC code across machines on a network."
SECTION = "devel"
LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
DEPENDS = "avahi gtk+"
RRECOMMENDS = "avahi-daemon"
@@ -33,3 +33,13 @@ FILES_${PN} = " ${sysconfdir} \
${bindir}/distccmon-text"
FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
${datadir}/distcc"
+
+pkg_postinst() {
+ if test "x$D" != "x"; then
+ exit 1
+ else
+ grep distcc /etc/passwd || adduser --system --home /dev/null --empty-password --ingroup nogroup distcc
+ fi
+}
+
+ \ No newline at end of file