]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
sqlite3: use 1024 for MAX_PATHNAM rbt/long
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 22 Nov 2017 07:31:33 +0000 (15:31 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 30 Nov 2017 01:27:27 +0000 (09:27 +0800)
commit917550ac335cd0af547d301f41605d8de6678d19
tree55587c8154fb33857d1491d935395281bc31d238
parentf8f2799d5b4c51969c904a7a09b75caae1020b31
sqlite3: use 1024 for MAX_PATHNAM

The 512 is a little small when len(TMPDIR) == 410, it would be failed when
do_rootfs, use 1024 to fix problem:

Fixed when len(TMPDIR) == 410:
$ bitbake core-image-minimal
[snip]
"tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 799, in _get_cursor
    self._conn = sqlite.connect(self._db_file)
sqlite3.OperationalError: unable to open database file

[YOCTO #12374]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-support/sqlite/files/0001-sqlite3.c-use-1024-MAX_PATHNAME.patch [new file with mode: 0644]
meta/recipes-support/sqlite/sqlite3_3.21.0.bb