mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
c77dad706b
This commit adds definitions to build the minimal_0 and minimal_1 images with mkosi and includes them into the system image. We also move the building of the various app-xxx and similar images that are extremely minimal into the tests itself by moving the related logic from install_verity_minimal() into a new function install_extension_images() in util.sh. Because the mkosi /usr is read-only, we now place the extension images in /tmp instead of /usr/share. Co-authored-by: Richard Maw <richard.maw@codethink.co.uk> Co-authored-by: sam-leonard-ct <sam.leonard@codethink.co.uk>
12 lines
323 B
Bash
Executable File
12 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -eux
|
|
|
|
mkdir -p "$BUILDROOT/var/lib/app1"
|
|
|
|
cat >>"$BUILDROOT/usr/lib/os-release" <<EOF
|
|
MARKER=2
|
|
PORTABLE_PREFIXES=app0 minimal minimal-app0
|
|
EOF
|
|
cp "$BUILDROOT/usr/lib/systemd/system/minimal-app0.service" "$BUILDROOT/usr/lib/systemd/system/minimal-app0-bar.service"
|