From: Daan De Meyer Date: Sun, 5 Nov 2023 12:15:50 +0000 (+0100) Subject: Use rpm to install rpms in building rpms from source doc X-Git-Tag: v19~26^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6a0e3a4ecbca2156dbb97c0c3d53b67106bf4f1;p=thirdparty%2Fmkosi.git Use rpm to install rpms in building rpms from source doc Let's get rid of an unnecessary indirection and just use rpm directly to install the rpms we built in the previous step as all the dependencies will be installed already and as such we don't need dnf. --- diff --git a/docs/building-rpms-from-source.md b/docs/building-rpms-from-source.md index afb92cf02..106283d83 100644 --- a/docs/building-rpms-from-source.md +++ b/docs/building-rpms-from-source.md @@ -152,8 +152,5 @@ post-installation script: #!/bin/sh set -e -dnf --cacheonly install "$OUTPUTDIR"/*mkosi*.rpm +rpm --install "$OUTPUTDIR"/*mkosi*.rpm ``` - -We make sure `dnf` never tries to sync the repositories when installing -these local rpms by specifying `--cacheonly`.