summaryrefslogtreecommitdiffstats
path: root/.mkosi/mkosi.fedora (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mkosi: move distro files to mkosi.default.d/Zbigniew Jędrzejewski-Szmek2021-09-031-73/+0
| | | | | | | | | | | | | | | | | 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: stop pulling in viZbigniew Jędrzejewski-Szmek2021-05-191-1/+0
| | | | We have 'nano' everywhere, and it's enough for a casual edit.
* mkosi/fedora: use pkgconfig virtual provides to refer to packagesZbigniew Jędrzejewski-Szmek2021-05-191-33/+35
| | | | | | | | | ... and /usr/bin/ path for a library package which provides an executable we care about (libxslt). This way the mkosi dependency list corresponds directly to the names which are used in the dependency() and find_program() lines in meson.build. It also makes the thing more resilient to package splits and renames.
* mkosi/fedora: drop python3-devel reqZbigniew Jędrzejewski-Szmek2021-05-191-1/+0
| | | | | | I think it was only used for building the python wrappers. C.f. https://src.fedoraproject.org/rpms/systemd/c/ec9ca01d16bf6eda50b77f64dccf1caa06d29374?branch=rawhide.
* Drop dependency on m4Zbigniew Jędrzejewski-Szmek2021-05-191-1/+0
| | | | | | | | | | | | | | | | m4 was hugely popular in the past, because autotools, automake, flex, bison and many other things used it. But nowadays it much less popular, and might not even be installed in the buildroot. (m4 is small, so it doesn't make a big difference.) (FWIW, Fedora dropped make from the buildroot now, https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot. I think it's reasonable to assume that m4 will be dropped at some point too.) The main reason to drop m4 is that the syntax is not very nice, and we should minimize the number of different syntaxes that we use. We still have two (configure_file() with @FOO@ and jinja2 templates with {{foo}} and the pythonesque conditional expressions), but at least we don't need m4 (with m4_dnl and `quotes').
* meson, mkosi: pull in jinja2 as requiredZbigniew Jędrzejewski-Szmek2021-05-191-0/+1
| | | | In preparation for subsequent changes.
* mkosi: stop pulling in workaround packagesZbigniew Jędrzejewski-Szmek2021-05-171-3/+0
| | | | | | | | | | | libfido2 was pulled in recently [1], and the dependency on libzstd has been present for a long time. nano is now the default editor in Fedora [2], but we still want to pull it in to have an editor in minimal images. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1949505 [2] https://fedoraproject.org/wiki/Changes/UseNanoByDefault
* mkosi: do not pull in perl dependenciesZbigniew Jędrzejewski-Szmek2021-04-281-2/+0
| | | | It was added in e2c5e698c0, but nobody remembers why exactly.
* mkosi,man: bump fedora versionZbigniew Jędrzejewski-Szmek2021-04-281-1/+1
| | | | | | F34 was just released and should be fine for systemd builds. Cloud-1.2 is the latest version.
* Move shared mkosi settings to a single file in mkosi.default.d/Daan De Meyer2021-01-061-19/+0
|
* mkosi: Enable HostonlyInitrd optionDaan De Meyer2021-01-031-0/+1
| | | | Split out from #17919.
* Enable more mkosi optionsDaan De Meyer2021-01-011-0/+5
| | | | | | | | | | | | | - HostonlyInitrd reduces the size of the initramfs which speeds up QEMU boot times. - Autologin and deleting the root password remove the manual login step whenever starting the systemd-nspawn container or QEMU vm. - NetworkVeth passes --network-veth to the nspawn container when using mkosi boot and emulates --network-veth with a tap device and networkd's 80-vm-vt.network builtin network file when using mkosi qemu. --network-veth makes it easier to test network and resolved in mkosi's nspawn container or QEMU vm.
* mkosi: Add basic editors to final imagesDaan De Meyer2020-12-191-0/+2
| | | | | | It's often useful to have an editor available to edit some random config file in the final image. Let's install some basic editors that don't take up too much space.
* mkosi: add TPM2 packages to debian/ubuntu/fedora mkosi filesLennart Poettering2020-12-171-0/+2
| | | | As suggested: https://github.com/systemd/systemd/pull/17741#issuecomment-743479834
* mkosi: Add strace to final imagesDaan De Meyer2020-12-091-0/+1
| | | | Useful for debugging purposes.
* mkosi: Add gdb to final imagesDaan De Meyer2020-12-091-0/+1
| | | | | | Let's add a debugger to the mkosi images so we can debug coredumps from inside mkosi qemu VMs (and hopefully in the future from mkosi systemd-nspawn containers as well).
* mkosi: Enable --qemu-headless option for all distrosDaan De Meyer2020-12-081-0/+3
| | | | | | | | | | | | | | --qemu-headless configures the generated image and mkosi's qemu command to connect to the VM via the serial port. This allows spawning a qemu VM within the user's terminal instead of spawning a graphical GTK GUI. --qemu-headless sets TERM, COLUMNS and LINES in serial-getty@ttyS0.service in the container which makes the terminal in the VM behave almost equivalent to the one on the host. This change makes testing changes to systemd using mkosi + QEMU a lot easier compared to before as commands can be executed in the VM from the comfort of one's terminal compared to the Linux console available when running via the GTK GUI.
* mkosi: Add findutils to Fedora configDaan De Meyer2020-12-041-0/+1
| | | | find is needed by test_exec_dynamicuser.
* mkosi: Add rpm to Fedora BuildPackages as it's needed by pkg-configDaan De Meyer2020-12-041-0/+1
|
* mkosi: make sure our mkosi files work with f33Lennart Poettering2020-11-251-1/+3
|
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* mkosi: include libfido2 binary package in mkosi manually for nowLennart Poettering2020-09-191-1/+2
| | | | | | | As long as the RPM version does not include a dep for it yet, we need to add it manually, since we now link against it. Follow-up for: 95f7ab2fe66cc3bb3a95eb8690114732eab30555
* mkosi: update rules in mkosi.default.networkd-test bootZbigniew Jędrzejewski-Szmek2020-09-171-0/+1
| | | | | | | We need to include ninja-build in the packages list because meson doesn't depend on it (because it supports other backends too). Also drop xz-devel, it's not crucial for the test.
* mkosi: include libfido2 in fedora mkosi imageLennart Poettering2020-09-121-0/+1
| | | | | We want to build this image with as many deps turned on as we can make happen, hence include libfido2 in the image.
* mkosi: Update help comment in settings filesDaan De Meyer2020-07-161-1/+1
|
* man,mkosi: bump Fedora versionZbigniew Jędrzejewski-Szmek2020-06-021-1/+1
|
* Tidy up the Fedora mkosi Package listJeremy Cline2020-05-131-7/+3
| | | | | | | | | | | | libzstd is a new dependency for systemd that's not in a stable release yet, so it's not pulled in by the RPM package dependency. Manually include it in the package section so the image mkosi produces works. It can be removed when the RPM depends on it. Additionally, a number of packages in the list appear to be pulled in because they're dependencies in the systemd rpm, so remove them. Finally, mkosi v5 adds the proper fs utilities for bootable images type so drop that dependency as well.
* install libzstd-dev for CI buildsNorbert Lange2020-05-041-0/+2
|
* test: Simplify hostname checkingMichal Koutný2020-04-221-1/+0
| | | | | Both hostname and uname utilities boil down to uname(2) syscall. Reduce tests dependency footprint by using uname for checking hostname too.
* tree-wide: drop printk.devkmsg=on setting in various placesZbigniew Jędrzejewski-Szmek2020-03-031-1/+0
| | | | Since 6123dfaa72 this should not be necessary anymore.
* man,mkosi: use glibc-minimal-langpack for FedoraZbigniew Jędrzejewski-Szmek2020-03-031-0/+1
| | | | | This saves ~24MB of space, see https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot.
* mkosi: add fdisk-devel, openssl-devel, libpwquality-devel, p11kit-devel and ↵Lennart Poettering2020-01-281-0/+3
| | | | | | | efsck to build This is preparation for subsequent additions which link against these libraries.
* mkosi: modernizeLennart Poettering2020-01-201-2/+10
| | | | | | | | | | Fedora minimization had some effect, hence add some required dependencies explicitly so that we work anyway. Also, the libtool is not used anymore, drop it. Finally, the mkosi output format is called gpt_ext4 now, not raw_ext4 anymore.
* Update to Fedora31Jóhann B. Guðmundsson2019-10-311-1/+1
|
* mkosi: update to Fedora30 (#12642)Jóhann B. Guðmundsson2019-05-231-1/+1
|
* mkosi: use Fedora 29Zbigniew Jędrzejewski-Szmek2018-10-181-1/+1
| | | | | F29 is at beta now, but should be out within two or three weeks, by the time next systemd release happens.
* mkosi: make kmsg work in our mkosi builds at leastLennart Poettering2018-10-161-0/+1
|
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* mkosi: ensure the 'hostname' tool is available in the build environmentLennart Poettering2018-04-191-0/+1
| | | | | Our test-execute test uses 'hostname' to validate specifiers, hence it should be available in our mkosi build too, so that the test can pass.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* mkosi: remove intltool from depsZbigniew Jędrzejewski-Szmek2018-02-161-1/+1
| | | | | | | | | | | intltool is unnecessary since c81217920effddc93fb780cf8f9eb699d6fe1319. But we still need gettext, because we use msgformat to generate .mo files. (I tried to make meson depend on it, at least in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1545926, but that didn't fly, and in Debian at least meson also has no dependency on the tools used by its i18n module, so we need to add our own dependency anyway.) Closes #8192.
* Merge pull request #8184 from poettering/color-ask-pwZbigniew Jędrzejewski-Szmek2018-02-151-0/+1
|\ | | | | | | Trivial merge conflict resolved locally.
| * mkosi: add pcre2 to our build deps, as we can now link to itLennart Poettering2018-02-141-0/+1
| |
* | mkosi: update to fedora 27, it's released since a whileLennart Poettering2018-02-121-1/+1
|/
* Add SPDX license headers to various assorted filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* mkosi: configure mkosi.cache/ and mkosi.builddir/ explicitlyLennart Poettering2017-11-101-0/+3
| | | | | | | | This way these dirs will be created automatically if they are missing, thus always guaranteeing optimal speedy behaviour. (Well at least, after https://github.com/systemd/mkosi/pull/181 is merged)
* mkosi: add m4 (#6389)Lucas Werkmeister2017-07-181-0/+1
| | | This seems to be required since the move to meson.
* Merge pull request #6176 from poettering/timer-boottime-monotonicZbigniew Jędrzejewski-Szmek2017-06-231-1/+1
|\ | | | | WakeSystem= and other timer fixes.
| * mkosi: order package list alphabetically againLennart Poettering2017-06-221-1/+1
| |