diff options
author | Romain Naour <romain.naour@openwide.fr> | 2014-12-26 18:38:11 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-12-27 17:11:26 +0100 |
commit | 159cdbd5a3b3a14b004a6df2ce4bf202fb4cb592 (patch) | |
tree | 50ac1b36d4a81970025f36ded26cff36ad959849 | |
parent | 6ecbce22126596d7b4d81a9b85026e4cc91cb539 (diff) |
package/leafnode2: fix news user check
--enable-runas-user use 'news' as default but the configure stop
if news doesn't exist on the build host.
Use 'root' while cross-compiling
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/leafnode2/leafnode2.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/leafnode2/leafnode2.mk b/package/leafnode2/leafnode2.mk index 3bc1c6845..0fc2a8d70 100644 --- a/package/leafnode2/leafnode2.mk +++ b/package/leafnode2/leafnode2.mk @@ -14,9 +14,13 @@ LEAFNODE2_DEPENDENCIES = host-pcre pcre LEAFNODE2_CONF_ENV = \ PCRECONFIG="$(STAGING_DIR)/usr/bin/pcre-config" +# --enable-runas-user use 'news' as default but the configure stop +# if news doesn't exist on the build host. +# Use 'root' while cross-compiling LEAFNODE2_CONF_OPTS = \ --sysconfdir=/etc/leafnode2 \ - --enable-spooldir=/var/spool/news + --enable-spooldir=/var/spool/news \ + --enable-runas-user=root # Leafnode2 needs the host version of b_sortnl during # compilation. Instead of creating a seperate host package and |