diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
commit | 78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch) | |
tree | f515d16b6efd858a9aeb5b0ef5d6f90bf288283d /mkosi.images/minimal-1 | |
parent | Adding debian version 255.5-1. (diff) | |
download | systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip |
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mkosi.images/minimal-1')
-rw-r--r-- | mkosi.images/minimal-1/mkosi.conf | 25 | ||||
-rw-r--r-- | mkosi.images/minimal-1/mkosi.extra/opt/some_file | 1 | ||||
-rw-r--r-- | mkosi.images/minimal-1/mkosi.extra/usr/lib/systemd/system/minimal-app0.service | 5 | ||||
-rwxr-xr-x | mkosi.images/minimal-1/mkosi.postinst | 11 |
4 files changed, 42 insertions, 0 deletions
diff --git a/mkosi.images/minimal-1/mkosi.conf b/mkosi.images/minimal-1/mkosi.conf new file mode 100644 index 0000000..a929fb6 --- /dev/null +++ b/mkosi.images/minimal-1/mkosi.conf @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Config] +Dependencies=minimal-base +ConfigureScripts= + +[Distribution] +CacheOnly=always + +[Output] +Format=portable +SplitArtifacts=yes + +[Content] +BaseTrees=%O/minimal-base +Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs +Bootable=no + +BuildSources= +Packages= +BuildPackages= +VolatilePackages= + +[Host] +Incremental=no diff --git a/mkosi.images/minimal-1/mkosi.extra/opt/some_file b/mkosi.images/minimal-1/mkosi.extra/opt/some_file new file mode 100644 index 0000000..bd4fba4 --- /dev/null +++ b/mkosi.images/minimal-1/mkosi.extra/opt/some_file @@ -0,0 +1 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later diff --git a/mkosi.images/minimal-1/mkosi.extra/usr/lib/systemd/system/minimal-app0.service b/mkosi.images/minimal-1/mkosi.extra/usr/lib/systemd/system/minimal-app0.service new file mode 100644 index 0000000..0532112 --- /dev/null +++ b/mkosi.images/minimal-1/mkosi.extra/usr/lib/systemd/system/minimal-app0.service @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Service] +ExecStartPre=cat /usr/lib/os-release +ExecStart=sleep 120 diff --git a/mkosi.images/minimal-1/mkosi.postinst b/mkosi.images/minimal-1/mkosi.postinst new file mode 100755 index 0000000..e2d08d0 --- /dev/null +++ b/mkosi.images/minimal-1/mkosi.postinst @@ -0,0 +1,11 @@ +#!/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" |