summaryrefslogtreecommitdiffstats
path: root/mkosi.images/system
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-03-27 13:00:11 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-03-27 13:00:11 +0100
commit0a6bf709dd55ee4c4ecb40becb7d9b506aa020a2 (patch)
treec0830acbbfc44687052e43b383c860e3ae80b81f /mkosi.images/system
parentUpdate pkg/fedora to latest (diff)
downloadsystemd-0a6bf709dd55ee4c4ecb40becb7d9b506aa020a2.tar.xz
systemd-0a6bf709dd55ee4c4ecb40becb7d9b506aa020a2.zip
mkosi: Specify --without docs if needed for fedora/centos
Diffstat (limited to 'mkosi.images/system')
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot
index 73c1910f8b..b8b130e0e8 100755
--- a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot
+++ b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot
@@ -20,7 +20,8 @@ rpmbuild \
-bb \
--build-in-place \
--with upstream \
- $( ((WITH_TESTS)) || echo --nocheck) \
+ $( ((WITH_TESTS)) || echo "--nocheck") \
+ $( ((WITH_DOCS)) || echo "--without docs") \
--define "_topdir /var/tmp" \
--define "_sourcedir pkg/$PKG_SUBDIR" \
--define "_rpmdir $PACKAGEDIR" \