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 | |
parent | 675d1905db6941e2d9a33541f0a1ecf516a376b6 (diff) | |
download | openembedded-core-066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b.tar.gz openembedded-core-066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b.tar.bz2 openembedded-core-066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b.tar.xz openembedded-core-066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b.zip |
distcc: Make sure the distcc user exists
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3207 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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 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 |