diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-22 18:01:54 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-22 18:01:54 +0000 |
commit | 066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b (patch) | |
tree | 06ecf0bd7896fde9fc7fb9fd72e651a315390be4 /meta | |
parent | 675d1905db6941e2d9a33541f0a1ecf516a376b6 (diff) | |
download | poky-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.bb | 12 |
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 \ | |||
2 | compilation of C/C++/ObjC code across machines on a network." | 2 | compilation of C/C++/ObjC code across machines on a network." |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | DEPENDS = "avahi gtk+" | 7 | DEPENDS = "avahi gtk+" |
8 | RRECOMMENDS = "avahi-daemon" | 8 | RRECOMMENDS = "avahi-daemon" |
@@ -33,3 +33,13 @@ FILES_${PN} = " ${sysconfdir} \ | |||
33 | ${bindir}/distccmon-text" | 33 | ${bindir}/distccmon-text" |
34 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ | 34 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ |
35 | ${datadir}/distcc" | 35 | ${datadir}/distcc" |
36 | |||
37 | pkg_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 | ||