Files
kde-linux/mkosi.conf
Aleix Pol i Gonzalez 57e2f7de9c Adopt BuildStream
This is a first step towards the adoption of BuildStream as a technology
to produce the binaries needed for KDE Linux.
2026-07-06 18:13:30 +02:00

35 lines
1.1 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2023 Harald Sitter <sitter@kde.org>
[Distribution]
Distribution=custom
[Output]
ImageId=kde-linux
Format=directory
SplitArtifacts=yes
OutputDirectory=mkosi.output
[Content]
# BuildStream provides the base rootfs; mkosi only assembles the final image.
BaseTrees=buildstream-rootfs
# We do not want an initrd or any other boot artifacts, we generate all this stuff ourselves since we need more
# control than mkosi gives us. Bootable also has the unfortunate side effect that the os-release file gets eaten
# for some reason (supposedly as a side effect of the initrd creation?)
Bootable=no
KernelCommandLine=
# No root login thank you very much. We'll provision a live user as part of spinup
# RootPassword=
Bootloader=systemd-boot
CleanPackageMetadata=no
UnifiedKernelImages=no # buildstream builds it
[Build]
# needed to clone calamares, flatpak, etc
WithNetwork=true
# Make sure kernel-install knows where we expect the ESP to be mounted so it can create correct loader entries.
Environment=BOOT_MNT=/usr/share/factory/boot
[Runtime]
Console=gui