summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-22 18:01:54 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-22 18:01:54 +0000
commit066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b (patch)
tree06ecf0bd7896fde9fc7fb9fd72e651a315390be4 /meta
parent675d1905db6941e2d9a33541f0a1ecf516a376b6 (diff)
downloadpoky-066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b.tar.gz
distcc: Make sure the distcc user exists
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3207 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-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 7f557c41d1..d52f696cb3 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 \
2compilation of C/C++/ObjC code across machines on a network." 2compilation of C/C++/ObjC code across machines on a network."
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5PR = "r1" 5PR = "r2"
6 6
7DEPENDS = "avahi gtk+" 7DEPENDS = "avahi gtk+"
8RRECOMMENDS = "avahi-daemon" 8RRECOMMENDS = "avahi-daemon"
@@ -33,3 +33,13 @@ FILES_${PN} = " ${sysconfdir} \
33 ${bindir}/distccmon-text" 33 ${bindir}/distccmon-text"
34FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ 34FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
35 ${datadir}/distcc" 35 ${datadir}/distcc"
36
37pkg_postinst() {
38 if test "x$D" != "x"; then
39 exit 1
40 else
41 grep distcc /etc/passwd || adduser --system --home /dev/null --empty-password --ingroup nogroup distcc
42 fi
43}
44
45 \ No newline at end of file