]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Disable debug package generation on Arch Linux
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 22 Mar 2024 15:49:10 +0000 (16:49 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 22 Mar 2024 15:49:10 +0000 (16:49 +0100)
This is extremely slow since the latest pacman release, and since
we don't strip binaries, not really needed either.

mkosi.images/base/mkosi.conf.d/10-arch/mkosi.build.chroot

index aff566f94c24fb409cce0f334bff3b760bd5fda7..5304afff28d5091969aa487bf3255a51d215bab7 100755 (executable)
@@ -23,7 +23,7 @@ mount --mkdir --rbind "$PWD/pkg/$PKG_SUBDIR" "pkg/$PKG_SUBDIR/src/"
 # tmpfs during the build script so these changes don't end up in the image itself.
 tee --append /etc/makepkg.conf >/dev/null <<EOF
 CFLAGS="$CFLAGS -Og"
-OPTIONS=(!strip docs !libtool !staticlibs emptydirs !zipman purge debug !lto)
+OPTIONS=(!strip docs !libtool !staticlibs emptydirs !zipman purge !debug !lto)
 EOF
 
 # Linting the PKGBUILD takes multiple seconds every build so avoid that by nuking all the linting functions.