From f7f9648d31ce411b7e191b6b57ff1bd78b286e59 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Wed, 8 Dec 2010 21:01:03 +0000 Subject: [PATCH] vsftpd-2.0.5: don't run pkg_postinst on host Signed-off-by: Andreas Oberritter --- recipes/vsftpd/vsftpd_2.0.5.bb | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5