From 5b18d0d73980102aadc91678b1454b624cf6b253 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 5 Dec 2018 12:09:05 +0200 Subject: Update upgrade instructions --- UPGRADE.cli | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'UPGRADE.cli') diff --git a/UPGRADE.cli b/UPGRADE.cli index 92f46ef..964749c 100644 --- a/UPGRADE.cli +++ b/UPGRADE.cli @@ -37,10 +37,14 @@ The dirty upgrade is straightforward: \ $ cd build2-toolchain-X.Y $ bpkg fetch -$ bpkg build --for install build2 bpkg bdep +$ bpkg build --for install -ur build2 bpkg bdep $ bpkg install build2 bpkg bdep \ +\N|The \c{-ur} options stands for \c{--upgrade} and \c{--recursive} \- upgrade +the listed packages and their dependencies, recursively. See +\l{bpkg-pkg-build(1)} for details.| + You may also want to issue the \c{status} command after \c{fetch} to examine which versions are available. By default \c{bpkg} will upgrade to the latest available but you can override this by specifying the desired version @@ -102,7 +106,7 @@ configuration and install the new toolchain with the \c{-stage} suffix: \ $ cd build2-toolchain-X.Z -$ bpkg build --for install build2 bpkg bdep +$ bpkg build --for install -ur build2 bpkg bdep $ bpkg install \ config.bin.suffix=-stage \ config.install.data_root=root/stage \ -- cgit v1.1