diff options
author | Bryan Drewery <bryan@shatow.net> | 2021-10-17 22:55:12 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2021-10-17 22:55:56 +0300 |
commit | 6ca9c6dc3f3a08f4cc1c589617170a38b35c6b1c (patch) | |
tree | f094aec805d6a2b8cc28fff6ca1e77d31e4b88ad | |
parent | 59a87677c953a2747ca47ccc212fb2db0e970880 (diff) |
enter_interactive: Don't pkg-update.
build_repo is currently blocked for dry run modes and building the repo
in a test situation does not seem prudent. For now just disable this as
it is very new.
Fixes 1ee1367219cef7b8
-rw-r--r-- | src/share/poudriere/common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 502fa68b..8fea0f12 100644 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -2006,7 +2006,8 @@ enter_interactive() { enabled: yes } EOF - injail pkg update + # XXX: build_repo ? + #injail pkg update || : msg "Remounting ${PORTSDIR} ${OVERLAYS:+and ${OVERLAYSDIR} }read-write" remount_ports -o rw >/dev/null @@ -2059,8 +2060,7 @@ enter_interactive() { setenv DEVELOPER 1 setenv DEVELOPER_MODE yes - Packages from /packages are loaded into 'pkg' and can be installed - as needed. + Packages from /packages can be installed with 'pkg add' as needed. If building as non-root you will be logged into ${PORTBUILD_USER}. su can be used without password to elevate. |