Date: Thu, 26 May 2022 21:08:32 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264264] pkg-static should support --repo-conf-dir Message-ID: <bug-264264-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264264 Bug ID: 264264 Summary: pkg-static should support --repo-conf-dir Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org The full pkg command supports a -R or --repo-conf-dir option to read its re= pos from a non-standard location. However, pkg-static does not. If it did, th= en you could easily boostrap pkg from the DVD installation media, like this: pkg --repo-conf-dir /dist/packages/repos -r FreeBSD_install_cdrom bootstrap or pkg --repo-conf-dir /dist/packages/repos -r FreeBSD_install_cdrom add /dist/packages/*amd64/All/pkg-*.pkg But since it does not, the only way to bootstrap pkg from the DVD is to copy that config file to /etc/pkg. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264264-227>