summaryrefslogtreecommitdiff
path: root/mkosi.postinst
Commit message (Collapse)AuthorAgeFilesLines
* mkosi: Reduce postinst script indentationDaan De Meyer2023-02-211-37/+39
|
* mkosi: Move more logic to the postinst scriptDaan De Meyer2023-02-211-4/+49
| | | | | | Let's move stuff that only applies to the final image to the postinst script. Let's also move out some of the static files to mkosi.extra/ instead of hardcoding them in scripts.
* mkosi: Drop opensuse workaroundDaan De Meyer2023-02-211-10/+0
|
* mkosi: Drop bootctl workaround in postinst scriptDaan De Meyer2023-02-211-4/+0
|
* mkosi: drop spaces after shell redirection operatorZbigniew Jędrzejewski-Szmek2022-11-141-2/+2
|
* mkosi: Ensure we build all features/components in mkosiDaan De Meyer2022-08-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | Explicitly enable all features/components in the mkosi build to ensure they all get built and we get an error if they can't be built. We also rework the packages sections of all mkosi configs to reduce duplication and cover all the dependencies necessary to build/use all systemd features. Note that for the final image, since systemd is installed by default in base images, we rely on that to install the base library dependencies and we only list extra optional dependencies and tools that aren't already installed by default into the base image. We also drop the centos stream 8 mkosi build as dependencies on that distro are too out-of-date to be able to build all systemd features. Since centos stream 9 has been out for a while, let's focus on that and leave it to downstream to keep systemd building on centos stream 8. Finally, there's a few additions to the mkosi scripts to make sure services don't start by default on boot.
* mkosi: Silence gdb debuginfo messages/promptsDaan De Meyer2022-07-191-0/+5
| | | | | | Let's silence gdb asking about debuginfod and complaining about missing debuginfo to reduce friction when using mkosi to work on systemd.
* mkosi: Changes to allow booting with sanitizers in mkosiDaan De Meyer2022-07-181-2/+12
| | | | | | | | | | | | - Extra memory because ASAN needs it - The environment variables to make the sanitizers more useful - LD_PRELOAD because the ASAN DSO needs to be the first in the list - The sanitizer library packages - Disable syscall filters because they interfere with ASAN - Disable systemd-hwdb-update because it's super slow when systemd-hwdb is built with sanitizers - Take the value for meson's b_sanitize option from the SANITIZERS environment variable
* mkosi: Don't try to install systemd-boot in non-efi imagesDaan De Meyer2022-07-181-1/+1
| | | | | When using mkosi's direct linux boot support, there's no EFI system partition so don't try to install systemd-boot in that case.
* ci: check for failed services after bootFrantisek Sumsal2021-12-101-0/+10
| | | | | This should, hopefully, catch issues like systemd/systemd#21671 automagically.
* mkosi: Install sd-boot using postinst script instead of in build scriptDaan De Meyer2021-11-251-0/+6
| | | | | This allows us to reuse bootctl install instead of replicating the logic in the build script.
* Revert "resolvectl: Add show-multicast verb to show discovered LLMNR/mDNS hosts"Lennart Poettering2021-02-051-5/+0
|
* mkosi: Add a postinstall script to setup .gdbinit.Daan De Meyer2021-01-301-0/+5
systemd is compiled with relative source file paths so we need to issue a directory command to make sure gdb can find systemd's source files. Let's put this in a .gdbinit file so it's executed automatically when we run gdb.