I can’t get this script to utilize local repos. It appears this script creates its own pkg config, and based on the following lines, it excludes /usr/local/etc/pkg/repos.
|
" -o REPOS_DIR=" .. options.rootdir .. "/etc/pkg/," .. repo_conf_dir() .. " " |
|
local pkg = "pkg -o PKG_DBDIR=" .. tmp_db .. " -o REPOS_DIR=" .. options.rootdir .. "/etc/pkg," .. tmp_repos .. " " |
Adding .. options.rootdir .. "/usr/local/etc/pkg/repos/," to both lines seems to fix it.
I can’t get this script to utilize local repos. It appears this script creates its own pkg config, and based on the following lines, it excludes /usr/local/etc/pkg/repos.
pkgbasify/pkgbasify.lua
Line 156 in 7b66ae6
pkgbasify/pkgbasify.lua
Line 432 in 7b66ae6
Adding
.. options.rootdir .. "/usr/local/etc/pkg/repos/,"to both lines seems to fix it.