summaryrefslogtreecommitdiffstats
path: root/mkosi.images/system (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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: Make sure we don't hide errors from git merge-baseDaan De Meyer2024-07-031-1/+6
| | | | | | | Currently if git merge-base fails we'll hide the error and exit with exit status 0. Let's make we only exit early if git merge-base exits with 1 which indicates the current commit is not on the target branch. Any other error is considered fatal.
* 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: Don't touch the packaging checkout if work is being doneDaan De Meyer2024-07-031-2/+9
| | | | | If work is being done in a separate branch, don't touch the packaging checkout.
* 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 #33518 from DaanDeMeyer/aarch64Luca Boccassi2024-06-291-0/+1
|\ | | | | Various integration test fixes
| * mkosi: Install pciutilsDaan De Meyer2024-06-281-0/+1
| |
* | mkosi: move variable to the right scopeZbigniew Jędrzejewski-Szmek2024-06-281-9/+9
|/
* Merge pull request #33506 from DaanDeMeyer/mkosi-btrfsDaan De Meyer2024-06-276-11/+3
|\ | | | | mkosi: Switch back to btrfs
| * mkosi: Switch back to btrfsDaan De Meyer2024-06-271-1/+1
| | | | | | | | | | | | | | | | Now that we're running on Noble instead of Jammy btrfs has the temp_fsid feature which means we can mount the same image multiple times so let's switch back to btrfs instead of ext4 as the filesystem as btrfs properly records timestamps when building filesystems from a root directory unlike ext4.
| * mkosi: Install btrfs-progs on CentOS as wellDaan De Meyer2024-06-275-10/+2
| |
* | 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: enable unprivileged user ns for integration testsLuca Boccassi2024-06-171-0/+4
| | | | | Ubuntu disables them by default in Noble, ship a sysctl to turn them back on so that tests can use them
* 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
|
* mkosi: Replace sysusers.d with useradd for test userDaan De Meyer2024-06-083-2/+2
| | | | | sysusers.d is not intended for regular users, so let's use useradd instead.
* ci: Switch to Ubuntu 24.04Daan De Meyer2024-06-082-9/+7
|
* 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: Stop skipping pkcs11 test on opensuseDaan De Meyer2024-06-061-4/+0
| | | | A fix was made to the softhsm package so the test now passes.
* mkosi: do a sparse checkout of debian/ubuntu packaging repoLuca Boccassi2024-06-062-1/+15
| | | | | | 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-066-5/+9
|\ | | | | 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
| * mkosi: set -o nounset for scriptsZbigniew Jędrzejewski-Szmek2024-06-064-3/+7
| | | | | | | | | | | | | | Those scripts are written with the expectation that all input variables are set and will not behave correctly if something is ommitted. In particular, the non-chrooted scripts (mkosi.clean, mkosi.sync) might wreak havoc if called without the full environment.
* | Revert "mkosi: Don't install wireguard-tools on Debian"Daan De Meyer2024-06-055-4/+1
| | | | | | | | | | | | 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: Fix commentDaan De Meyer2024-06-031-5/+1
|
* mkosi: Add support for building with LLVMDaan De Meyer2024-06-039-11/+99
| | | | | Now you can do mkosi -E LLVM=1 to build with clang+lld. This includes support for building with sanitizers.
* mkosi: Make sure initrd coredumps are also stored in the journalDaan De Meyer2024-06-033-1/+4
| | | | | Let's also translate the coredump config into a dropin so we don't accidentally override any existing configuration.
* mkosi: Update debian packaging to latestDaan De Meyer2024-06-031-1/+1
|