Some media may have 4GB files which will cause failure on a 32-bit
system scan.
This solves this on 32-bit systems with -D_FILE_OFFSET_BITS=64 compile
flag.
Bug-AGL: SPEC-604
Change-Id: Id941ee9f08b35e70ddab651268e5b443a26a9ec2
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9403
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
file://lightmediascanner.sh \
"
+CFLAGS_append = " -D_FILE_OFFSET_BITS=64"
+
inherit systemd
do_install_append() {