]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/mkosi.default.networkd-test
test: add test cases for RuntimeDirectoryPreserve=yes
[thirdparty/systemd.git] / test / mkosi.default.networkd-test
1 # Puts together an nspawn container and runs networkd-test.py in it, inside a
2 # network namespace and everything. Run this with
3 #
4 # mkosi -C test --default=mkosi.default.networkd-test boot
5 #
6 # This will start the test and eventually exit with success in case the test
7 # succeeded.
8
9 [Distribution]
10 Distribution=fedora
11 Release=32
12
13 [Output]
14 Format=raw_btrfs
15 Bootable=yes
16 OutputDirectory=../mkosi.output
17 Output=networkd-test.raw
18
19 [Partitions]
20 RootSize=3G
21
22 [Packages]
23 BuildPackages=
24 audit-libs-devel
25 bzip2-devel
26 cryptsetup-devel
27 dbus-devel
28 diffutils
29 docbook-style-xsl
30 elfutils-devel
31 gcc
32 gettext
33 git
34 gnu-efi
35 gnu-efi-devel
36 gnutls-devel
37 gperf
38 hostname
39 iptables-devel
40 kmod-devel
41 libacl-devel
42 libblkid-devel
43 libcap-devel
44 libcurl-devel
45 libgcrypt-devel
46 libidn2-devel
47 libmicrohttpd-devel
48 libmount-devel
49 libseccomp-devel
50 libselinux-devel
51 libxkbcommon-devel
52 libxslt
53 lz4
54 lz4-devel
55 m4
56 meson
57 ninja-build
58 pam-devel
59 pcre2-devel
60 pkgconfig
61 python3-devel
62 python3-lxml
63 qrencode-devel
64 tree
65
66 Packages=
67 dnsmasq
68 iproute
69 libidn2
70 polkit
71 python3
72
73 # Share caches with the top-level mkosi
74 BuildDirectory=../mkosi/mkosi.builddir
75 Cache=../mkosi/mkosi.cache
76
77 # Run our own script
78 BuildScript=mkosi.build.networkd-test
79
80 BuildSources=..
81 NSpawnSettings=mkosi.nspawn.networkd-test