[oe] [meta-webserver] [PATCH] fix nginx with large files support

Wangchong Zhou fffonion at gmail.com
Fri Oct 27 14:40:22 UTC 2017


Thanks, patch attached.

Signed-off-by: Wangchong Zhou <fffonion at gmail.com>
---
 meta-webserver/recipes-httpd/nginx/nginx.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index 4a97e2670..4cdf892c7 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -57,7 +57,7 @@ do_configure () {
     --with-ptr-size=${PTRSIZE} \
     --with-sig-atomic-t=${PTRSIZE} \
     --with-size-t=${PTRSIZE} \
-    --with-off-t=${PTRSIZE} \
+    --with-off-t=8 \
     --with-time-t=${PTRSIZE} \
     --with-sys-nerr=132 \
     --conf-path=${sysconfdir}/nginx/nginx.conf \
--
2.13.5

On Thu, Oct 26, 2017 at 9:05 PM, Andre McCurdy <armccurdy at gmail.com> wrote:

> On Tue, Oct 24, 2017 at 8:06 PM, Wangchong Zhou <fffonion at gmail.com>
> wrote:
> > On Tue, Oct 24, 2017 at 11:01 PM, Andre McCurdy <armccurdy at gmail.com>
> wrote:
> >> Note that disabling the largefile distro feature isn't supported in
> >> oe-core any more (the conditional tests have been removed, so all
> >> recipes in oe-core build with LFS enabled even if you disable the
> >> largefile distro feature).
> >>
> >> http://git.openembedded.org/openembedded-core/commit/?id=
> a75ccaea77c8aad8d46e87e8ed4af2e2e0ad5327
> >>
> >> It's perhaps not the right approach to be adding new conditional tests
> >> now in meta-oe.
> >
> > So guess we are safe to hardcode off_t to be 8?
>
> Yes, I think so.
>



More information about the Openembedded-devel mailing list