Lines Matching full:pkg
110 -- "pkg" is always installed if present.
111 if component == "pkg" then return false end
203 -- both, and this way the user can remove the base set without pkg
212 -- If pkg is available, always install it so the user can manage the
214 -- from src alone won't have a pkg package.
215 if components["pkg"] then
216 table.insert(selected, "pkg")
231 local function select_packages(pkg, options)
250 local rquery = capture(pkg .. "rquery -U -r FreeBSD-base %n")
261 elseif package == "pkg" then
262 components["pkg"] = components["pkg"] or {}
263 table.insert(components["pkg"], package)
330 -- version of pkg.pkg as input.
331 if not os.execute("pkg -N > /dev/null 2>&1") then
332 print("Bootstrapping pkg on the host system")
333 assert(os.execute("pkg bootstrap -y"))
342 -- Since pkg always interprets fingerprints paths as relative to
351 local pkg = "pkg --rootdir " .. chroot ..
354 while not os.execute(pkg .. "update") do
360 local packages = table.concat(select_packages(pkg, options), " ")
362 while not os.execute(pkg .. "install -U -F -y -r FreeBSD-base " .. packages) do
368 if not os.execute(pkg .. "install -U -y -r FreeBSD-base " .. packages) then
373 assert(os.execute("mkdir -p " .. chroot .. "/usr/local/etc/pkg/repos"))
374 …assert(os.execute("echo 'FreeBSD-base: { enabled: yes }' > " .. chroot .. "/usr/local/etc/pkg/repo…