aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-10-27 17:32:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-11-02 14:04:09 +0300
commit0370038a2c2e5fc575a543e2fbcf85a7c254283d (patch)
treed9edd44b7744593d052632a7d5f026a643cf0f31 /bpkg/pkg-configure.cxx
parentee7ec3887d5c15ae3ef719dd38237282fe8c11e8 (diff)
Add support for preserving old package configuration on up/downgrade and reconfiguration
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r--bpkg/pkg-configure.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index 0850001..eb5b85b 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -1109,7 +1109,10 @@ namespace bpkg
&p->config_variables,
move (src_root),
move (out_root),
- true /* load_old_dependent_config */),
+ nullopt /* old_src_root */,
+ nullopt /* old_out_root */,
+ package_skeleton::load_config_user |
+ package_skeleton::load_config_dependent),
nullptr /* prerequisites */,
false /* disfigured */,
false /* simulate */);