diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:25:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:25:50 +0000 |
commit | 19f4f86bfed21c5326ed2acebe1163f3a83e832b (patch) | |
tree | d59b9989ce55ed23693e80974d94c856f1c2c8b1 /test/mkosi.default.networkd-test | |
parent | Initial commit. (diff) | |
download | systemd-19f4f86bfed21c5326ed2acebe1163f3a83e832b.tar.xz systemd-19f4f86bfed21c5326ed2acebe1163f3a83e832b.zip |
Adding upstream version 241.upstream/241upstream
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-test | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/test/mkosi.default.networkd-test b/test/mkosi.default.networkd-test new file mode 100644 index 0000000..9630d3e --- /dev/null +++ b/test/mkosi.default.networkd-test @@ -0,0 +1,80 @@ +# Puts together an nspawn container and runs networkd-test.py in it, inside a +# network namespace and everything. Run this with "mkosi +# --default=mkosi.default.networkd-test boot". This will start the test and +# eventually exit with sucess in case the test succeeded. + +[Distribution] +Distribution=fedora +Release=29 + +[Output] +Format=raw_btrfs +Bootable=yes +KernelCommandLine=printk.devkmsg=on +OutputDirectory=../mkosi.output +Output=networkd-test.raw + +[Partitions] +RootSize=3G + +[Packages] +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 + libtool + libxkbcommon-devel + libxslt + lz4 + lz4-devel + m4 + meson + pam-devel + pcre2-devel + pkgconfig + python3-devel + python3-lxml + qrencode-devel + tree + xz-devel + +Packages= + dnsmasq + iproute + libidn2 + polkit + python3 + +# Share caches with the top-level mkosi +BuildDirectory=../mkosi.builddir +Cache=../mkosi.cache + +# Run our own script +BuildScript=mkosi.build.networkd-test + +BuildSources=.. +NSpawnSettings=mkosi.nspawn.networkd-test |