-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Make "Building rpms from source" non-dnf specific
Let's make the doc non-dnf specific by not relying on dnf builddep and using mkosi-install to install packages. This allows using the same logic for opensuse images. We also simplify things by only installing --buildrequires since trying to cache --requires from the rpm spec isn't very useful as most of the --requires dependencies are automatically generated and won't be listed by rpmspec --requires in the first place.
- Loading branch information
1 parent
09c898a
commit f299a7d
Showing
3 changed files
with
91 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
set -e | ||
|
||
dnf install --best mkosi | ||
mkosi-install mkosi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters