From: Zbigniew Jędrzejewski-Szmek Date: Thu, 22 Oct 2015 18:11:22 +0000 (-0400) Subject: man: also add --enablerepo=updates to dnf invocation X-Git-Tag: v228~165^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8b9d8f5e509c991692159fd1776f5b33507bb8c;p=thirdparty%2Fsystemd.git man: also add --enablerepo=updates to dnf invocation Without the updates repo, we are installing packages from the time that that version of Fedora was released. Normally, during the lifetime of the release most packages are updated, so most of the packages installed would be outdated, and the first update after installation would update a massive set of packages. Avoid all this by installing from the updates repo from the start. --- diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 0925e9d1870..ddad762653c 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -850,7 +850,7 @@ Build and boot a minimal Fedora distribution in a container - # dnf -y --releasever=23 --installroot=/srv/mycontainer --disablerepo=* --enablerepo=fedora install systemd passwd dnf fedora-release vim-minimal + # dnf -y --releasever=23 --installroot=/srv/mycontainer --disablerepo=* --enablerepo=fedora --enablerepo=updates install systemd passwd dnf fedora-release vim-minimal # systemd-nspawn -bD /srv/mycontainer This installs a minimal Fedora distribution into the