summaryrefslogtreecommitdiffstats
path: root/mkosi.images/system/mkosi.conf.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mkosi: remove conflicting deb packages from builddirLuca Boccassi2024-07-031-0/+2
| | | | | | | | | These are not actually needed or installed, so delete them from the build directory, so that inside an image one can do: apt install --reinstall /work/build/*.deb Follow-up for 690a85b1d4e794af62bca6d1ea530ffc530ee58c
* mkosi: Copy packages to the build directory as wellDaan De Meyer2024-07-034-0/+4
| | | | | | | | | | | | | | | | | With the latest mkosi, mkosi -t none can be used to rerun the build script without messing with a previously built image. This allows one to run "mkosi -t disk -f qemu" in one terminal to build and boot an image in qemu and then run "mkosi -t none" in another terminal to rebuild the packages. If one then has "RuntimeBuildSources=yes" set in their mkosi configuration, the build directory is mounted into the virtual machine, which means that one can then run "dnf upgrade /work/build/*.rpm" from within the VM to install the new packages. This allows for quickly iterating on changes without having to rebuild the image all the time. We'll probably want to document this at some point, but let's start with making it possible by copying the built packages to the build directory.
* mkosi: update fedora commit referenceDaan De Meyer2024-07-031-1/+1
| | | | | | | * f9fe17dbde Use vmlinux.h from kernel-devel * 9cbad936a6 Pull in openssl-devel-engine * 8ae009f929 Only add Requires on python3-zstd on Fedora * 750e910c7c Drop BuildRequires on python3-zstd
* mkosi: Install perfDaan De Meyer2024-07-024-0/+7
| | | | It's already installed on ubuntu via linux-tools-common.
* mkosi: update debian commit referenceLuca Boccassi2024-07-011-1/+1
| | | | | | * abf24e775c Add recommends on linux-sysctl-defaults * 76cb4138d2 autopkgtest: skip qemu tests on arm64 * 0935d73526 Install new systemd-import generator
* Merge pull request #33506 from DaanDeMeyer/mkosi-btrfsDaan De Meyer2024-06-274-10/+0
|\ | | | | mkosi: Switch back to btrfs
| * mkosi: Install btrfs-progs on CentOS as wellDaan De Meyer2024-06-274-10/+0
| |
* | mkosi: Drop leftover systemd-coredump-debuginfo package for opensuseDaan De Meyer2024-06-271-1/+0
| | | | | | | | | | The package was merged into the main systemd package in https://src.opensuse.org/rpm/systemd/commit/23bfa9d83b6e24a5395a704b816a351f3dc5b5316e580cacedd1b5d9e068c117.
* | mkosi: Drop s390x console patch from opensuse specDaan De Meyer2024-06-272-0/+6
|/ | | | | This patch does not apply anymore on upstream, so let's remove it from the spec before building until the spec is fixed.
* mkosi: switch opensuse to devel branchLuca Boccassi2024-06-261-2/+2
| | | | | The factory branch seems to have been reset to 9 years ago, switch to devel
* mkosi: update fedora commit referenceDaan De Meyer2024-06-251-1/+1
| | | | | | | | | | | | | | * 8153d9b0f9 Revert "Remove tmpfiles snippet for /home and /srv" * a76669ee22 Remove tmpfiles snippet for /home and /srv * b3e1d52cb4 Soft-disable tmpfiles --purge until a good use case comes up * 4a29ab3f3b Version 256.1 * ebf352d292 disable auto-features when bootstrapping * 1ae0516ae7 Version 256 * b32641170e Restore patch to drop varlink method call * 421f0041b3 Version 256~rc4 * 65d9b49791 Fix typo * c56891fb68 Drop sysusers.d/basic.conf * 69472997b9 Renumber sources and make order more consistent
* mkosi: update debian commit referenceDaan De Meyer2024-06-251-1/+1
| | | | | | | * 3b4368d4b8 d/not-installed: fix shutdown.standalone path * 2de05155e8 Update changelog for 256.1-2 release * cd98bcef06 autopkgtest: add dependency on libcryptsetup-dev in unit-tests suite * e220ce22f1 Bump breaks/replaces to conflicts for DEP17
* mkosi: bump Debian Salsa commit to latestLuca Boccassi2024-06-231-1/+1
|
* mkosi: install new split-out systemd packagesLuca Boccassi2024-06-232-0/+6
| | | | | repart and cryptsetup tools were moved out of the main package to reduce dependencies.
* mkosi: restrict noble-backports to noble buildsLuca Boccassi2024-06-182-0/+2
| | | | Follow-up for c01cb8cbff8512b65b7903b55f78c8d12661b8d7
* mkosi: install EFI packages only on EFI architecturesLuca Boccassi2024-06-172-3/+16
| | | | | sbsigntool, systemd-boot and systemd-boot-efi do not exist on other architectures
* mkosi: use ports.ubuntu.com for non-x86 backportsLuca Boccassi2024-06-174-3/+24
| | | | Follow-up for 46368556afee7a1f3a1685609942438ef2d9d6c1
* mkosi: install dlopen optional dependencies for debian/ubuntu buildsLuca Boccassi2024-06-102-0/+36
|
* mkosi.prepare: do not install build dependencies with NO_BUILDLuca Boccassi2024-06-104-4/+4
|
* ci: Switch to Ubuntu 24.04Daan De Meyer2024-06-081-0/+3
|
* mkosi: update debian packaging commit idLuca Boccassi2024-06-071-1/+1
|
* mkosi: enable noble-backports for ubuntuLuca Boccassi2024-06-072-0/+9
| | | | Required to get the new dh-dlopenlibdeps package
* mkosi: do a sparse checkout of debian/ubuntu packaging repoLuca Boccassi2024-06-061-0/+1
| | | | | | The repository on Salsa includes the full upstream sources, which means they are duplicated, taking extra space and showing duplicated grep results. But we only need the debian/ subfolder, so do a sparse clone and checkout.
* Merge pull request #33198 from keszybz/update-distro-hashLuca Boccassi2024-06-062-2/+2
|\ | | | | Add helper script to update distro packaging hashes
| * mkosi: update fedora commit referenceZbigniew Jędrzejewski-Szmek2024-06-061-1/+1
| | | | | | | | * 1f94b56cee Partially backport PR #33016 to fix crashes in KDE 6.3.0
| * mkosi: update debian commit referenceZbigniew Jędrzejewski-Szmek2024-06-061-1/+1
| | | | | | | | | | | | | | | | | | * 5b9607385d debian/tests/storage: without scsi_debug, skip test * 8a195a6327 debian/extra: use a dropin to configure Nice=-1 on systemd-journald.service * 5436d49288 debian/extra: use a drop-in resolved.conf to configure Cache=no-negative * 596a99d2d3 debian/extra: set ManagedOOMSwap=auto on -.slice * 07ba81b14d LimitCORE: restore default hard limit to infinity * df3a9a91e8 Restart managers on libc-upgrade dpkg trigger
* | Revert "mkosi: Don't install wireguard-tools on Debian"Daan De Meyer2024-06-054-4/+0
| | | | | | | | | | | | wireguard-tools was added back to debian testing. This reverts commit 8c335463d9fe6c2e2f3d9584d7c26871800065e2.
* | mkosi: Stop sourcing /etc/makepkg.confDaan De Meyer2024-06-041-3/+0
| | | | | | | | | | | | We don't need this anymore since we now just do delayed evaluation of $CFLAGS in /etc/makepkg.conf and it imports $CFLAGS into the script environment which messes everything up.
* | mkosi: Build with -O0 by defaultDaan De Meyer2024-06-044-4/+4
|/ | | | This was accidentally removed in https://github.com/systemd/systemd/pull/33193
* Merge pull request #33193 from DaanDeMeyer/fortifyLuca Boccassi2024-06-044-8/+8
|\ | | | | mkosi: Disable FORTIFY_SOURCE when building without optimizations or with sanitizers
| * mkosi: Drop $OPTIMIZATION variableDaan De Meyer2024-06-044-8/+8
| | | | | | | | Let's instead just use $CFLAGS to override the optimization level.
* | mkosi: Use __meson_verbose in opensuse build scriptDaan De Meyer2024-06-041-4/+1
| | | | | | | | | | OpenSUSE Tumbleweed now ships meson 1.4.0 which ships the new __meson_verbose macro.
* | mkosi: Use meson_extra_configure_options for opensuseDaan De Meyer2024-06-041-3/+1
| | | | | | | | This is now available so let's use it.
* | mkosi: Update opensuse commit to latestDaan De Meyer2024-06-041-1/+1
|/
* mkosi: Allow using $MESON_VERBOSE to enable verbose meson outputDaan De Meyer2024-06-034-4/+4
|
* mkosi: Allow clearing meson cache with WIPE=1Daan De Meyer2024-06-034-4/+38
| | | | | | | | | meson does not support changing compilation flags on the fly, when doing so, the entire build directory has to be cleared explicitly, so let's add a way to do that by setting WIPE=1. Let's also allow developers to specify their own meson options via $MESON_OPTIONS.
* mkosi: Allow setting custom CFLAGS and LDFLAGSDaan De Meyer2024-06-034-32/+38
|
* mkosi: Add support for building with LLVMDaan De Meyer2024-06-038-11/+96
| | | | | Now you can do mkosi -E LLVM=1 to build with clang+lld. This includes support for building with sanitizers.
* mkosi: Update debian packaging to latestDaan De Meyer2024-06-031-1/+1
|
* mkosi: Use env where appropriateDaan De Meyer2024-06-032-6/+9
|
* mkosi: drop Debian /tmp hackDaan De Meyer2024-06-031-4/+0
| | | | /tmp is now a tmpfs in debian testing so let's drop our workaround.
* mkosi: Add missing [Content] sectionDaan De Meyer2024-06-031-0/+1
|
* mkosi: Make system dependencies conditional on formatDaan De Meyer2024-06-031-0/+21
| | | | | | | | If the none format is specified, we don't use the extra trees at all so let's make the dependencies on the subimages conditional on Format= not being set to "none". This speeds up builds when using Format=none.
* mkosi: Filter out sdubby and grubby from fedora rpm dependenciesDaan De Meyer2024-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we query dependencies with rpmspec, we get the following: """ bash-5.2# mkosi-chroot rpmspec --with upstream --query --requires --define "_topdir /var/tmp" --define "_sourcedir pkg/fedora" "pkg/fedora/systemd.spec" | sort --unique (grubby > 8.40-72 if grubby) (sdubby > 1.0-3 if sdubby) (systemd-rpm-macros = 256~rc3-1.fc41 if rpm-build) (util-linux-core or util-linux) /bin/sh coreutils dbus >= 1.9.18 firewalld-filesystem grep kbd kmod >= 18-4 libidn2.so.0()(64bit) libidn2.so.0(IDN2_0.0.0)(64bit) libkmod.so.2()(64bit) libkmod.so.2(LIBKMOD_5)(64bit) openssl-libs python3dist(cryptography) python3dist(pefile) python3dist(psutil) python3dist(zstd) systemd = 256~rc3-1.fc41 systemd(x86-64) = 256~rc3-1.fc41 systemd-boot systemd-libs(x86-64) = 256~rc3-1.fc41 systemd-networkd = 256~rc3-1.fc41 systemd-pam(x86-64) = 256~rc3-1.fc41 systemd-udev = 256~rc3-1.fc41 """ Trying to install with dnf5 correctly filters out grubby and sdubby as they are conditional dependencies and shouldn't be installed. However, dnf doesn't do the right thing and tries to install both grubby and sdubby, and since they conflict this causes the build to fail. Let's filter out sdubby and grubby explicitly to work around the bug in dnf as it's unlikely to get fixed since all development effort is now focused on dnf5.
* Merge pull request #33105 from DaanDeMeyer/sanitizersDaan De Meyer2024-05-311-1/+3
|\ | | | | Sanitizers
| * mkosi: Sanitizer improvementsDaan De Meyer2024-05-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Let's set the environment on the kernel command line so it applies to initrd and main system. - Let's add the necessary wrappers that are also added in test-functions. Unlike test-functions we don't use gcc/clang to get the library path as that requires installing gcc/clang in the initrd. - Let's drop the hack to get journald writing to the console and have it write to kmsg instead. We'll get the output either way. - Stop removing libstdc++ and sanitizer libraries from Arch Linux initrds and other images as it's required by the sanitizer libraries. - Add a workaround for specifying extra meson options for opensuse - Add a leak sanitizer suppression file as a workaround for a false positive leak in verify_selinuxmnt() in libselinux. We do a soname match because the stacktrace can't be properly symbolized on Debian.
* | Revert "mkosi: Disable add-determinism on Fedora"Zbigniew Jędrzejewski-Szmek2024-05-311-1/+0
|/ | | | | | | This reverts commit e74a994ebf7c813979b9e045f37907e6a5064f23. The description in that commit was confused, add-determinism was not broken and was not causing any problems, except a log message.
* mkosi: Override rpm's _fixperms script to be a noopDaan De Meyer2024-05-302-0/+2
| | | | | | | Since rpm 4.20 it tries to fix the permissions of all source files in the sources. This takes forever and fails in our case with a permission error. Since we don't want rpm touching our source files, override the script to be a noop.
* mkosi: Disable add-determinism on FedoraDaan De Meyer2024-05-301-0/+1
| | | | | | This was added for reproducible builds which we don't really care about when building rpms in mkosi, so disable it from running as it's broken and breaks our rpm builds.
* mkosi: Skip debuginfo workaround on newer rpmDaan De Meyer2024-05-302-5/+9
| | | | | | The corresponding bug was fixed in rpm 4.20 (of which the alpha is in rawhide as rpm 4.19.91) so skip the workaround when we detect a newer rpm version.