From d55ad7fe96eb1edf438a7a41a465723bd29d4b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 2 Sep 2021 14:39:37 +0200 Subject: mkosi: move distro files to mkosi.default.d/ With this change, "mkosi build" will automatically build systemd for the current distro without any further configuration. If people want to do a cross-distro build by default, they can still create mkosi.default, but I assume that this is relatively rare. If people have symlinked mkosi.default to one of the files in .mkosi/, they'll need to adjust the symlink. (Building without configuration would always fail, since systemd has many many required dependencies. I think it's nicer to do the most commonly expected thing by default, i.e. rebuild for the current distro.) Mkosi is nowadays packaged for most distros, so recommend installing of distro packages as the primary installation mechanism. --- mkosi.default.d/debian/mkosi.debian | 70 +++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 mkosi.default.d/debian/mkosi.debian (limited to 'mkosi.default.d/debian') diff --git a/mkosi.default.d/debian/mkosi.debian b/mkosi.default.d/debian/mkosi.debian new file mode 100644 index 0000000000..9bd504bf57 --- /dev/null +++ b/mkosi.default.d/debian/mkosi.debian @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi). +# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image. + +[Distribution] +Distribution=debian +Release=unstable + +[Packages] +BuildPackages= + acl + docbook-xml + docbook-xsl + gcc + gettext + git + gnu-efi + gperf + libacl1-dev + libaudit-dev + libblkid-dev + libbz2-dev + libcap-dev + libcryptsetup-dev + libcurl4-gnutls-dev + libdbus-1-dev + libdw-dev + libfdisk-dev + libfido2-dev + libgcrypt20-dev + libgnutls28-dev + libidn2-0-dev + libiptc-dev + libkmod-dev + liblz4-dev + liblz4-tool + liblzma-dev + libmicrohttpd-dev + libmount-dev + libpam0g-dev + libqrencode-dev + libseccomp-dev + libsmartcols-dev + libssl-dev + libtss2-dev + libxkbcommon-dev + libzstd-dev + meson + pkg-config + python3 + python3-lxml + python3-jinja2 + tree + uuid-dev + xsltproc + xz-utils + zstd + +Packages= + gdb + libfdisk1 + libfido2-1 + libidn2-0 + libqrencode4 + # We pull in the -dev package here, since the binary ones appear to change names too often, and the -dev package pulls the right deps in automatically + libtss2-dev + locales + nano + strace -- cgit v1.2.1