diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2010-12-08 21:01:03 +0000 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2010-12-09 22:26:07 +0100 |
commit | f7f9648d31ce411b7e191b6b57ff1bd78b286e59 (patch) | |
tree | 3dca578d1ec52af47ba0a1bcf859a722e20631a4 /recipes/vsftpd | |
parent | ff004eb674ac9af8dd42185f49f1ff898c009c8f (diff) | |
download | openembedded-f7f9648d31ce411b7e191b6b57ff1bd78b286e59.tar.gz |
vsftpd-2.0.5: don't run pkg_postinst on host
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'recipes/vsftpd')
-rw-r--r-- | recipes/vsftpd/vsftpd_2.0.5.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb index 0b9e75dbb5..518628e4f5 100644 --- a/recipes/vsftpd/vsftpd_2.0.5.bb +++ b/recipes/vsftpd/vsftpd_2.0.5.bb @@ -35,6 +35,9 @@ do_install() { } pkg_postinst() { + if [ "x$D" != "x" ]; then + exit 1 + fi addgroup ftp adduser --system --home /var/lib/ftp --no-create-home --ingroup ftp --disabled-password -s /bin/false ftp mkdir -p ${localstatedir}/share/empty |