diff options
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 | ||