From 93acba9061bb4b9da5d7e197d01a3dcdd7ae228d Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Thu, 7 Mar 2024 17:15:40 +0100 Subject: [PATCH] docs: add the explanation of default.cfg with user's default.cfg. --- docs/configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 17b52690d..6d103b41e 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -78,6 +78,13 @@ You may also copy and edit an existing configuration file into a new one: $ cp /etc/mock/fedora-rawhide-x86_64.cfg ~/.config/mock/foo.cfg +The default chroot configuration file is `/etc/mock/default.cfg`, which is +usually a symlink to one of the installed chroot configuration files. You may +create another symlink to an installed configuration file to change the default +chroot config file: + + $ ln -s /etc/mock/fedora-rawhide-x86_64.cfg ~/.config/mock/default.cfg + If Koji is already using a config you need, then you can use the Koji client tool for generating the file: