diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-09-02 14:39:37 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-09-03 13:18:38 +0200 |
commit | d55ad7fe96eb1edf438a7a41a465723bd29d4b10 (patch) | |
tree | 6f357fcd48fd63d53818fc4d2173690d0ab090a4 /mkosi.default.d/debian | |
parent | 6ad92aaf901a47bc96cb42192f26f03c48fbd702 (diff) | |
download | systemd-d55ad7fe96eb1edf438a7a41a465723bd29d4b10.tar.gz |
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.
Diffstat (limited to 'mkosi.default.d/debian')
-rw-r--r-- | mkosi.default.d/debian/mkosi.debian | 70 |
1 files changed, 70 insertions, 0 deletions
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 |