summaryrefslogtreecommitdiffstats
path: root/test/mkosi.default.networkd-test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
commitb750101eb236130cf056c675997decbac904cc49 (patch)
treea5df1a06754bdd014cb975c051c83b01c9a97532 /test/mkosi.default.networkd-test
parentInitial commit. (diff)
downloadsystemd-b750101eb236130cf056c675997decbac904cc49.tar.xz
systemd-b750101eb236130cf056c675997decbac904cc49.zip
Adding upstream version 252.22.upstream/252.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/mkosi.default.networkd-test')
-rw-r--r--test/mkosi.default.networkd-test84
1 files changed, 84 insertions, 0 deletions
diff --git a/test/mkosi.default.networkd-test b/test/mkosi.default.networkd-test
new file mode 100644
index 0000000..ed3604c
--- /dev/null
+++ b/test/mkosi.default.networkd-test
@@ -0,0 +1,84 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# Puts together an nspawn container and runs networkd-test.py in it, inside a
+# network namespace and everything. Run this with
+#
+# mkosi -C test --default=mkosi.default.networkd-test boot
+#
+# This will start the test and eventually exit with success in case the test
+# succeeded.
+
+[Distribution]
+Distribution=fedora
+Release=33
+
+[Output]
+Format=raw_btrfs
+Bootable=yes
+OutputDirectory=../mkosi.output
+Output=networkd-test.raw
+
+[Partitions]
+RootSize=3G
+
+[Content]
+BuildPackages=
+ audit-libs-devel
+ bzip2-devel
+ cryptsetup-devel
+ dbus-devel
+ diffutils
+ docbook-style-xsl
+ elfutils-devel
+ gcc
+ gettext
+ git
+ gnu-efi
+ gnu-efi-devel
+ gnutls-devel
+ gperf
+ hostname
+ iptables-devel
+ kmod-devel
+ libacl-devel
+ libblkid-devel
+ libcap-devel
+ libcurl-devel
+ libgcrypt-devel
+ libidn2-devel
+ libmicrohttpd-devel
+ libmount-devel
+ libseccomp-devel
+ libselinux-devel
+ libxkbcommon-devel
+ libxslt
+ lz4
+ lz4-devel
+ meson
+ ninja-build
+ pam-devel
+ pcre2-devel
+ perl(IPC::SysV)
+ perl(Time::HiRes)
+ pkgconfig
+ python3-devel
+ python3-lxml
+ qrencode-devel
+ tree
+
+Packages=
+ dnsmasq
+ iproute
+ libidn2
+ polkit
+ python3
+
+# Share caches with the top-level mkosi
+BuildDirectory=../mkosi/mkosi.builddir
+Cache=../mkosi/mkosi.cache
+
+# Run our own script
+BuildScript=mkosi.build.networkd-test
+
+BuildSources=..
+NSpawnSettings=mkosi.nspawn.networkd-test