mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
76e14148f6
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.
(cherry picked from commit 7205fc7dc3
)
12 lines
232 B
Plaintext
12 lines
232 B
Plaintext
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
# If we're only rerunning the build script, remove all subimage dependencies except the build image to speed
|
|
# up builds.
|
|
|
|
[Match]
|
|
Format=none
|
|
|
|
[Config]
|
|
Dependencies=
|
|
Dependencies=build
|