Skip to content

Commit

Permalink
docs: add the explanation of default.cfg with user's default.cfg.
Browse files Browse the repository at this point in the history
  • Loading branch information
junaruga authored and praiskup committed Mar 9, 2024
1 parent 90e5e3b commit 93acba9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 93acba9

Please sign in to comment.