summaryrefslogtreecommitdiffstats
path: root/mkosi.images (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | mkosi: update debian commit referenceLuca Boccassi2024-07-181-1/+1
|/ | | | | | | | | | | | | | | | * 2d10c12bd5 Drop /etc/sysctl.d/99-sysctl.conf symlink * fb73af0d22 update changelog * 9d74923dd7 Move systemd-time-wait-sync to systemd-timesyncd package * 8e0914aa0d Update changelog for 256.2-1 release * 6dabf74a81 Install run0 zsh completion file * a72e454b2b Update upstream source from tag 'upstream/256.2' |\ | * cf928e099f New upstream version 256.2 * c473d940f7 d/e/checkout-upstream: switch packaging branch on upstream stable PRs * 13586fc76f d/e/checkout-upstream: do not fail if rebase fails * 19785960d1 d/e/checkout-upstream: fix shellcheck warnings * 72b215c3f0 Install zsh completion for run0 * 51f87a981e initramfs-tools: copy network drop-ins too
* mkosi: Skip sync script if NO_BUILD is enabledDaan De Meyer2024-07-181-1/+1
| | | | | If we're not doing a build, there's no point in syncing either so lets skip it.
* mkosi: List library packages explicitly in VolatilePackages=Daan De Meyer2024-07-166-0/+12
| | | | | These should already get pulled in as dependencies, but it doesn't hurt to be explicit.
* mkosi: Build initrd as a subimageDaan De Meyer2024-07-1611-0/+146
| | | | | | | | | Let's make things a little more consistent and build the initrd explicitly as a subimage as well instead of relying on mkosi building it as part of the main image build. We drop the opensuse initrd postinst script as we don't use erofs by default anymore. We can always reintroduce it again later if needed.
* mkosi: Drop CacheOnly=always from two subimagesDaan De Meyer2024-07-162-6/+0
| | | | | This is a universal setting and can only be configured in the main image so let's drop it from the subimages.
* mkosi: Disable unique debug source namesDaan De Meyer2024-07-162-10/+4
| | | | | | | | | | | | | | | | | We use -fdebug-prefix-map= because debugedit doesn't work for us (for a currently unknown reason since it's the most obtuse code I've ever had the pleasure of reading). With all the unique macros enabled, the destination directory we pass to -fdebug-prefix-map= includes the package release. The release is either the timestamp of the current commit or the current time if the working tree is dirty. This means it generally changes every time we rerun the build script. However, meson only reads compiler arguments the first time it is invoked or if --wipe is specified. This means that on a rerun -fdebug-prefix-map= will be configured wrong and the build will fail. Let's prevent this from happening by disabling the unique debug source names by overriding the --unique-debug-src-base option that is passed to find-debuginfo.sh by rpm via the _find_debuginfo_opts macro.
* mkosi: Use clang --print-runtime-dirDaan De Meyer2024-07-154-4/+4
|
* mkosi: Extend arch build script comment about symlinksDaan De Meyer2024-07-151-2/+5
|
* mkosi: Add CI for CentOS Stream 10Daan De Meyer2024-07-151-1/+1
| | | | | | We switch to the c10s-sig-hyperscale branch of the spec repository as it will receive all the latest changes the earliest before they end up in the c9s-sig-hyperscale branch.
* mkosi: Make epel repositories optional for CentOS Stream 9Daan De Meyer2024-07-158-3/+17
| | | | | | | | This allows us to add CI for CentOS Stream 10 as EPEL 10 doesn't exist yet and won't exist for quite some time. CentOS Stream 10 will be enabled later as soon as https://issues.redhat.com/browse/RHEL-46604 is resolved.
* mkosi: Introduce build imageDaan De Meyer2024-07-1529-4/+862
| | | | | | | | | | | | | We want the exitrd image to be built with the latest systemd as well. As the exitrd image is built as part of mkosi.images, and all subimages are built before the main image, this implies the packages must be built as a subimage in mkosi.images/ as well. So we introduce the build image and move all logic related to building distribution packages there. This also has the nice side effect of slimming down the main image as the build dependencies are not installed into the main image anymore. It also makes sure the packages are built in a "clean" chroot without any of the other packages which we install in the main image available.
* test: Switch to ncat instead of ncDaan De Meyer2024-07-104-4/+4
| | | | ncat is available in CentOS Stream 9 without having to enable EPEL.
* mkosi: Adapt configuration to take into account configuration reworkDaan De Meyer2024-07-0972-2026/+2
| | | | | | | | | | | | | | | | | In https://github.com/systemd/mkosi/pull/2847, the '@' specifier is removed, CLI arguments take priority over configuration files again and the "main" image is defined at the top level instead of in mkosi.images/. Additionally, not every setting from the top level configuration is inherited by the images in mkosi.images/ anymore, only settings which make sense to be inherited are inherited. This commit gets rid of all the usages of '@', moves the "main" image configuration from mkosi.images/system to the top level and gets rid of various hacks we had in place to deal with quirks of the old configuration parsing logic. We also remove usages of Images= and --append as these options are removed by the mentioned PR.
* mkosi: policykit-1 was renamed to polkitdLuca Boccassi2024-07-081-1/+1
|
* Merge pull request #33640 from DaanDeMeyer/ext4-splitDaan De Meyer2024-07-083-4/+11
|\ | | | | mkosi: Use the "default" root filesystem for each distribution
| * mkosi: Use the "default" root filesystem for each distributionDaan De Meyer2024-07-083-4/+11
| | | | | | | | | | | | | | | | | | | | | | Let's not insist on btrfs everywhere. 93440db8b5eae1244aaf5fecfa68050a8b26f3e3 switched us back to btrfs as we wanted to rely on the fact it records timestamps properly. Since we now prefer to do incremental builds on the host with "mkosi -t none" we don't mind anymore that timestamps are not recorded properly so we're not forced to use btrfs anymore. This also increases test coverage as we'll now test with different root filesystems.
* | Merge pull request #33644 from DaanDeMeyer/selinuxDaan De Meyer2024-07-051-1/+0
|\ \ | | | | | | TEST-06-SELINUX: Two fixes
| * | mkosi: Make .autorelabel file emptyDaan De Meyer2024-07-051-1/+0
| |/ | | | | | | | | The contents of this file are passed as arguments to fixfiles so let's remove the comment as otherwise fixfiles just crashes.
* / mkosi: use apt pinning for locally built debian/ubuntu packagesLuca Boccassi2024-07-052-0/+6
|/ | | | | | | | This ensures that even in case the distro repository has newer versions, the locally built packages are preferred and installed, even to the point of downgrading already installed ones. This is needed especially for future stable branches, when the distros will have a newer version.
* mkosi: Build a disk image by default againDaan De Meyer2024-07-041-1/+0
| | | | | | Now that we have a way to rebuild and reinstall systemd without having to rebuild the image, let's default to building a disk image again.
* mkosi: Install zypper in opensuse imagesDaan De Meyer2024-07-031-0/+1
|
* mkosi: Fix sync script git commandDaan De Meyer2024-07-031-1/+1
| | | | Let's make sure we actually operate on the packaging git repo.
* mkosi: update arch commit referenceDaan De Meyer2024-07-032-2/+2
| | | | | | | | | | | | | | | | * d74b24c7c6 meson options: vcs-tag=false * 7424fedef0 upgpkg: 256.1-1: new upstream release * 6016864c99 upgpkg: 256-3: rebuild to fix man pages... * 6f6d48b221 upgpkg: 256-2: update shells * b9ce44e766 drop systemd-stable repository, build from main one * baf4803252 upgpkg: 256-1: new upstream release * 1d75e7ddaa add an install hint on NEWS * 6f17a23127 Ups, inverted... * d76029f7cc update meson options * 6e7929dd98 upgpkg: 256rc4-1: new upstream pre-release - testing only! * 7b70e7b0e7 upgpkg: 256rc3-2: fast-forward to current git main, non-official testing * a438b879e2 upgpkg: 256rc3-1: new upstream pre-release, non-official testing * ff30a600c9 upgpkg: 256rc2-1: new upstream pre-release, non-official testing
* mkosi: Clean up old packages from the build directoryDaan De Meyer2024-07-034-0/+17
|
* 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: 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: use new standalone-shutdown package for debian's exitrdLuca Boccassi2024-06-262-2/+9
|
* 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
|