From: Daan De Meyer Date: Tue, 27 Aug 2024 11:04:48 +0000 (+0200) Subject: Specify --noprep when building rpms from source X-Git-Tag: v25~334 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d0449a9f022e6ef85a49aba7fd4cfe35b185aa;p=thirdparty%2Fmkosi.git Specify --noprep when building rpms from source rpm upstream is moving in this direction as well so let's update our docs to match. --- diff --git a/docs/building-rpms-from-source.md b/docs/building-rpms-from-source.md index efbd105e9..14fd81451 100644 --- a/docs/building-rpms-from-source.md +++ b/docs/building-rpms-from-source.md @@ -81,6 +81,7 @@ until mkosi-chroot \ env --chdir=mkosi \ rpmbuild \ -bd \ + --noprep \ --build-in-place \ --define "_topdir /var/tmp" \ --define "_sourcedir $PWD/mkosi/rpm" \ @@ -154,6 +155,7 @@ set -e env --chdir=mkosi \ rpmbuild \ -bb \ + --noprep \ --build-in-place \ $([ "$WITH_TESTS" = "0" ] && echo --nocheck) \ --define "_topdir /var/tmp" \ diff --git a/mkosi.conf.d/30-rpm/mkosi.build.chroot b/mkosi.conf.d/30-rpm/mkosi.build.chroot index 90edb1c42..a15df21ad 100755 --- a/mkosi.conf.d/30-rpm/mkosi.build.chroot +++ b/mkosi.conf.d/30-rpm/mkosi.build.chroot @@ -4,6 +4,7 @@ set -ex rpmbuild \ -bb \ + --noprep \ --build-in-place \ $([ "$WITH_TESTS" = "0" ] && echo --nocheck) \ --define "_topdir /var/tmp" \