From 36aa198eb878bebb35d6a641a0f3f0ed74e670c8 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Wed, 13 Sep 2023 10:54:39 +0200 Subject: [PATCH] Add information about breaking changes --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index d44f8fc..0b5553f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,33 @@ ## jaildk - a FreeBSD jail development kit v2.0.0 +## Breaking Changes + +It is not possible to upgrade an existing installation of jaildk using +the builtin `jaildk update` from version 1.x to 2.x! + +So, in order to upgrade to the next major version, check out the repo and execute: + +``` +make +make install JAILDIR=/your/jaildir +``` + +See below for more details. Starting with 2.0.0 `jaildk update` can be used again. + +In addition starting with 2.0.0 the commandlines of the following subcommands changed: + +| 1.x | 2.0.0 up | +|-------------------------------------------------------|----------------------------------------------------------| +| jaildk build [-b ] [-v ] | jaildk build -m [-b ] [-v ] | +| jaildk install [-r function] | jaildk install -m [-r function] | +| rc [-r ] | rc -m [-r ] | +| ipfw | ipfw -m | + +So, every subcommand supporting a mode parameter needs that parameter +now specified as an argument to the `-m` parameter. + +## Introduction + This is the README for the FreeBSD jail utility `jaildk`. It can be used to build, update, manage and run jails in a versioned environment.